From: Paolo Bonzini Date: Thu, 4 Jun 2015 08:41:21 +0000 (+0200) Subject: KVM: x86: latch INITs while in system management mode X-Git-Tag: omap-for-v4.2/fixes-rc1^2~138^2~39 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cd7764fe9f73530b20a0f2310fa753af635fabb3;p=pandora-kernel.git KVM: x86: latch INITs while in system management mode Do not process INITs immediately while in system management mode, keep it instead in apic->pending_events. Tell userspace if an INIT is pending when they issue GET_VCPU_EVENTS, and similarly handle the new field in SET_VCPU_EVENTS. Note that the same treatment should be done while in VMX non-root mode. Reviewed-by: Radim Krčmář Signed-off-by: Paolo Bonzini --- Reading git-diff-tree failed