diff options
author | Kevin Wolf <kwolf@redhat.com> | 2013-08-19 10:38:01 +0200 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2013-08-21 14:41:09 +0200 |
commit | 8ad1898cf1f5314731123afce057e5cf74fd2f01 (patch) | |
tree | 94b56b26dc569ef2c6d31438043d544712ac75ea /block/qcow2.c | |
parent | ecfe10c9a6f9bc77d0e4b7eb5d0f5d61e8fbaed8 (diff) | |
download | qemu-8ad1898cf1f5314731123afce057e5cf74fd2f01.zip qemu-8ad1898cf1f5314731123afce057e5cf74fd2f01.tar.gz qemu-8ad1898cf1f5314731123afce057e5cf74fd2f01.tar.bz2 |
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 <kwolf@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'block/qcow2.c')
-rw-r--r-- | block/qcow2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/block/qcow2.c b/block/qcow2.c index 3376901b..42ea7ec 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) { |