Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2bd0ac4e authored by Carsten Otte's avatar Carsten Otte Committed by Avi Kivity
Browse files

KVM: s390: Advertise KVM_CAP_USER_MEMORY



KVM_CAP_USER_MEMORY is used by s390, therefore, we should advertise it.

Signed-off-by: default avatarCarsten Otte <cotte@de.ibm.com>
Signed-off-by: default avatarChristian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: default avatarAvi Kivity <avi@qumranet.com>
parent cab7a1ee
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -112,8 +112,13 @@ long kvm_arch_dev_ioctl(struct file *filp,

int kvm_dev_ioctl_check_extension(long ext)
{
	switch (ext) {
	case KVM_CAP_USER_MEMORY:
		return 1;
	default:
		return 0;
	}
}

/* Section: vm related */
/*