Home
last modified time | relevance | path

Searched refs:drive (Results 1 – 25 of 169) sorted by relevance

1234567

/qemu/tests/qemu-iotests/
H A D172130 check_floppy_qtree -drive if=none,file="$TEST_IMG" -device floppy,drive=none0
131 check_floppy_qtree -drive if=none,file="$TEST_IMG" -device floppy,drive=none0,unit=1
132 check_floppy_qtree -drive if=none,file="$TEST_IMG" -drive if=none,file="$TEST_IMG.2" \
133 -device floppy,drive=none0 -device floppy,drive=none1,unit=1
162 check_floppy_qtree -drive if=floppy,file="$TEST_IMG" -drive if=none,file="$TEST_IMG.2" -device flop…
163 check_floppy_qtree -drive if=floppy,file="$TEST_IMG" -drive if=none,file="$TEST_IMG.2" -device flop…
166 check_floppy_qtree -drive if=floppy,file="$TEST_IMG" -drive if=none,file="$TEST_IMG.2" -device flop…
178 -global floppy.drive=none0 -device floppy,drive=none1,unit=0
185 check_floppy_qtree -drive if=none -device floppy,drive=none0 -device floppy -device floppy,drive=no…
217 check_floppy_qtree -drive if=none,file="$TEST_IMG" -device floppy,drive=none0,drive-type=120
[all …]
H A D142238 …echo "$hmp_cmds" | run_qemu -drive "$drv_bkfile" -drive "$drv_bk" -drive "$drv_file" -drive "$drv_…
240 …echo "$hmp_cmds" | run_qemu -drive "$drv_bkfile" -drive "$drv_bk" -drive "$drv_file",cache.direct=…
242 …echo "$hmp_cmds" | run_qemu -drive "$drv_bkfile" -drive "$drv_bk",cache.direct=on -drive "$drv_fil…
244 …echo "$hmp_cmds" | run_qemu -drive "$drv_bkfile",cache.direct=on -drive "$drv_bk" -drive "$drv_fil…
249 …echo "$hmp_cmds" | run_qemu -drive "$drv_bkfile" -drive "$drv_bk" -drive "$drv_file" -drive "$drv_…
251 …echo "$hmp_cmds" | run_qemu -drive "$drv_bkfile" -drive "$drv_bk" -drive "$drv_file",cache.writeba…
253 …echo "$hmp_cmds" | run_qemu -drive "$drv_bkfile" -drive "$drv_bk",cache.writeback=off -drive "$drv…
260 …echo "$hmp_cmds" | run_qemu -drive "$drv_bkfile" -drive "$drv_bk" -drive "$drv_file" -drive "$drv_…
262 …echo "$hmp_cmds" | run_qemu -drive "$drv_bkfile" -drive "$drv_bk" -drive "$drv_file",cache.no-flus…
264 …echo "$hmp_cmds" | run_qemu -drive "$drv_bkfile" -drive "$drv_bk",cache.no-flush=on -drive "$drv_f…
[all …]
H A D051171 run_qemu -drive if=ide
177 run_qemu -drive if=virtio
181 run_qemu -drive if=none,id=disk -device ide-cd,drive=disk
182 run_qemu -drive if=none,id=disk -device lsi53c895a -device scsi-cd,drive=disk
183 run_qemu -drive if=none,id=disk -device ide-hd,drive=disk
184 run_qemu -drive if=none,id=disk -device lsi53c895a -device scsi-hd,drive=disk
273 run_qemu -drive driver=file
275 run_qemu -drive driver=nbd
276 run_qemu -drive driver=raw
280 run_qemu -drive foo=bar
[all …]
H A D051.pc.out135 Testing: -drive if=floppy
143 Testing: -drive if=ide
147 Testing: -drive if=virtio
149 QEMU_PROG: -drive if=virtio: Device needs media, but drive is empty
151 Testing: -drive if=none,id=disk -device ide-cd,drive=disk
155 Testing: -drive if=none,id=disk -device lsi53c895a -device scsi-cd,drive=disk
159 Testing: -drive if=none,id=disk -device ide-hd,drive=disk
161 QEMU_PROG: -device ide-hd,drive=disk: Device needs media, but drive is empty
163 Testing: -drive if=none,id=disk -device lsi53c895a -device scsi-hd,drive=disk
165 QEMU_PROG: -device scsi-hd,drive=disk: Device needs media, but drive is empty
[all …]
H A D172.out392 Testing: -drive if=none,file=TEST_DIR/t.qcow2 -device floppy,drive=none0
470 Testing: -drive if=none,file=TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -device floppy…
532 QEMU_PROG: -global floppy.drive=... conflicts with drive=floppy0
778 Testing: -drive if=floppy,file=TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -device flop…
939 Testing: -drive if=none,file=TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -global floppy…
940 QEMU_PROG: -device floppy,drive=none1,unit=0: -global floppy.drive=... conflicts with drive=none1
945 Testing: -drive if=none -device floppy,drive=none0 -device floppy -device floppy,drive=none0
955 QEMU_PROG: -global floppy.drive=... conflicts with drive=floppy0
963drive if=floppy,file=TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -drive if=none,file=T…
1076 Testing: -drive if=none,file=TEST_DIR/t.qcow2 -device floppy,drive=none0,drive-type=120
[all …]
H A D186103 …check_info_block -drive if=none,driver=null-co,read-zeroes=on,node-name=null -device $dev,drive=nu…
111 …check_info_block -drive if=none,driver=null-co,read-zeroes=on,node-name=null -device $dev,drive=no…
112 …check_info_block -drive if=none,driver=null-co,read-zeroes=on,node-name=null -device $dev,drive=no…
119 check_info_block -drive if=none
122 check_info_block -drive if=none -device $dev,drive=none0
123 check_info_block -drive if=none -device $dev,drive=none0,id=qdev_id
130 check_info_block -drive if=floppy
131 check_info_block -drive if=floppy,driver=null-co,read-zeroes=on
133 check_info_block -drive if=ide,driver=null-co,read-zeroes=on
134 check_info_block -drive if=ide,media=cdrom
[all …]
H A D051.out73 === Device without drive ===
135 Testing: -drive if=virtio
137 QEMU_PROG: -drive if=virtio: Device needs media, but drive is empty
248 Testing: -drive driver=file
254 Testing: -drive driver=nbd
257 Testing: -drive driver=raw
260 Testing: -drive file.driver=file
263 Testing: -drive file.driver=nbd
266 Testing: -drive file.driver=raw
269 Testing: -drive foo=bar
[all …]
H A D12453 def __init__(self, name, drive): argument
55 self.drive = drive
60 return (self.drive['backup'], None)
181 if drive is None:
182 drive = self.drives[-1]
185 format=drive['fmt'], target=drive['backup'])
187 self.files.append(drive['backup'])
188 return drive['backup']
202 bitmap = Bitmap(name, drive)
252 def hmp_io_writes(self, drive, patterns): argument
[all …]
H A D186.out240 Testing: -drive if=none,driver=null-co,read-zeroes=on,node-name=null -device ide-hd,drive=none0
288 Testing: -drive if=none,driver=null-co,read-zeroes=on,node-name=null -device floppy,drive=none0
345 Testing: -drive if=none
352 Testing: -drive if=none -device floppy,drive=none0
360 Testing: -drive if=none -device floppy,drive=none0,id=qdev_id
368 Testing: -drive if=none -device ide-cd,drive=none0
376 Testing: -drive if=none -device ide-cd,drive=none0,id=qdev_id
384 Testing: -drive if=none -device scsi-cd,drive=none0
392 Testing: -drive if=none -device scsi-cd,drive=none0,id=qdev_id
401 === -drive if=... ===
[all …]
H A D23291 run_qemu_info_block -drive driver=file,file="$TEST_IMG",if=none,read-only=on,auto-read-only=on
92 run_qemu_info_block -drive driver=file,file="$TEST_IMG",if=none,read-only=on
96 run_qemu_info_block -drive driver=file,file="$TEST_IMG",if=none,read-only=off
98 run_qemu_info_block -drive driver=file,file="$TEST_IMG",if=none,auto-read-only=off
99 run_qemu_info_block -drive driver=file,file="$TEST_IMG",if=none,auto-read-only=on
100 run_qemu_info_block -drive driver=file,file="$TEST_IMG",if=none
110 run_qemu_info_block -drive driver=file,file="$TEST_IMG",if=none,read-only=on
114 run_qemu_info_block -drive driver=file,file="$TEST_IMG",if=none,read-only=off
116 run_qemu_info_block -drive driver=file,file="$TEST_IMG",if=none,auto-read-only=off
117 run_qemu_info_block -drive driver=file,file="$TEST_IMG",if=none,auto-read-only=on
[all …]
H A D24046 self.vm.qmp_log('device_add', id='scsi-hd0', driver='scsi-hd', drive='hd0')
49 self.vm.qmp_log('device_add', id='scsi-hd0', driver='scsi-hd', drive='hd0')
60 self.vm.qmp_log('device_add', id='scsi-hd0', driver='scsi-hd', drive='hd0')
61 self.vm.qmp_log('device_add', id='scsi-hd1', driver='scsi-hd', drive='hd0')
79 self.vm.qmp_log('device_add', id='scsi-hd0', driver='scsi-hd', drive='hd0', bus="scsi0.0")
80 self.vm.qmp_log('device_add', id='scsi-hd1', driver='scsi-hd', drive='hd0', bus="scsi1.0")
84 self.vm.qmp_log('device_add', id='scsi-hd1', driver='scsi-hd', drive='hd0', bus="scsi1.0")
103 self.vm.qmp_log('device_add', id='scsi-hd0', driver='scsi-hd', drive='hd0')
H A D257200 target_drive = Drive(filepath, vm=drive.vm)
201 target_drive.create_target(target_id, drive.fmt, drive.size)
202 blockdev_backup(drive.vm, drive.node, target_id, sync, **kwargs)
204 def reference_backup(drive, n, filepath): argument
208 blockdev_backup_mktarget(drive, target_id, filepath, "full",
210 drive.vm.run_job(job_id, auto_dismiss=True)
213 def backup(drive, n, filepath, sync, **kwargs): argument
218 blockdev_backup_mktarget(drive, target_id, filepath, sync,
222 def perform_writes(drive, n, filter_node_name=None): argument
230 log(drive.vm.hmp_qemu_io(filter_node_name or drive.node, cmd))
[all …]
H A D18252 _launch_qemu -drive file=$TEST_IMG,if=none,id=drive0,file.locking=on \
53 -device virtio-blk,drive=drive0
58 -drive file=$TEST_IMG,if=none,id=drive0,file.locking=on \
59 -device virtio-blk,drive=drive0 2>&1 | _filter_testdir 2>&1 |
151 _launch_qemu -drive file=$TEST_IMG,if=none,file.locking=on
H A D240.out8 {"execute": "device_add", "arguments": {"drive": "hd0", "driver": "scsi-hd", "id": "scsi-hd0"}}
12 {"execute": "device_add", "arguments": {"drive": "hd0", "driver": "scsi-hd", "id": "scsi-hd0"}}
25 {"execute": "device_add", "arguments": {"drive": "hd0", "driver": "scsi-hd", "id": "scsi-hd0"}}
27 {"execute": "device_add", "arguments": {"drive": "hd0", "driver": "scsi-hd", "id": "scsi-hd1"}}
46 {"execute": "device_add", "arguments": {"bus": "scsi0.0", "drive": "hd0", "driver": "scsi-hd", "id"…
48 {"execute": "device_add", "arguments": {"bus": "scsi1.0", "drive": "hd0", "driver": "scsi-hd", "id"…
52 {"execute": "device_add", "arguments": {"bus": "scsi1.0", "drive": "hd0", "driver": "scsi-hd", "id"…
69 {"execute": "device_add", "arguments": {"drive": "hd0", "driver": "scsi-hd", "id": "scsi-hd0"}}
H A D20162 -drive "${TEST_IMG}",cache=${CACHEMODE},aio=$AIOMODE,id=disk
65 -drive file="${TEST_IMG}",cache=${CACHEMODE},aio=$AIOMODE,driver=$IMGFMT,id=disk
71 -drive "${TEST_IMG}",cache=${CACHEMODE},aio=$AIOMODE,id=disk \
75 -drive file="${TEST_IMG}",cache=${CACHEMODE},aio=$AIOMODE,driver=$IMGFMT,id=disk \
H A D06583 drive = next(drive for drive in result if drive['device'] == 'drive0')
84 data = drive['inserted']['image']['format-specific']
H A D18564 -drive file="${TEST_IMG}.base",cache=$CACHEMODE,aio=$AIOMODE,driver=$IMGFMT,id=disk
135 -drive file="${TEST_IMG}",cache=$CACHEMODE,aio=$AIOMODE,driver=$IMGFMT,id=disk
157 -drive file="${TEST_IMG}",cache=$CACHEMODE,aio=$AIOMODE,driver=$IMGFMT,id=disk
182 -drive file="${TEST_IMG}",cache=$CACHEMODE,aio=$AIOMODE,driver=$IMGFMT,id=disk
207 -drive file="${TEST_IMG}",cache=$CACHEMODE,aio=$AIOMODE,driver=$IMGFMT,id=disk
255 --device virtio-blk,id=vblk,drive=source-fmt \
393 --device virtio-blk,id=vblk,drive=source-fmt
/qemu/tests/avocado/
H A Dtuxrun_baselines.py115 def prepare_run(self, kernel, disk, drive, dtb=None, console_index=0): argument
171 drive="virtio-blk-device", argument
181 self.prepare_run(kernel, disk, drive, dtb, console_index)
241 self.common_tuxrun(csums=sums, drive="scsi-hd")
301 drive="virtio-blk-pci",
353 self.common_tuxrun(csums=sums, drive="virtio-blk-pci")
371 self.common_tuxrun(csums=sums, drive="driver=ide-hd,bus=ide.0,unit=0")
388 self.common_tuxrun(csums=sums, drive="driver=ide-hd,bus=ide.0,unit=0")
437 self.common_tuxrun(csums=sums, drive="virtio-blk-pci")
550 drive="virtio-blk-ccw",
[all …]
/qemu/hw/block/
H A Dxen-block.c864 g_free(drive->id); in xen_block_drive_destroy()
865 g_free(drive); in xen_block_drive_destroy()
912 drive->id = g_strdup(id); in xen_block_drive_create()
968 drive->node_name = xen_block_blockdev_add(drive->id, driver_layer, in xen_block_drive_create()
981 return drive; in xen_block_drive_create()
986 return drive->node_name ? drive->node_name : ""; in xen_block_drive_get_node_name()
1067 if (!drive) { in xen_block_device_create()
1101 blockdev->drive = drive; in xen_block_device_create()
1120 if (drive) { in xen_block_device_create()
1132 XenBlockDrive *drive = blockdev->drive; in xen_block_device_destroy() local
[all …]
H A Dswim.c146 static void fd_recalibrate(FDrive *drive) in fd_recalibrate() argument
152 FDrive *drive = opaque; in swim_change_cb() local
179 FDrive *drive; in swim_drive_realize() local
184 drive = &bus->ctrl->drives[dev->unit]; in swim_drive_realize()
185 if (!drive->blk) { in swim_drive_realize()
197 drive = &bus->ctrl->drives[dev->unit]; in swim_drive_realize()
198 if (drive->blk) { in swim_drive_realize()
250 drive->conf = &dev->conf; in swim_drive_realize()
251 drive->blk = dev->conf.blk; in swim_drive_realize()
252 drive->swimctrl = bus->ctrl; in swim_drive_realize()
[all …]
H A Dfdc.c148 switch (drive) { in drive_size()
160 #define SET_CUR_DRV(fdctrl, drive) ((fdctrl)->cur_drv = (drive)) argument
324 if (magic || parse->drive == drv->drive) { in pick_geometry()
335 if ((parse->drive == drv->drive) || in pick_geometry()
470 FDrive *drive; in floppy_drive_realize() local
546 fd_init(drive); in floppy_drive_realize()
547 blk_set_dev_ops(drive->blk, &fd_block_ops, drive); in floppy_drive_realize()
550 drive->drive = dev->type; in floppy_drive_realize()
552 dev->type = drive->drive; in floppy_drive_realize()
849 return (drive->blk != NULL && drive->media_changed != 1); in fdrive_media_changed_needed()
[all …]
/qemu/tests/qtest/
H A Dfdc-test.c119 uint8_t drive = 0; in send_read_command() local
134 floppy_send(head << 2 | drive); in send_read_command()
175 uint8_t drive = 0; in send_read_no_dma_command() local
190 floppy_send(head << 2 | drive); in send_read_no_dma_command()
249 int drive = 0; in send_seek() local
253 floppy_send(head << 2 | drive); in send_seek()
360 int drive = 0; in test_sense_interrupt() local
370 floppy_send(head << 2 | drive); in test_sense_interrupt()
382 uint8_t drive = 0; in test_relative_seek() local
392 floppy_send(head << 2 | drive); in test_relative_seek()
[all …]
/qemu/docs/system/ppc/
H A Dpowernv.rst90 -drive file=./ubuntu-ppc64le.qcow2,if=none,id=drive0,format=qcow2,cache=none \
91 -device ide-hd,bus=sata0.0,unit=0,drive=drive0,id=ide,bootindex=1 \
106 -drive file=./ubuntu-ppc64le.qcow2,if=none,id=drive-scsi0-0-0-0,format=qcow2,cache=none
107 …-device scsi-hd,bus=scsi0.0,channel=0,scsi-id=0,lun=0,drive=drive-scsi0-0-0-0,id=scsi0-0-0-0,booti…
118 -drive file=./rhel7-ppc64le.qcow2,if=none,id=drive-scsi0-0-0-0,format=qcow2,cache=none \
119 …-device scsi-hd,bus=scsi0.0,channel=0,scsi-id=0,lun=0,drive=drive-scsi0-0-0-0,id=scsi0-0-0-0,booti…
125 -device ide-hd,bus=sata0.0,unit=0,drive=drive0,id=ide,bootindex=1 \
136 -drive file=./fedora-ppc64le.qcow2,if=none,snapshot=on,id=drive0 \
137 -device virtio-blk-pci,drive=drive0,id=blk0,bus=pcie.0 \
192 Use a MTD drive to add a PNOR to the machine, and get a NVRAM :
[all …]
/qemu/docs/system/
H A Ddevice-url-syntax.rst.inc30 -drive file=iscsi://192.0.2.1/iqn.2001-04.com.example/1
36 |qemu_system| -drive file=iscsi://user%password@192.0.2.1/iqn.2001-04.com.example/1
44 |qemu_system| -drive file=iscsi://192.0.2.1/iqn.2001-04.com.example/1
67 |qemu_system| --drive file=nbd:192.0.2.1:30000
73 |qemu_system| --drive file=nbd:unix:/tmp/nbd-socket
82 |qemu_system| -drive file=ssh://user@host/path/to/disk.img
83 …|qemu_system| -drive file.driver=ssh,file.user=user,file.host=host,file.port=22,file.path=/path/to…
110 |qemu_system| --drive file=gluster://192.0.2.1/testvol/a.img,
120 … |qemu_system| -drive driver=qcow2,file.driver=gluster,file.volume=testvol,file.path=/path/a.img,
200 |qemu_system_x86| -drive file=/tmp/Fedora-x86_64-20-20131211.1-sda.qcow2,copy-on-read=on
[all …]
/qemu/docs/
H A Dthrottle.txt32 | -drive | block_set_io_throttle |
51 of 100 IOPS with the following -drive line:
53 -drive file=hd0.qcow2,throttling.iops-total=100
91 -drive file=hd0.qcow2,
125 | -drive | block_set_io_throttle |
184 -drive file=hd6.qcow2,throttling.iops-total=5000
204 drive. If the drive is not in a group yet, it will be added to a
326 -drive driver=throttle,throttle-group=group0,
347 -drive driver=throttle,throttle-group=limits012,
350 -drive driver=throttle,throttle-group=limits012,
[all …]

1234567