Lines Matching refs:vm
32 def blockdev_create(vm, options): argument
33 error = vm.blockdev_create(options)
38 iotests.VM() as vm:
48 vm.launch()
49 blockdev_create(vm, { 'driver': 'file',
53 vm.qmp_log('blockdev-add', driver='file', filename=disk_path,
56 blockdev_create(vm, { 'driver': imgfmt,
59 vm.shutdown()
72 vm.launch()
73 blockdev_create(vm, { 'driver': 'file',
76 blockdev_create(vm, { 'driver': imgfmt,
83 vm.shutdown()
96 vm.launch()
97 blockdev_create(vm, { 'driver': 'file',
100 blockdev_create(vm, { 'driver': imgfmt,
107 vm.shutdown()
118 vm.launch()
119 blockdev_create(vm, { 'driver': imgfmt,
122 vm.shutdown()
130 vm.add_blockdev('driver=file,filename=%s,node-name=node0' % (disk_path))
131 vm.launch()
132 blockdev_create(vm, { 'driver': imgfmt,
135 vm.shutdown()
145 vm.launch()
146 blockdev_create(vm, { 'driver': imgfmt,
149 vm.shutdown()
168 vm.launch()
170 blockdev_create(vm, { 'driver': imgfmt,
173 vm.shutdown()