diff options
author | Christian Borntraeger <borntraeger@de.ibm.com> | 2011-11-17 10:00:44 (GMT) |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2011-11-17 14:25:52 (GMT) |
commit | 52e16b185fdd0aeb0522c203e944873e38ac1575 (patch) | |
tree | 4a48a7e9d544a230a024047ca0f93ea529adbf7f | |
parent | 1eddb85f889a5a9fe59ec184e06844716a00aded (diff) | |
download | linux-fsl-qoriq-52e16b185fdd0aeb0522c203e944873e38ac1575.tar.xz |
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 <borntraeger@de.ibm.com>
Signed-off-by: Carsten Otte <cotte@de.ibm.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
-rw-r--r-- | arch/s390/kvm/kvm-s390.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/s390/kvm/kvm-s390.c b/arch/s390/kvm/kvm-s390.c index 0891926..d1c44573 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: |