public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] nVMX injection corrections
@ 2011-09-22 10:52 Nadav Har'El
  2011-09-22 10:52 ` [PATCH 1/2] nVMX: Add KVM_REQ_IMMEDIATE_EXIT Nadav Har'El
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Nadav Har'El @ 2011-09-22 10:52 UTC (permalink / raw)
  To: Avi Kivity, kvm; +Cc: Dave Allan, Federico Simoncelli, Abel Gordon

The following two patches solve two injection-related nested VMX issues:

 1. When we must run L2 next (namely on L1's VMLAUNCH/VMRESUME), injection
    into L1 was delayed for an unknown amount of time - until L2 exits.
    We now force (using a self IPI) an exit immediately after entry to L2,
    so that the injection into L1 happens promptly.

 2. "unexpected, valid vectoring info" warnings appeared in L1.
    These are fixed by correcting the emulation of concurrent L0->L1 and
    L1->L2 injections: We cannot inject into L1 until the injection into L2
    has been processed.

Patch statistics:
-----------------

 arch/x86/kvm/vmx.c       |   18 +++++++++++-------
 arch/x86/kvm/x86.c       |    6 ++++++
 include/linux/kvm_host.h |    1 +
 3 files changed, 18 insertions(+), 7 deletions(-)

--
Nadav Har'El
IBM Haifa Research Lab

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

end of thread, other threads:[~2011-09-26 17:34 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-22 10:52 [PATCH 0/2] nVMX injection corrections Nadav Har'El
2011-09-22 10:52 ` [PATCH 1/2] nVMX: Add KVM_REQ_IMMEDIATE_EXIT Nadav Har'El
2011-09-23 12:36   ` Marcelo Tosatti
2011-09-25  8:13     ` Nadav Har'El
2011-09-26 11:02       ` Marcelo Tosatti
2011-09-22 10:53 ` [PATCH 2/2] nVMX: Fix warning-causing idt-vectoring-info behavior Nadav Har'El
2011-09-26 17:01 ` [PATCH 0/2] nVMX injection corrections Avi Kivity

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