diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2019-06-01 01:49:02 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2019-06-01 01:49:02 +0300 |
commit | f8d221d2e0e1572d0d60174c118e3554d1aa79fa (patch) | |
tree | 1e8fab4978cd5d241d8657c8de9d22278e4b8aed /arch/mips | |
parent | 24e8a2ca1f74574ad2ed1ac7af0260dd90fd911e (diff) | |
parent | a86cb413f4bf273a9d341a3ab2c2ca44e12eb317 (diff) | |
download | linux-f8d221d2e0e1572d0d60174c118e3554d1aa79fa.tar.xz |
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/mips')
-rw-r--r-- | arch/mips/kvm/mips.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/mips/kvm/mips.c b/arch/mips/kvm/mips.c index 6d0517ac18e5..0369f26ab96d 100644 --- a/arch/mips/kvm/mips.c +++ b/arch/mips/kvm/mips.c @@ -1122,6 +1122,9 @@ int kvm_vm_ioctl_check_extension(struct kvm *kvm, long ext) case KVM_CAP_MAX_VCPUS: r = KVM_MAX_VCPUS; break; + case KVM_CAP_MAX_VCPU_ID: + r = KVM_MAX_VCPU_ID; + break; case KVM_CAP_MIPS_FPU: /* We don't handle systems with inconsistent cpu_has_fpu */ r = !!raw_cpu_has_fpu; |