diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2019-06-01 00:49:02 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2019-06-01 00:49:02 +0200 |
commit | f8d221d2e0e1572d0d60174c118e3554d1aa79fa (patch) | |
tree | 1e8fab4978cd5d241d8657c8de9d22278e4b8aed /arch/s390 | |
parent | 24e8a2ca1f74574ad2ed1ac7af0260dd90fd911e (diff) | |
parent | a86cb413f4bf273a9d341a3ab2c2ca44e12eb317 (diff) | |
download | linux-f8d221d2e0e1572d0d60174c118e3554d1aa79fa.tar.bz2 |
Merge tag 'kvm-s390-master-5.2-2' of git://git.kernel.org/pub/scm/linux/kernel/git/kvms390/linux into kvm-master
KVM: s390: Fixes
- fix compilation for !CONFIG_PCI
- fix the output of KVM_CAP_MAX_VCPU_ID
Diffstat (limited to 'arch/s390')
-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 e5e8eb29e68e..28ebd647784c 100644 --- a/arch/s390/kvm/kvm-s390.c +++ b/arch/s390/kvm/kvm-s390.c @@ -539,6 +539,7 @@ int kvm_vm_ioctl_check_extension(struct kvm *kvm, long ext) break; case KVM_CAP_NR_VCPUS: case KVM_CAP_MAX_VCPUS: + case KVM_CAP_MAX_VCPU_ID: r = KVM_S390_BSCA_CPU_SLOTS; if (!kvm_s390_use_sca_entries()) r = KVM_MAX_VCPUS; |