qemu-iotests/118: Test media change with qdev name
commit486b88bdc87eb70d26428624a1669824e093c861
authorKevin Wolf <kwolf@redhat.com>
Tue, 20 Sep 2016 11:38:49 +0000 (20 13:38 +0200)
committerKevin Wolf <kwolf@redhat.com>
Fri, 23 Sep 2016 11:45:35 +0000 (23 13:45 +0200)
treebd273be4473f30530ba20f53f5b416550dbab092
parent7a9877a0263561f11bae116a7639eec53a625807
qemu-iotests/118: Test media change with qdev name

We just added the option to use qdev device names in all device related
block QMP commands. This patch converts some of the test cases in 118 to
use qdev device names instead of BlockBackend names to cover the new
way. It converts cases for each of the media change commands, but only
for CD-ROM and not everywhere, so that the old way is still tested, too.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
tests/qemu-iotests/118
tests/qemu-iotests/iotests.py