From: Kevin Wolf <kwolf@redhat.com>
To: "Daniel P. Berrange" <berrange@redhat.com>
Cc: libvir-list@redhat.com, "Ján Tomko" <jtomko@redhat.com>,
qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [RFC] qcow3 format in libvirt
Date: Mon, 4 Mar 2013 15:04:53 +0100 [thread overview]
Message-ID: <20130304140453.GD3929@dhcp-200-207.str.redhat.com> (raw)
In-Reply-To: <20130304130937.GR8123@redhat.com>
Am 04.03.2013 um 14:09 hat Daniel P. Berrange geschrieben:
> On Mon, Mar 04, 2013 at 01:58:12PM +0100, Ján Tomko wrote:
> > Before posting another version of my patches [1], attempting to add
> > support for the new qcow format to libvirt, I would like to know if this
> > sounds reasonable:
> >
> > A new format named 'qcow3' would be added, along with a <features>
> > sub-element for target.
> >
> > <volume>
> > <name>qcow3test</name>
> > <source>
> > </source>
> > <capacity unit='GiB'>8</capacity>
> > <target>
> > <path>/var/lib/libvirt/images/qcow3test</path>
> > <format type='qcow3'/>
> > <features>
> > <lazy_refcounts/>
> > </features>
> > </target>
> > </volume>
> >
> > I think that libvirt shouldn't care if the features are compatible or
> > incompatible, as we don't know what features are supported by the
> > hypervisor. Would the features be any good as tri-state (on, off, default?).
> >
> > While the qcow3 format is handled by the qcow2 driver in QEMU,
> > <driver name='qemu' type='qcow2'/> should be enough for domains,
>
> We should use qcow3 everywhere IMHO, regardless of whether qcow2
> technically works in this context.
I think it makes much more sense to deal with it the way qemu does
instead of inventing new names. This has much more of an (incompatible)
feature flag than of a different image format. So to fit it in your
proposed syntax:
<target>
<path>/var/lib/libvirt/images/qcow3test</path>
<format type='qcow2'/>
<features>
<compat version="1.1" />
<lazy_refcounts/>
</features>
</target>
Or if you really think that you should refer to the inner workings of
qcow2, you can make it <version>3</version>.
But I guess you call all VMDKs just "vmdk", despite the fact that they
are really just a collection of different subformats. Right?
Kevin
next prev parent reply other threads:[~2013-03-04 14:05 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-04 12:58 [Qemu-devel] [RFC] qcow3 format in libvirt Ján Tomko
2013-03-04 13:09 ` Daniel P. Berrange
2013-03-04 14:04 ` Kevin Wolf [this message]
2013-03-04 14:27 ` Daniel P. Berrange
2013-03-04 14:38 ` Kevin Wolf
2013-03-04 14:46 ` Daniel P. Berrange
2013-03-04 15:05 ` Kevin Wolf
2013-03-04 15:19 ` Daniel P. Berrange
2013-03-04 15:40 ` Kevin Wolf
2013-03-11 18:03 ` Ján Tomko
2013-03-12 8:46 ` Kevin Wolf
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=20130304140453.GD3929@dhcp-200-207.str.redhat.com \
--to=kwolf@redhat.com \
--cc=berrange@redhat.com \
--cc=jtomko@redhat.com \
--cc=libvir-list@redhat.com \
--cc=qemu-devel@nongnu.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).