From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Otte Subject: Re: [PATCH RFC 1/3] virtio infrastructure Date: Thu, 31 May 2007 14:53:08 +0200 Message-ID: <465EC534.6040005@de.ibm.com> References: <1180613947.11133.58.camel@localhost.localdomain> Reply-To: carsteno-tA70FqPdS9bQT0dZR+AlfA@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: Jimi Xenidis , Stephen Rothwell , Xen Mailing List , "jmk-zzFmDc4TPjtKvsKVC3L/VUEOCMrvLtNR@public.gmane.org" , Herbert Xu , kvm-devel , mschwid2-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org, virtualization , Christian Borntraeger , Suzanne McIntosh To: Rusty Russell Return-path: In-Reply-To: <1180613947.11133.58.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@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 Rusty Russell wrote: > This attempts to implement a "virtual I/O" layer which should allow > common drivers to be efficiently used across most virtual I/O > mechanisms. It will no-doubt need further enhancement. > > The details of probing the device are left to hypervisor-specific > code: it simple constructs the "struct virtio_device" and hands it to > the probe function (eg. virtnet_probe() or virtblk_probe()). > > The virtio drivers add and detach input and output buffers; as the > buffers are used up their associated "used" pointers are filled in. > > I have written two virtio device drivers (net and block) and two > virtio implementations (for lguest): a read-write socket-style > implementation, and a more efficient descriptor-based implementation). These should work for s390 afaics. They seem to fit the requirements of network IO. ------------------------------------------------------------------------- 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/