From: Avi Kivity <avi@redhat.com>
To: Matt Anger <angermcs@gmail.com>
Cc: Anthony Liguori <anthony@codemonkey.ws>,
Javier Guerra <javier@guerrag.com>,
kvm@vger.kernel.org
Subject: Re: Event channels in KVM?
Date: Tue, 23 Sep 2008 10:26:56 +0300 [thread overview]
Message-ID: <48D89A40.6030109@redhat.com> (raw)
In-Reply-To: <11b8bea70809221650u59a15347sc7f867a25f035d1d@mail.gmail.com>
Matt Anger wrote:
> Thanks for the info, I've been looking into it by trying to look
> around kvm source code.
> Apparently I have to write a kernel driver for the guest os and then
> also write backend driver and modify qemu to use it? Is that correct?
> That seems ugly, especially since now my io goes guest->guest kernel
> driver->host kernel kvm->qemu->host kernel driver....
> With Xen event-channels my driver gets the event notification directly
> with no user space intervention removing the middle 2 steps and I
> don't have to touch any of Xen's codebase. My driver just registers
> for an event-channel.
>
The qemu device in kvm is equivalent to the dom0 backend driver.
kvm's qemu is equivalent to Xen's dom0.
The guest kernel driver in kvm is equivalent to the domU kernel driver.
Event channels map to interrupts (host->guest) and mmio/pio
(guest/host); virtio provides an abstraction on top of that.
--
error compiling committee.c: too many arguments to function
next prev parent reply other threads:[~2008-09-23 7:27 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-19 17:16 Event channels in KVM? Matt Anger
2008-09-19 18:31 ` Anthony Liguori
2008-09-19 19:10 ` Javier Guerra
2008-09-19 19:14 ` Anthony Liguori
2008-09-22 23:50 ` Matt Anger
2008-09-23 0:30 ` Dong, Eddie
2008-09-23 0:36 ` Matt Anger
2008-09-23 1:36 ` Dong, Eddie
2008-09-23 7:26 ` Avi Kivity [this message]
-- strict thread matches above, loose matches on Subject: below --
2009-04-28 16:39 Kapadia, Vivek
2009-04-28 16:59 ` Anthony Liguori
2009-04-30 9:04 ` 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=48D89A40.6030109@redhat.com \
--to=avi@redhat.com \
--cc=angermcs@gmail.com \
--cc=anthony@codemonkey.ws \
--cc=javier@guerrag.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