From: Avi Kivity <avi@redhat.com>
To: "Kumar, Venkat" <Venkat.Kumar@lsi.com>
Cc: "kvm@vger.kernel.org" <kvm@vger.kernel.org>
Subject: Re: Qemu process in Guest
Date: Thu, 02 Apr 2009 16:34:41 +0300 [thread overview]
Message-ID: <49D4BEF1.7010607@redhat.com> (raw)
In-Reply-To: <3D9CB4061D1EB3408D4A0B910433453C03029188F0@inbmail01.lsi.com>
Kumar, Venkat wrote:
> 1. How does Qemu process start running in Guest?
>
qemu doesn't run in the guest. Unless you log into the guest and start
qemu.
But I don't think that's what you were asking?
> 2. How does a guest's I/O request get trapped into the user mode qemu process?
>
kvm traps the I/O and returns back to userspace.
Look in libkvm/libkvm.c's handle_io() and handle_mmio(). These
eventually call into qemu/qemu-kvm.c kvm_inb() and friends, and
kvm_mmio_read() and kvm_mmio_write().
--
error compiling committee.c: too many arguments to function
next prev parent reply other threads:[~2009-04-02 13:34 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-02 10:25 Qemu process in Guest Kumar, Venkat
2009-04-02 13:34 ` Avi Kivity [this message]
[not found] <3D9CB4061D1EB3408D4A0B910433453C0302918A0C@inbmail01.lsi.com>
2009-04-03 11:08 ` 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=49D4BEF1.7010607@redhat.com \
--to=avi@redhat.com \
--cc=Venkat.Kumar@lsi.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.