aboutsummaryrefslogtreecommitdiff
path: root/block/qcow2.c
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2013-07-17 14:45:34 +0200
committerKevin Wolf <kwolf@redhat.com>2013-07-26 21:59:56 +0200
commit64aa99d3e0333dea73d7505190659a02ca909292 (patch)
tree7a118e827fc4b4fccbae4a868516e90bed7d2d66 /block/qcow2.c
parent57975222b6a928dd4a4a8a7b37093cc8ecba5045 (diff)
downloadqemu-64aa99d3e0333dea73d7505190659a02ca909292.zip
qemu-64aa99d3e0333dea73d7505190659a02ca909292.tar.gz
qemu-64aa99d3e0333dea73d7505190659a02ca909292.tar.bz2
qcow2: Use dashes instead of underscores in options
This is what QMP wants to use. The options haven't been enabled in any release yet, so we're still free to change them. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'block/qcow2.c')
-rw-r--r--block/qcow2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/block/qcow2.c b/block/qcow2.c
index 0eceefe..3376901b 100644
--- a/block/qcow2.c
+++ b/block/qcow2.c
@@ -291,7 +291,7 @@ static QemuOptsList qcow2_runtime_opts = {
.head = QTAILQ_HEAD_INITIALIZER(qcow2_runtime_opts.head),
.desc = {
{
- .name = "lazy_refcounts",
+ .name = QCOW2_OPT_LAZY_REFCOUNTS,
.type = QEMU_OPT_BOOL,
.help = "Postpone refcount updates",
},