diff options
author | Kevin Wolf <kwolf@redhat.com> | 2016-02-19 16:48:10 +0100 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2016-02-22 09:49:46 +0100 |
commit | 12d5ee3a7e83a42ba75a79b220a9db4dacd70a6e (patch) | |
tree | 213170f7769782df87cc56ed9bef124bf04efcd5 /tests/qemu-iotests/group | |
parent | bca5a8f4624f1859ad1a2b078e6b685456e6befd (diff) |
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 'tests/qemu-iotests/group')
-rw-r--r-- | tests/qemu-iotests/group | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/qemu-iotests/group b/tests/qemu-iotests/group index 65df029d7d..47fd40c546 100644 --- a/tests/qemu-iotests/group +++ b/tests/qemu-iotests/group @@ -147,3 +147,4 @@ 142 auto 143 auto quick 144 rw auto quick +145 auto quick |