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: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
This commit is contained in:
parent
5feb08ed8f
commit
1f4c4d7361
@ -52,14 +52,14 @@ _send_qemu_cmd $QEMU_HANDLE \
|
|||||||
|
|
||||||
_send_qemu_cmd $QEMU_HANDLE \
|
_send_qemu_cmd $QEMU_HANDLE \
|
||||||
"{ 'execute': 'blockdev-add',
|
"{ 'execute': 'blockdev-add',
|
||||||
'arguments': { 'options': { 'id': 'protocol',
|
'arguments': { 'options': { 'node-name': 'protocol',
|
||||||
'driver': 'file',
|
'driver': 'file',
|
||||||
'filename': '$TEST_IMG' } } }" \
|
'filename': '$TEST_IMG' } } }" \
|
||||||
'return'
|
'return'
|
||||||
|
|
||||||
_send_qemu_cmd $QEMU_HANDLE \
|
_send_qemu_cmd $QEMU_HANDLE \
|
||||||
"{ 'execute': 'blockdev-add',
|
"{ 'execute': 'blockdev-add',
|
||||||
'arguments': { 'options': { 'id': 'format',
|
'arguments': { 'options': { 'node-name': 'format',
|
||||||
'driver': '$IMGFMT',
|
'driver': '$IMGFMT',
|
||||||
'file': 'protocol' } } }" \
|
'file': 'protocol' } } }" \
|
||||||
'return'
|
'return'
|
||||||
|
Loading…
Reference in New Issue
Block a user