projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f4c4d7
)
qemu-iotests/118: Avoid blockdev-add with id
author
Kevin Wolf
<kwolf@redhat.com>
Wed, 21 Sep 2016 12:56:06 +0000
(14:56 +0200)
committer
Kevin Wolf
<kwolf@redhat.com>
Fri, 23 Sep 2016 11:45:36 +0000
(13:45 +0200)
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>
tests/qemu-iotests/118
patch
|
blob
|
history
diff --git
a/tests/qemu-iotests/118
b/tests/qemu-iotests/118
index 0380069ef6867ddb57bda9932a3c845a1793ba25..e63a40fa946a268a8be765c4a86a5d070bc2c2ab 100755
(executable)
--- a/
tests/qemu-iotests/118
+++ b/
tests/qemu-iotests/118
@@
-648,13
+648,9
@@
class TestBlockJobsAfterCycle(ChangeBaseClass):
qemu_img('create', '-f', iotests.imgfmt, old_img, '1M')
self.vm = iotests.VM()
+ self.vm.add_drive_raw("id=drive0,driver=null-co,if=none")
self.vm.launch()
- result = self.vm.qmp('blockdev-add',
- options={'id': 'drive0',
- 'driver': 'null-co'})
- self.assert_qmp(result, 'return', {})
-
result = self.vm.qmp('query-block')
self.assert_qmp(result, 'return[0]/inserted/image/format', 'null-co')