summaryrefslogtreecommitdiffstats
path: root/qemu-io.c
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2016-02-19 16:48:10 +0100
committerTimothy Pearson <tpearson@raptorengineering.com>2019-11-29 19:45:30 -0600
commit7fc49708cd97d1f1bf2d907d61abe4d98b8ef7f2 (patch)
tree0c8b5888932f9eed6eef8d3acbfb106e2a0817c4 /qemu-io.c
parent975e156b928e5003ba203e4cd136ecc3a7e410b6 (diff)
downloadhqemu-7fc49708cd97d1f1bf2d907d61abe4d98b8ef7f2.zip
hqemu-7fc49708cd97d1f1bf2d907d61abe4d98b8ef7f2.tar.gz
block: Fix -incoming with snapshot=on
The BDRV_O_INACTIVE flag should only be set for images explicitly opened by the user. snapshot=on needs to create a new qcow2 image and write some metadata to it. This is not a problem because it can't come from the source, so there's no reason to mark it as BDRV_O_INACTIVE, even though it is opened while waiting for the migration to complete. This fixes an assertion failure when -incoming and snapshot=on are combined. Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'qemu-io.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud