Kernel KVM virtualization development
 help / color / mirror / Atom feed
* [PATCH 0/1] KVM: nVMX: Do not recalc IOAPIC handled vectors while running L2
@ 2017-11-10  1:24 Liran Alon
  2017-11-10  1:24 ` [PATCH] " Liran Alon
  0 siblings, 1 reply; 6+ messages in thread
From: Liran Alon @ 2017-11-10  1:24 UTC (permalink / raw)
  To: pbonzini, rkrcmar, kvm; +Cc: jmattson, wanpeng.li, idan.brown

Hi,

This series, of a single patch, aim to fix a bug caused by 
recalculation of IOAPIC handled vectors while
guest is in L2 (is_guest_mode(vcpu)==true).

This bug leads to wrongly overwriting vmcs02->eoi_exit_bitmap (which
should always be equal to vmcs12->eoi_exit_bitmap) instead of writing
new values to vmcs01->eoi_exit_bitmap.

The patch fixes this issue by delaying processing of
KVM_REQ_SCAN_IOAPIC to execute only when running L1
(is_guest_mode(vcpu)==false).

We have also written a kvm-unit-test that severs as a regression test
to verify that this bug is indeed fixed. We will commit that
kvm-unit-test in a seperate series of patches soon.

Thanks.
-Liran Alon

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-11-10 23:20 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-10  1:24 [PATCH 0/1] KVM: nVMX: Do not recalc IOAPIC handled vectors while running L2 Liran Alon
2017-11-10  1:24 ` [PATCH] " Liran Alon
2017-11-10  8:37   ` Paolo Bonzini
2017-11-10 21:47     ` Liran Alon
2017-11-10 22:26       ` Paolo Bonzini
2017-11-10 23:20         ` Paolo Bonzini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox