]> git.proxmox.com Git - qemu.git/commit
qcow2: Implement bdrv_amend_options
authorMax Reitz <mreitz@redhat.com>
Tue, 3 Sep 2013 08:09:54 +0000 (10:09 +0200)
committerKevin Wolf <kwolf@redhat.com>
Thu, 12 Sep 2013 08:12:46 +0000 (10:12 +0200)
commit9296b3ed7050cc6e0645fbc3b0aea74406d7eeb2
tree860710d98819ba0aa74d8ba14eb6963673805a88
parentb6481f376bc65894910dd98db3f299d698817106
qcow2: Implement bdrv_amend_options

Implement bdrv_amend_options for compat, size, backing_file, backing_fmt
and lazy_refcounts.

Downgrading images from compat=1.1 to compat=0.10 is achieved through
handling all incompatible flags accordingly, clearing all compatible and
autoclear flags and expanding all zero clusters.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/qcow2.c