KVM: Don't allow the guest to turn off the cpu cache
authorAvi Kivity <avi@qumranet.com>
Wed, 21 Mar 2007 16:11:36 +0000 (18:11 +0200)
committerAvi Kivity <avi@qumranet.com>
Thu, 3 May 2007 07:52:26 +0000 (10:52 +0300)
commit6da63cf95f6a19fe0a302232048452c96b178e45
treeee415a52fe660721ea6307cfcb207f6b4f285ff9
parent038881c8bec0e9a796d1782c56e29e7c2456626d
KVM: Don't allow the guest to turn off the cpu cache

The cpu cache is a host resource; the guest should not be able to turn
it off (even for itself).

Signed-off-by: Avi Kivity <avi@qumranet.com>
drivers/kvm/svm.c