WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] libxl: missing disk device feature and bugs in error pat

To: "Gianni Tedesco (3P)" <gianni.tedesco@xxxxxxxxxx>
Subject: Re: [Xen-devel] libxl: missing disk device feature and bugs in error path
From: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
Date: Wed, 4 Aug 2010 16:03:36 +0100
Cc: Christoph Egger <Christoph.Egger@xxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>, Stefano Stabellini <Stefano.Stabellini@xxxxxxxxxxxxx>
Delivery-date: Wed, 04 Aug 2010 08:05:25 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1280839579.18490.162.camel@xxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <201008031415.17830.Christoph.Egger@xxxxxxx> <1280839579.18490.162.camel@xxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Alpine 2.00 (DEB 1167 2008-08-23)
On Tue, 3 Aug 2010, Gianni Tedesco (3P) wrote:
> On Tue, 2010-08-03 at 13:15 +0100, Christoph Egger wrote:
> > Hi!
> > 
> > In my guest config file I have this line:
> > 
> > disk = [ 'file:/hvm-guest/win7.img,ioemu:hda,w' ]
> > 
> > While 'xm create' parses this correctly,
> > 'xl create' fails in libxl.c line 1474 where it
> > calls device_disk_dev_number(). disk->virtpath
> > contains "ioemu".
> 
> I have a patch fixing the disk device parsing in the pipeline but it
> re-implements what was already in xl and doesn't handle this case. I am
> not sure how this flag ought to be handled so if Stefano or Ian have
> suggestions I can fold that in to my patch.

ioemu should be ignored: by default we provide an emulated disk if the
device name is hd* and we don't if the disk name is xvd*



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>