From: Ian Campbell Subject: Re: libvirt, libxl and QDISKs Date: Thu, 25 Apr 2013 13:43:22 +0100 Message-ID: <1366893802.20256.526.camel@zakaz.uk.xensource.com> References: <5177EA93.7000403@eu.citrix.com> <1366880153.20256.432.camel@zakaz.uk.xensource.com> <1366889589.20256.510.camel@zakaz.uk.xensource.com> <1366891065.20256.517.camel@zakaz.uk.xensource.com> <51791DB1.9070903@eu.citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <51791DB1.9070903@eu.citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Dave Scott Cc: George Dunlap , xen-devel , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org On Thu, 2013-04-25 at 13:12 +0100, Dave Scott wrote: > On 25/04/13 12:57, Ian Campbell wrote: > > On Thu, 2013-04-25 at 12:55 +0100, Stefano Stabellini wrote: > > > >> Right, but going back to the original question: if we have in our hands > >> something that is not vhd, raw or qcow and blktap2 is available, > >> should we really try to pass it to it? > > > > That's not quite the original question because in that case it was raw, > > at least as far as the libxl interface is concerned. > > > >> We do know that blktap2 only handles qcow, qcow2, raw and vhd (and the > >> implementation of the first two formats is too buggy to be used). > >> > >> Thus I think that the answer is pretty obvious here: we should try with > >> QEMU, whose supported format list is way wider. > > > > Which I think we do, we only try and use blktap for raw and vhd. > > As well as the disk format dimension (vhd, qcow2 etc) there's also the > network disk access protocol (iSCSI, ceph/RBD, sheepdog?). Although both > blktap/tapdisk can handle raw, alas all the interesting (perhaps I'm > showing my bias here ;-) disk access protocols are in qemu. So if we > default to blktap/tapdisk we can only handle raw *files*, whereas if we > default to qemu we can also do these new fancy things as well. Remind me why you can't specify backend=qdisk explicitly? Does libvirt not propagate anything like that? Ian