From: Christian Borntraeger Date: Thu, 17 Nov 2011 10:00:44 +0000 (+0100) Subject: KVM: s390: announce SYNC_MMU X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=52e16b185fdd0aeb0522c203e944873e38ac1575;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git KVM: s390: announce SYNC_MMU 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 Signed-off-by: Carsten Otte Signed-off-by: Avi Kivity --- diff --git a/arch/s390/kvm/kvm-s390.c b/arch/s390/kvm/kvm-s390.c index 0891926ea95..d1c44573245 100644 --- a/arch/s390/kvm/kvm-s390.c +++ b/arch/s390/kvm/kvm-s390.c @@ -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: