From 8a9781f7ad0087182c51c629335803264568ef3b Mon Sep 17 00:00:00 2001 From: Jan Kiszka Date: Mon, 4 May 2015 08:32:32 +0200 Subject: [PATCH] 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 Signed-off-by: Paolo Bonzini --- Reading git-format-patch failed