From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: Balloon driver? Date: Wed, 06 Jun 2007 19:17:44 +0300 Message-ID: <4666DE28.1060308@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> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel To: carsteno-tA70FqPdS9bQT0dZR+AlfA@public.gmane.org Return-path: In-Reply-To: <4666DB13.7080504-tA70FqPdS9bQT0dZR+AlfA@public.gmane.org> 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 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 So you can write a 4-line driver that glues the pci bus interface to the net functionality driver to kvm virtio backend, and take the rest of the day off. -- 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/