From: Jan Kiszka Date: Mon, 4 May 2015 06:32:32 +0000 (+0200) Subject: KVM: nVMX: Fix host crash when loading MSRs with userspace irqchip X-Git-Tag: omap-for-v4.2/fixes-rc1^2~138^2~88 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8a9781f7ad0087182c51c629335803264568ef3b;p=pandora-kernel.git 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-diff-tree failed