summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorAvi Kivity <avi@qumranet.com>2008-07-29 11:30:57 +0300
committerAvi Kivity <avi@qumranet.com>2008-07-29 12:34:02 +0300
commited8486243379ef3e6c61363df915882945c0eaec (patch)
tree5504b545fc236d192be34a4a68de7b74c64f70e9 /arch
parente930bffe95e1e886a1ede80726ea38df5838d067 (diff)
downloadop-kernel-dev-ed8486243379ef3e6c61363df915882945c0eaec.zip
op-kernel-dev-ed8486243379ef3e6c61363df915882945c0eaec.tar.gz
KVM: Advertise synchronized mmu support to userspace
Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/kvm/x86.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c
index c7b01ef..0d682fc 100644
--- a/arch/x86/kvm/x86.c
+++ b/arch/x86/kvm/x86.c
@@ -883,6 +883,7 @@ int kvm_dev_ioctl_check_extension(long ext)
case KVM_CAP_PIT:
case KVM_CAP_NOP_IO_DELAY:
case KVM_CAP_MP_STATE:
+ case KVM_CAP_SYNC_MMU:
r = 1;
break;
case KVM_CAP_COALESCED_MMIO:
OpenPOWER on IntegriCloud