KVM: s390: Advertise KVM_CAP_USER_MEMORY
KVM_CAP_USER_MEMORY is used by s390, therefore, we should advertise it. Signed-off-by: Carsten Otte <cotte@de.ibm.com> Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com> Signed-off-by: Avi Kivity <avi@qumranet.com>
This commit is contained in:
parent
cab7a1eeeb
commit
2bd0ac4eb4
1 changed files with 6 additions and 1 deletions
|
@ -112,8 +112,13 @@ long kvm_arch_dev_ioctl(struct file *filp,
|
||||||
|
|
||||||
int kvm_dev_ioctl_check_extension(long ext)
|
int kvm_dev_ioctl_check_extension(long ext)
|
||||||
{
|
{
|
||||||
|
switch (ext) {
|
||||||
|
case KVM_CAP_USER_MEMORY:
|
||||||
|
return 1;
|
||||||
|
default:
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/* Section: vm related */
|
/* Section: vm related */
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Add table
Reference in a new issue