summary refs log tree commit diff stats
path: root/hw/usb
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@linux.vnet.ibm.com>2012-06-14 11:42:23 +0100
committerKevin Wolf <kwolf@redhat.com>2012-06-15 14:03:43 +0200
commitaf7b708db2d03eb47f7ba44a050439ad9ee65e7a (patch)
tree1af079a10347b6e7d84dc682e04b283b73290680 /hw/usb
parent093003b1d3d7453d65bcbe8ad7e911950fc076f5 (diff)
downloadfocaccia-qemu-af7b708db2d03eb47f7ba44a050439ad9ee65e7a.tar.gz
focaccia-qemu-af7b708db2d03eb47f7ba44a050439ad9ee65e7a.zip
qcow2: fix autoclear image header update
The autoclear feature bits can be used for qcow2 file format features
that are safe to "drop" by old programs that do not understand the
feature.  Upon opening the image file unknown autoclear feature bits are
cleared and the image file header is rewritten, but this was happening
too early in the code when critical header fields were not yet loaded.

Process autoclear feature bits after all necessary header information
has been loaded.

Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'hw/usb')
0 files changed, 0 insertions, 0 deletions