public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: "Nadav Har'El" <nyh@il.ibm.com>
To: Avi Kivity <avi@redhat.com>, kvm@vger.kernel.org
Cc: Dave Allan <dallan@redhat.com>,
	Federico Simoncelli <fsimonce@redhat.com>,
	Abel Gordon <abelg@il.ibm.com>
Subject: [PATCH 0/2] nVMX injection corrections
Date: Thu, 22 Sep 2011 13:52:25 +0300	[thread overview]
Message-ID: <1316688715-nyh@il.ibm.com> (raw)

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

             reply	other threads:[~2011-09-22 10:52 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-22 10:52 Nadav Har'El [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1316688715-nyh@il.ibm.com \
    --to=nyh@il.ibm.com \
    --cc=abelg@il.ibm.com \
    --cc=avi@redhat.com \
    --cc=dallan@redhat.com \
    --cc=fsimonce@redhat.com \
    --cc=kvm@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox