From: Avi Kivity <avi@redhat.com>
To: jemmy858585 <jemmy858585@gmail.com>
Cc: kvm <kvm@vger.kernel.org>
Subject: Re: How kvm handle extern interrupt when guest os is running
Date: Sun, 29 Aug 2010 17:24:09 +0300 [thread overview]
Message-ID: <4C7A6D89.9040802@redhat.com> (raw)
In-Reply-To: <201008292216173903911@gmail.com>
On 08/29/2010 05:16 PM, jemmy858585 wrote:
> i didn't understand how kvm handle extern interrupt when guest os running.
> i think the extern interrupt will cause vm exit, then kvm should pass this interrupt to host os , then the host os handle it.
> but i didn't found the correlative code.
>
> I think vmx_complete_interrupts and vmx_handle_exit function will be execute, but i didn't found how pass the extern interrupt to host os.
>
> If anyone knows , please tell me,thanks.
>
The interrupt causes a vmexit but is not consumed by the processor.
Instead, it remains pending. As soon as the host enables interrupts the
interrupt will be delivered.
--
error compiling committee.c: too many arguments to function
next prev parent reply other threads:[~2010-08-29 14:24 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-29 14:16 How kvm handle extern interrupt when guest os is running jemmy858585
2010-08-29 14:24 ` Avi Kivity [this message]
2010-08-31 15:47 ` jemmy858585
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=4C7A6D89.9040802@redhat.com \
--to=avi@redhat.com \
--cc=jemmy858585@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