KVM: s390: Advertise KVM_CAP_USER_MEMORY
[linux-2.6.git] / arch / s390 / kvm / kvm-s390.c
index 1782cbcd2829545270d897cd4f911d95f54d0fa7..fcd41795b550f602fb08fc7502fb5f9faf63a86d 100644 (file)
@@ -112,7 +112,12 @@ long kvm_arch_dev_ioctl(struct file *filp,
 
 int kvm_dev_ioctl_check_extension(long ext)
 {
-       return 0;
+       switch (ext) {
+       case KVM_CAP_USER_MEMORY:
+               return 1;
+       default:
+               return 0;
+       }
 }
 
 /* Section: vm related */