diff options
author | Avi Kivity <avi@redhat.com> | 2008-12-08 11:29:29 -0500 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2008-12-31 09:55:46 -0500 |
commit | ca9edaee1aea34ebd9adb48910aba0b3d64b1b22 (patch) | |
tree | 283e686f8215354fbc5f73dc3366f72c35eca1db /virt/kvm | |
parent | 1a811b6167089bcdb84284f2dc9fd0b4d0f1899d (diff) |
KVM: Consolidate userspace memory capability reporting into common code
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'virt/kvm')
-rw-r--r-- | virt/kvm/kvm_main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/virt/kvm/kvm_main.c b/virt/kvm/kvm_main.c index e066eb125e55..eb70ca6c7145 100644 --- a/virt/kvm/kvm_main.c +++ b/virt/kvm/kvm_main.c | |||
@@ -1908,6 +1908,7 @@ static int kvm_dev_ioctl_create_vm(void) | |||
1908 | static long kvm_dev_ioctl_check_extension_generic(long arg) | 1908 | static long kvm_dev_ioctl_check_extension_generic(long arg) |
1909 | { | 1909 | { |
1910 | switch (arg) { | 1910 | switch (arg) { |
1911 | case KVM_CAP_USER_MEMORY: | ||
1911 | case KVM_CAP_DESTROY_MEMORY_REGION_WORKS: | 1912 | case KVM_CAP_DESTROY_MEMORY_REGION_WORKS: |
1912 | return 1; | 1913 | return 1; |
1913 | default: | 1914 | default: |