diff options
author | Avi Kivity <avi@qumranet.com> | 2006-12-13 09:34:02 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-13 18:05:47 +0100 |
commit | 8c7bb723b4e36dbd4b144176116d126104dc65e0 (patch) | |
tree | d5f13bce4876887c8892297e2a31339efa5e6268 /lib/bitrev.c | |
parent | [PATCH] KVM: Remove extranous put_cpu() from vcpu_put() (diff) | |
download | linux-8c7bb723b4e36dbd4b144176116d126104dc65e0.tar.xz linux-8c7bb723b4e36dbd4b144176116d126104dc65e0.zip |
[PATCH] KVM: MMU: Ignore pcd, pwt, and pat bits on ptes
The pcd, pwt, and pat bits on page table entries affect the cpu cache. Since
the cache is a host resource, the guest should not be able to control it.
Moreover, the meaning of these bits changes depending on whether pat is
enabled or not.
So, force these bits to zero on shadow page table entries at all times.
Signed-off-by: Avi Kivity <avi@qumranet.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'lib/bitrev.c')
0 files changed, 0 insertions, 0 deletions