Browse Source

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>
Christian Borntraeger 13 years ago
parent
commit
52e16b185f
1 changed files with 1 additions and 0 deletions
  1. 1 0
      arch/s390/kvm/kvm-s390.c

+ 1 - 0
arch/s390/kvm/kvm-s390.c

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