From: David Scott <dave.scott@eu.citrix.com>
To: Ian Campbell <Ian.Campbell@citrix.com>
Cc: George Dunlap <George.Dunlap@eu.citrix.com>,
xen-devel <xen-devel@lists.xen.org>,
Stefano Stabellini <Stefano.Stabellini@eu.citrix.com>
Subject: Re: libvirt, libxl and QDISKs
Date: Thu, 25 Apr 2013 14:22:39 +0100 [thread overview]
Message-ID: <51792E1F.3030005@eu.citrix.com> (raw)
In-Reply-To: <1366893802.20256.526.camel@zakaz.uk.xensource.com>
On 25/04/13 13:43, Ian Campbell wrote:
> 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?
I'll give this a go tomorrow when I'm not at the mercy of dodgy wifi :-)
From my reading of the libvirt code it does allow the selection of a
driverName from the set "tap" "tap2" "file" and "phy". It looks like we
could define a "qdisk" driverName.
Actually this reminds me of a general concern I had: I worry that people
who choose to use libvirt will likely use all the default options, and
not customise their code too much for a specific hypervisor. After all,
if they wanted to customise their code for xen they would just use libxl
and use the richer interface. I think we ought to make sure as much
stuff just works by default as possible. In my ideal world it would be
possible to take a simple libvirt domain configuration (perhaps one
which used to run on kvm) and run it on xen, transparently benefiting
from xen features such as driver domains (and automatic blktap/qemu
selection?). I think if the domain XML requires too much tweaking then
people will just not use the features or may give up altogether.
Cheers,
Dave
next prev parent reply other threads:[~2013-04-25 13:22 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-24 14:22 libvirt, libxl and QDISKs David Scott
2013-04-24 15:55 ` Stefano Stabellini
2013-04-25 8:55 ` Ian Campbell
2013-04-25 10:36 ` George Dunlap
2013-04-25 11:33 ` Ian Campbell
2013-04-25 11:55 ` Stefano Stabellini
2013-04-25 11:57 ` Ian Campbell
2013-04-25 12:12 ` David Scott
2013-04-25 12:43 ` Ian Campbell
2013-04-25 13:22 ` David Scott [this message]
2013-04-25 13:56 ` Ian Campbell
2013-04-26 1:27 ` Jim Fehlig
2013-04-26 4:50 ` Jim Fehlig
2013-04-26 10:37 ` David Scott
2013-04-26 23:44 ` Jim Fehlig
[not found] ` <517B1170.4020300@suse.com>
2013-04-29 9:41 ` David Scott
2013-04-26 8:49 ` Ian Campbell
2013-04-26 10:10 ` Stefano Stabellini
2013-04-26 10:13 ` Ian Campbell
2013-04-26 10:28 ` Stefano Stabellini
2013-04-26 11:31 ` Marek Marczykowski
2013-04-26 11:40 ` Ian Campbell
2013-04-26 11:48 ` Stefano Stabellini
2013-04-26 13:27 ` Ian Campbell
2013-04-26 17:10 ` Stefano Stabellini
2013-04-29 8:23 ` Ian Campbell
2013-04-29 10:07 ` Stefano Stabellini
2013-04-26 11:50 ` Marek Marczykowski
2013-04-29 21:00 ` Jim Fehlig
2013-04-26 11:45 ` Stefano Stabellini
2013-04-26 14:36 ` Roger Pau Monné
2013-04-25 18:26 ` Sylvain Munaut
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=51792E1F.3030005@eu.citrix.com \
--to=dave.scott@eu.citrix.com \
--cc=George.Dunlap@eu.citrix.com \
--cc=Ian.Campbell@citrix.com \
--cc=Stefano.Stabellini@eu.citrix.com \
--cc=xen-devel@lists.xen.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.