diff options
author | Wanpeng Li <wanpeng.li@linux.intel.com> | 2014-08-05 12:42:23 +0800 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2014-08-05 14:50:45 +0200 |
commit | f3380ca5d7edb5e31932998ab2e29dfdce39c5ed (patch) | |
tree | 78d027d6532cbba584229b0062e2f29172c6de9f /arch/sparc/include/asm/irqflags_32.h | |
parent | 25a2150bee00b4d996487552948b9b3ba21d0257 (diff) | |
download | blackbird-obmc-linux-f3380ca5d7edb5e31932998ab2e29dfdce39c5ed.tar.gz blackbird-obmc-linux-f3380ca5d7edb5e31932998ab2e29dfdce39c5ed.zip |
KVM: nVMX: Fix nested vmexit ack intr before load vmcs01
An external interrupt will cause a vmexit with reason "external interrupt"
when L2 is running. L1 will pick up the interrupt through vmcs12 if
L1 set the ack interrupt bit. Commit 77b0f5d (KVM: nVMX: Ack and write
vector info to intr_info if L1 asks us to) retrieves the interrupt that
belongs to L1 before vmcs01 is loaded.
This will lead to problems in the next patch, which would write to SVI
of vmcs02 instead of vmcs01 (SVI of vmcs02 doesn't make sense because
L2 runs without APICv).
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Tested-by: Liu, RongrongX <rongrongx.liu@intel.com>
Tested-by: Felipe Reyes <freyes@suse.com>
Fixes: 77b0f5d67ff2781f36831cba79674c3e97bd7acf
Cc: stable@vger.kernel.org
Signed-off-by: Wanpeng Li <wanpeng.li@linux.intel.com>
[Move tracepoint as well. - Paolo]
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/sparc/include/asm/irqflags_32.h')
0 files changed, 0 insertions, 0 deletions