diff options
author | Pavel Butsykin | 2017-09-04 12:18:00 +0200 |
---|---|---|
committer | Kevin Wolf | 2017-09-06 14:40:18 +0200 |
commit | 83a8c775a8bf134eb18a719322939b74a818d750 (patch) | |
tree | 35429d8c51aefb3b686e29bd16b11eb3ab9790e3 /backends/tpm.c | |
parent | qemu-iotests: add 184 for throttle filter driver (diff) | |
download | qemu-83a8c775a8bf134eb18a719322939b74a818d750.tar.gz qemu-83a8c775a8bf134eb18a719322939b74a818d750.tar.xz qemu-83a8c775a8bf134eb18a719322939b74a818d750.zip |
qcow2: move qcow2_store_persistent_dirty_bitmaps() before cache flushing
After calling qcow2_inactivate(), all qcow2 caches must be flushed, but this
may not happen, because the last call qcow2_store_persistent_dirty_bitmaps()
can lead to marking l2/refcont cache as dirty.
Let's move qcow2_store_persistent_dirty_bitmaps() before the caсhe flushing
to fix it.
Cc: qemu-stable@nongnu.org
Signed-off-by: Pavel Butsykin <pbutsykin@virtuozzo.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'backends/tpm.c')
0 files changed, 0 insertions, 0 deletions