From: Bruce MaJia <bruce.majia@gmail.com>
To: kvm@vger.kernel.org
Subject: Re: question on KVM run flow on Intel-VT
Date: Wed, 22 Apr 2009 21:24:11 +0800 [thread overview]
Message-ID: <20090422132411.GA10001@LL.wrs.com> (raw)
In-Reply-To: <20090422125549.GA8186@LL>
On Wed, Apr 22, 2009 at 08:55:49PM +0800, MaJia wrote:
> Hi,
>
> I am learning kvm + Intel-VT nowadays. Since I am rookie on both kvm and
> Intel-VT, I got following questions about run flow of kvm on vmx.
>
> I think the cpu is running in 'vmx non-root' mode when execution flow
> reach 'vmx_vcpu_run' and the batch of 'asm code' take responsibility of
> run guest on cpu.
>
> My question is, when and where will the execution flow return to vmx root
> mode?
I may not clarify my question. I mean, when vmexit occur, which caused by
executing io instruction from guest, will the cpu switch to vmx root
mode? Will the cpu direct goto run 'handle_io' function?
When cpu running in vmx non-root mode, an interrupt occurs, what is the
behavior of cpu?
Thanks.
Bruce.
>
> Please give me some hint about this point or route me to some documents.
>
> Thanks.
> Bruce.
next prev parent reply other threads:[~2009-04-22 13:24 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-22 12:55 question on KVM run flow on Intel-VT MaJia
2009-04-22 13:24 ` Bruce MaJia [this message]
2009-04-22 14:05 ` Gregory Haskins
2009-04-22 14:55 ` Bruce MaJia
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=20090422132411.GA10001@LL.wrs.com \
--to=bruce.majia@gmail.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