public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Roman Kagan <rkagan@virtuozzo.com>
To: Paolo Bonzini <pbonzini@redhat.com>
Cc: "Radim Krčmář" <rkrcmar@redhat.com>,
	kvm@vger.kernel.org, "Denis Lunev" <den@virtuozzo.com>
Subject: Re: [PATCH] kvm/x86: skip async_pf when in guest mode
Date: Fri, 25 Nov 2016 14:17:33 +0300	[thread overview]
Message-ID: <20161125111732.GD28457@rkaganb.sw.ru> (raw)
In-Reply-To: <1431709160.121394.1480063884372.JavaMail.zimbra@redhat.com>

On Fri, Nov 25, 2016 at 03:51:24AM -0500, Paolo Bonzini wrote:
> 
> > What's the correct way to kick L2 to L1 from the host?  I failed to find
> > one from a brief skimming through the code.  We need a sensible exit
> > reason delivered to L1 (probably "external interrupt" will do) but I
> > don't see a method to do so without actually injecting an interrupt into
> > L1 which is not unlikely to confuse it.  Any suggestion?
> 
> Perhaps check for async page faults in nested_vmx_check_exception and
> nested_svm_intercept, before testing the exception bitmap?

Yeah I also thought about this, but hoped there's an arch-agnostic
way...  Will try this approach, then.

Thanks,
Roman.

      reply	other threads:[~2016-11-25 11:48 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-24 16:30 [PATCH] kvm/x86: skip async_pf when in guest mode Roman Kagan
2016-11-24 20:49 ` Radim Krčmář
2016-11-25  7:15   ` Roman Kagan
2016-11-25  8:42     ` Roman Kagan
2016-11-25  8:51       ` Paolo Bonzini
2016-11-25 11:17         ` Roman Kagan [this message]

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=20161125111732.GD28457@rkaganb.sw.ru \
    --to=rkagan@virtuozzo.com \
    --cc=den@virtuozzo.com \
    --cc=kvm@vger.kernel.org \
    --cc=pbonzini@redhat.com \
    --cc=rkrcmar@redhat.com \
    /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