iotests: 055: Don't attach the target image already for drive-backup
commit4797aeabdc61d7bbf9ef0cb9e25fb539912bb7f3
authorFam Zheng <famz@redhat.com>
Tue, 2 May 2017 16:35:44 +0000 (3 00:35 +0800)
committerKevin Wolf <kwolf@redhat.com>
Thu, 11 May 2017 09:08:40 +0000 (11 11:08 +0200)
tree46431fc921c1d0f6d5ed9921871b18e8bd97e8e9
parent55e5a3b65e3e8bdf2fe5e22bbd8c0c4023cef1c2
iotests: 055: Don't attach the target image already for drive-backup

Double attach is not a valid usage of the target image, drive-backup
will open the blockdev itself so skip the add_drive call in this case.

Signed-off-by: Fam Zheng <famz@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
tests/qemu-iotests/055