Lines Matching full:drive

147                               "   'drive': 'drive0',"  in device_add()
175 /* Start with an empty drive */ in test_drive_without_dev()
176 qts = qtest_init("-drive if=none,id=drive0 -M none"); in test_drive_without_dev()
178 /* Delete the drive */ in test_drive_without_dev()
181 /* Ensure re-adding the drive works - there should be no duplicate ID error in test_drive_without_dev()
182 * because the old drive must be gone. in test_drive_without_dev()
203 qts = qtest_init("-drive if=none,id=drive0"); in test_after_failed_device_add()
211 " 'drive': 'drive0'" in test_after_failed_device_add()
216 /* Delete the drive */ in test_after_failed_device_add()
219 /* Try to re-add the drive. This fails with duplicate IDs if a leaked in test_after_failed_device_add()
236 /* Start with a drive used by a device that unplugs instantaneously */ in test_drive_del_device_del()
237 qts = qtest_initf("-drive if=none,id=drive0,file=null-co://," in test_drive_del_device_del()
240 " -device scsi-hd,drive=drive0,id=dev0", in test_drive_del_device_del()
244 * Delete the drive, and then the device in test_drive_del_device_del()
270 * -drive/-device and device_del. Start with a drive used by a in test_cli_device_del()
273 qts = qtest_initf("%s -drive if=none,id=drive0,file=null-co://," in test_cli_device_del()
275 " -device virtio-blk-%s,drive=drive0,id=dev0", in test_cli_device_del()
295 * -drive/-device and device_del. Start with a drive used by a in test_cli_device_del_q35()
298 qts = qtest_initf("-drive if=none,id=drive0,file=null-co://," in test_cli_device_del_q35()
302 "-device virtio-blk-%s,drive=drive0,bus=b1,id=dev0", in test_cli_device_del_q35()
320 /* device_del with no drive plugged. */ in test_empty_device_del()
344 * -drive/device_add and device_del. Start with a drive used by a in test_device_add_and_del()
347 qts = qtest_initf("%s -drive if=none,id=drive0,file=null-co://," in test_device_add_and_del()
365 " 'drive': 'drive0'," in device_add_q35()
384 * -drive/device_add and device_del. Start with a drive used by a in test_device_add_and_del_q35()
389 "-drive if=none,id=drive0,file=null-co://," in test_device_add_and_del_q35()
417 * drive_add/device_add and device_del. The drive is used by a in test_drive_add_device_add_and_del()
441 * drive_add/device_add and device_del. The drive is used by a in test_drive_add_device_add_and_del_q35()
470 * blockdev_add/device_add and device_del. The drive is used by a in test_blockdev_add_device_add_and_del()
494 * blockdev_add/device_add and device_del. The drive is used by a in test_blockdev_add_device_add_and_del_q35()
516 qtest_add_func("/device_del/drive/cli_device", in main()
518 qtest_add_func("/device_del/drive/device_add", in main()
520 qtest_add_func("/device_del/drive/drive_add_device_add", in main()
528 qtest_add_func("/device_del/drive/cli_device_q35", in main()
530 qtest_add_func("/device_del/drive/device_add_q35", in main()
532 qtest_add_func("/device_del/drive/drive_add_device_add_q35", in main()