[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 07/13] qcow2: Allow lazy refcounts to be enabled
From: |
Kevin Wolf |
Subject: |
Re: [Qemu-devel] [PATCH 07/13] qcow2: Allow lazy refcounts to be enabled on the command line |
Date: |
Thu, 14 Mar 2013 16:00:14 +0100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
Am 14.03.2013 um 15:45 hat Eric Blake geschrieben:
> On 03/12/2013 08:41 AM, Kevin Wolf wrote:
> > qcow2 images now accept a boolean lazy_refcounts options. Use it like
> > this:
> >
> > -drive file=test.qcow2,lazy_refcounts=on
> >
> > If the option is specified on the command line, it overrides the default
> > specified by the qcow2 header flags that were set when creating the
> > image.
>
> Question - how would I get at the lazy_refcounts option when hotplugging
> a drive after the fact? In other words, we need to wire up access to
> per-format options into QMP, to match what we have done on the command line.
We do and I hope I'll get to it soon. Maybe we should create a wiki page
for all open -blockdev tasks.
Another thing that is yet unclear is how to make these options
discoverable. At the moment you just have to know that qcow2 accepts a
lazy_refcounts option.
Kevin
- [Qemu-devel] [PATCH 02/13] block: Add options QDict to bdrv_open() prototype, (continued)
- [Qemu-devel] [PATCH 02/13] block: Add options QDict to bdrv_open() prototype, Kevin Wolf, 2013/03/12
- [Qemu-devel] [PATCH 08/13] qcow2: flush refcount cache correctly in alloc_refcount_block(), Kevin Wolf, 2013/03/12
- [Qemu-devel] [PATCH 06/13] block: Support driver specific options in drive_init(), Kevin Wolf, 2013/03/12
- [Qemu-devel] [PATCH 03/13] Add qdict_clone_shallow(), Kevin Wolf, 2013/03/12
- [Qemu-devel] [PATCH 05/13] qemu-option: Add qemu_opts_absorb_qdict(), Kevin Wolf, 2013/03/12
- [Qemu-devel] [PATCH 09/13] qcow2: flush refcount cache correctly in qcow2_write_snapshots(), Kevin Wolf, 2013/03/12
- [Qemu-devel] [PATCH 11/13] qcow2: flush in qcow2_update_snapshot_refcount(), Kevin Wolf, 2013/03/12
- [Qemu-devel] [PATCH 10/13] qcow2: set L2 cache dependency in qcow2_alloc_bytes(), Kevin Wolf, 2013/03/12
- [Qemu-devel] [PATCH 07/13] qcow2: Allow lazy refcounts to be enabled on the command line, Kevin Wolf, 2013/03/12
- [Qemu-devel] [PATCH 12/13] qcow2: drop flush in update_cluster_refcount(), Kevin Wolf, 2013/03/12
- [Qemu-devel] [PATCH 13/13] qcow2: drop unnecessary flush in qcow2_update_snapshot_refcount(), Kevin Wolf, 2013/03/12