commit | ca9edaee1aea34ebd9adb48910aba0b3d64b1b22 | [log] [tgz] |
---|---|---|
author | Avi Kivity <avi@redhat.com> | Mon Dec 08 18:29:29 2008 +0200 |
committer | Avi Kivity <avi@redhat.com> | Wed Dec 31 16:55:46 2008 +0200 |
tree | 283e686f8215354fbc5f73dc3366f72c35eca1db | |
parent | 1a811b6167089bcdb84284f2dc9fd0b4d0f1899d [diff] [blame] |
KVM: Consolidate userspace memory capability reporting into common code Signed-off-by: Avi Kivity <avi@redhat.com>
diff --git a/virt/kvm/kvm_main.c b/virt/kvm/kvm_main.c index e066eb1..eb70ca6 100644 --- a/virt/kvm/kvm_main.c +++ b/virt/kvm/kvm_main.c
@@ -1908,6 +1908,7 @@ static long kvm_dev_ioctl_check_extension_generic(long arg) { switch (arg) { + case KVM_CAP_USER_MEMORY: case KVM_CAP_DESTROY_MEMORY_REGION_WORKS: return 1; default: