diff options
author | Christian Borntraeger <borntraeger@de.ibm.com> | 2011-11-17 11:00:44 +0100 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2011-11-17 16:25:52 +0200 |
commit | 52e16b185fdd0aeb0522c203e944873e38ac1575 (patch) | |
tree | 4a48a7e9d544a230a024047ca0f93ea529adbf7f /arch | |
parent | 1eddb85f889a5a9fe59ec184e06844716a00aded (diff) | |
download | linux-3.10-52e16b185fdd0aeb0522c203e944873e38ac1575.tar.gz linux-3.10-52e16b185fdd0aeb0522c203e944873e38ac1575.tar.bz2 linux-3.10-52e16b185fdd0aeb0522c203e944873e38ac1575.zip |
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>
Diffstat (limited to 'arch')
-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 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: |