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 /arch/powerpc | |
parent | 1a811b6167089bcdb84284f2dc9fd0b4d0f1899d (diff) |
KVM: Consolidate userspace memory capability reporting into common code
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/powerpc')
-rw-r--r-- | arch/powerpc/kvm/powerpc.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/powerpc/kvm/powerpc.c b/arch/powerpc/kvm/powerpc.c index 1deda37cb771..2822c8ccfaaf 100644 --- a/arch/powerpc/kvm/powerpc.c +++ b/arch/powerpc/kvm/powerpc.c | |||
@@ -137,9 +137,6 @@ int kvm_dev_ioctl_check_extension(long ext) | |||
137 | int r; | 137 | int r; |
138 | 138 | ||
139 | switch (ext) { | 139 | switch (ext) { |
140 | case KVM_CAP_USER_MEMORY: | ||
141 | r = 1; | ||
142 | break; | ||
143 | case KVM_CAP_COALESCED_MMIO: | 140 | case KVM_CAP_COALESCED_MMIO: |
144 | r = KVM_COALESCED_MMIO_PAGE_OFFSET; | 141 | r = KVM_COALESCED_MMIO_PAGE_OFFSET; |
145 | break; | 142 | break; |