Lines Matching refs:cmd
68 def do_test_cancel(self, cmd, target): argument
72 self.vm.cmd(cmd, device='drive0', target=target, sync='full')
83 def do_test_pause(self, cmd, target, image): argument
87 self.vm.cmd(cmd, device='drive0',
101 self.vm.cmd('block-job-resume', device='drive0')
123 self.vm.cmd('blockdev-backup', job_id='job0', device='drive0',
136 self.vm.cmd('block_resize', device='drive1', size=size)
175 def do_test_device_not_found(self, cmd, **args): argument
176 result = self.vm.qmp(cmd, **args)
213 def do_test_set_speed(self, cmd, target): argument
217 self.vm.cmd(cmd, device='drive0', target=target, sync='full')
224 self.vm.cmd('block-job-set-speed', device='drive0', speed=8 * 1024 * 1024)
236 self.vm.cmd(cmd, device='drive0',
252 def do_test_set_speed_invalid(self, cmd, target): argument
255 result = self.vm.qmp(cmd, device='drive0',
262 self.vm.cmd(cmd, device='drive0',
297 def do_test_cancel(self, cmd, target): argument
300 self.vm.cmd('transaction', actions=[{
301 'type': cmd,
318 def do_test_pause(self, cmd, target, image): argument
321 self.vm.cmd('transaction', actions=[{
322 'type': cmd,
332 self.vm.cmd('block-job-set-speed', device='drive0', speed=0)
343 self.vm.cmd('block-job-resume', device='drive0')
357 def do_test_medium_not_found(self, cmd, target): argument
362 'type': cmd,
503 def do_test_compress_complete(self, cmd, attach_target, **args): argument
508 self.vm.cmd(cmd, device='drive0', sync='full', compress=True, **args)
527 def do_test_compress_cancel(self, cmd, attach_target, **args): argument
533 self.vm.cmd(cmd, device='drive0', sync='full', compress=True, **args)
549 def do_test_compress_pause(self, cmd, attach_target, **args): argument
555 self.vm.cmd(cmd, device='drive0', sync='full', compress=True, **args)
568 self.vm.cmd('block-job-resume', device='drive0')