From: Kevin Wolf Date: Mon, 19 Aug 2013 08:38:01 +0000 (+0200) Subject: qcow2: Change default for new images to compat=1.1 X-Git-Tag: qemu-xen-4.5.0-rc1~519^2~41 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=8ad1898cf1f5314731123afce057e5cf74fd2f01;p=qemu-upstream-4.5-testing.git qcow2: Change default for new images to compat=1.1 By the time that qemu 1.7 will be released, enough time will have passed since qemu 1.1, which is the first version to understand version 3 images, that changing the default shouldn't hurt many people any more and the benefits of using the new format outweigh the pain. qemu-iotests already runs with compat=1.1 by default. Signed-off-by: Kevin Wolf Reviewed-by: Stefan Hajnoczi Reviewed-by: Eric Blake Signed-off-by: Stefan Hajnoczi --- diff --git a/block/qcow2.c b/block/qcow2.c index 3376901bd..42ea7ec76 100644 --- a/block/qcow2.c +++ b/block/qcow2.c @@ -1402,7 +1402,7 @@ static int qcow2_create(const char *filename, QEMUOptionParameter *options) int flags = 0; size_t cluster_size = DEFAULT_CLUSTER_SIZE; int prealloc = 0; - int version = 2; + int version = 3; /* Read out options */ while (options && options->name) {