Kevin Wolf 12d5ee3a7e 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>
2016-02-22 09:49:46 +01:00
..
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-01-29 15:07:23 +00:00
2016-02-19 10:50:37 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-01-29 15:07:23 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-19 14:18:21 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-01-29 15:07:23 +00:00
2016-01-29 15:07:23 +00:00
2016-01-29 15:07:23 +00:00
2016-01-29 15:07:23 +00:00
2016-02-19 10:50:37 +00:00
2016-02-16 14:29:27 +00:00
2016-01-29 15:07:23 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00