Commit 1f4c4d73 authored by Kevin Wolf's avatar Kevin Wolf
Browse files

qemu-iotests/117: Avoid blockdev-add with id



We want to remove the 'id' option for blockdev-add. This removes one
user of the option and makes it use only node names.

Signed-off-by: default avatarKevin Wolf <kwolf@redhat.com>
Reviewed-by: default avatarEric Blake <eblake@redhat.com>
parent 5feb08ed
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -52,14 +52,14 @@ _send_qemu_cmd $QEMU_HANDLE \

_send_qemu_cmd $QEMU_HANDLE \
    "{ 'execute': 'blockdev-add',
       'arguments': { 'options': { 'id': 'protocol',
       'arguments': { 'options': { 'node-name': 'protocol',
                                   'driver': 'file',
                                   'filename': '$TEST_IMG' } } }" \
    'return'

_send_qemu_cmd $QEMU_HANDLE \
    "{ 'execute': 'blockdev-add',
       'arguments': { 'options': { 'id': 'format',
       'arguments': { 'options': { 'node-name': 'format',
                                   'driver': '$IMGFMT',
                                   'file': 'protocol' } } }" \
    'return'