From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rusty Russell Subject: Re: [PATCH RFC 2/3] Virtio draft II: example block driver Date: Fri, 08 Jun 2007 11:11:25 +1000 Message-ID: <1181265085.24958.3.camel@localhost.localdomain> References: <1181217762.14054.192.camel@localhost.localdomain> <1181217867.14054.195.camel@localhost.localdomain> <1181217920.14054.196.camel@localhost.localdomain> <4667F7C0.3070604@qumranet.com> 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 , virtualization , Christian Borntraeger , Latchesar Ionkov , Suzanne McIntosh , Jens Axboe , Martin Schwidefsky To: Avi Kivity Return-path: In-Reply-To: <4667F7C0.3070604-atKUWr5tajBWk0Htik3J/w@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 On Thu, 2007-06-07 at 15:19 +0300, Avi Kivity wrote: > Rusty Russell wrote: > > + sprintf(vblk->disk->disk_name, "vb%c", virtblk_index++); > > > > vd%c, in keeping with hd%c and sd%c? Should work, since iSeries' devices are /dev/iseries/vd%c. Is there already a magic routine to take the base and assign the a... aaa etc? Rusty. ------------------------------------------------------------------------- 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/