From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anthony Liguori Subject: Re: Event channels in KVM? Date: Fri, 19 Sep 2008 14:14:13 -0500 Message-ID: <48D3FA05.7000101@codemonkey.ws> References: <11b8bea70809191016v4d38ad0fma3e51273e7108237@mail.gmail.com> <48D3F01D.7070600@codemonkey.ws> <90eb1dc70809191210s6a10ce17ke1dc8663169f037a@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: Matt Anger , kvm@vger.kernel.org To: Javier Guerra Return-path: Received: from ag-out-0708.google.com ([72.14.246.251]:48269 "EHLO ag-out-0708.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753610AbYISTPO (ORCPT ); Fri, 19 Sep 2008 15:15:14 -0400 Received: by ag-out-0708.google.com with SMTP id 31so592476agc.10 for ; Fri, 19 Sep 2008 12:15:13 -0700 (PDT) In-Reply-To: <90eb1dc70809191210s6a10ce17ke1dc8663169f037a@mail.gmail.com> Sender: kvm-owner@vger.kernel.org List-ID: Javier Guerra wrote: > On Fri, Sep 19, 2008 at 1:31 PM, Anthony Liguori wrote: > >> Matt Anger wrote: >> >>> Does KVM have any interface similar to event-channels like Xen does? >>> Basically a way to send notifications between the host and guest. >>> >>> >> virtio is the abstraction we use. >> >> But virtio is based on the standard hardware interfaces of the PC--PIO, >> MMIO, and interrupts. >> > > this is rather low-level, it would be nice to have a multiplatform > interface to this abstraction. > That's exactly the purpose of virtio. virtio is a high-level, cross platform interface. It's been tested on x86, PPC, s390, and I believe ia64. It also works in lguest. It happens to use PIO, MMIO, and interrupts on x86 under KVM but other virtio implementations exist for other platforms. > just for kicks, i've found and printed Rusty's paper about it. hope > it's current :-) > The other good thing to look at is the lguest documentation. You can skip to just the virtio bits if you're so inclined. It's really quite thoroughly documented. Regards, Anthony Liguori