diff options
author | Avi Kivity <avi@qumranet.com> | 2006-12-13 00:34:02 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-13 09:05:47 -0800 |
commit | 8c7bb723b4e36dbd4b144176116d126104dc65e0 (patch) | |
tree | d5f13bce4876887c8892297e2a31339efa5e6268 /drivers/kvm/svm.h | |
parent | 0770b19b94ed8fc97e1fcac91c320ec738919628 (diff) | |
download | blackbird-op-linux-8c7bb723b4e36dbd4b144176116d126104dc65e0.tar.gz blackbird-op-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 'drivers/kvm/svm.h')
0 files changed, 0 insertions, 0 deletions