From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH/RFC 6/9] virtual block device driver Date: Mon, 14 May 2007 14:52:36 +0300 Message-ID: <46484D84.3060601@qumranet.com> References: <1178903957.25135.13.camel@cotte.boeblingen.de.ibm.com> <1178904963.25135.33.camel@cotte.boeblingen.de.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: "kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org" , Christian Borntraeger , Martin Schwidefsky To: Carsten Otte Return-path: In-Reply-To: <1178904963.25135.33.camel-WIxn4w2hgUz3YA32ykw5MLlKpX0K8NHHQQ4Iyu8u01E@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: > From: Carsten Otte > > This driver provides access to virtual block devices. It does use its own > make_request function which passes the bio to a workqueue thread. The workqueue > thread does use the diagnose hypervisor call to call the hosting Linux. > The hypervisor code in host userspace does use aio_submit to initiate the IO. > Once the IO is done, the host will use io_getevents and then generate an > interrupt to the guest. The interrupt handler calls bio_endio. > This device driver is currently architecture dependent. We intend to move the > host API to hypercall instead of the diagnose instuction. Please review. > > Oh. Why not use Xen's pending block driver? It probably has everything needed. -- error compiling committee.c: too many arguments to function ------------------------------------------------------------------------- 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/