From: Paolo Bonzini <pbonzini@redhat.com>
To: Roman Kagan <rkagan@virtuozzo.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 03:51:24 -0500 (EST) [thread overview]
Message-ID: <1431709160.121394.1480063884372.JavaMail.zimbra@redhat.com> (raw)
In-Reply-To: <20161125084251.GC28457@rkaganb.sw.ru>
> 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?
Paolo
next prev parent reply other threads:[~2016-11-25 8:51 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 [this message]
2016-11-25 11:17 ` Roman Kagan
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=1431709160.121394.1480063884372.JavaMail.zimbra@redhat.com \
--to=pbonzini@redhat.com \
--cc=den@virtuozzo.com \
--cc=kvm@vger.kernel.org \
--cc=rkagan@virtuozzo.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