From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: Balloon driver? Date: Wed, 06 Jun 2007 19:52:16 +0300 Message-ID: <4666E640.3070207@qumranet.com> References: <64F9B87B6B770947A9F8391472E032160C1A61E8@ehost011-8.exch011.intermedia.net> <64F9B87B6B770947A9F8391472E032160C26F84A@ehost011-8.exch011.intermedia.net> <4666AB2E.8030502@de.ibm.com> <64F9B87B6B770947A9F8391472E032160C26F90E@ehost011-8.exch011.intermedia.net> <4666DB13.7080504@de.ibm.com> <4666DE28.1060308@qumranet.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: carsteno-tA70FqPdS9bQT0dZR+AlfA@public.gmane.org, kvm-devel To: Jun Koi Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org Jun Koi wrote: > On 6/7/07, Avi Kivity wrote: >> Carsten Otte wrote: >> > The best approach into this direction I have seen so far is not our >> > own vdev thing but Rusty's virtio infrastructure. That's what I think >> > I would start with. >> > >> > >> >> I agree. We need a Lego set containing the following bricks: >> >> - bus interfaces: pci bus, hypercall-based bus, xenbus >> - functionality: net driver, block driver >> - virtio data path: xen rings + grant tables + event channels, kvm rings >> + kmap_atomic + interrupts >> > > Avi, may you explain what is the role of the "bus interface" in the > whole picture? To autodetect and probe new virtual device?? > Yes. I guess the most important part is to advertise the interrupt line correctly to the guest OS, so it can apply its policies wrt sharing and priorities as it wishes. Hotplug/unplug and autodetection are also important, but can probably be hacked even without pci. -- Do not meddle in the internals of kernels, for they are subtle and quick to panic. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/