KVM: s390: announce SYNC_MMU
authorChristian Borntraeger <borntraeger@de.ibm.com>
Thu, 17 Nov 2011 10:00:44 +0000 (11:00 +0100)
committerAvi Kivity <avi@redhat.com>
Thu, 17 Nov 2011 14:25:52 +0000 (16:25 +0200)
KVM on s390 always had a sync mmu. Any mapping change in userspace
mapping was always reflected immediately in the guest mapping.
- In older code the guest mapping was just an offset
- In newer code the last level page table is shared

Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Carsten Otte <cotte@de.ibm.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/s390/kvm/kvm-s390.c

index 0891926..d1c4457 100644 (file)
@@ -128,6 +128,7 @@ int kvm_dev_ioctl_check_extension(long ext)
        switch (ext) {
        case KVM_CAP_S390_PSW:
        case KVM_CAP_S390_GMAP:
+       case KVM_CAP_SYNC_MMU:
                r = 1;
                break;
        default: