commit | 8a9781f7ad0087182c51c629335803264568ef3b | [log] [tgz] |
---|---|---|
author | Jan Kiszka <jan.kiszka@siemens.com> | Mon May 04 08:32:32 2015 +0200 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Fri May 08 10:51:45 2015 +0200 |
tree | e3f24554a01b312d269f74beca71451a015f936e | |
parent | acac6f89574c743796c9c947e046a0d6637d5fe2 [diff] |
KVM: nVMX: Fix host crash when loading MSRs with userspace irqchip vcpu->arch.apic is NULL when a userspace irqchip is active. But instead of letting the test incorrectly depend on in-kernel irqchip mode, open-code it to catch also userspace x2APICs. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>