/openbmc/qemu/hw/block/ |
H A D | xen-block.c | 285 blockdev->dataplane = NULL; in xen_block_unrealize() 307 XenBlockDevice *blockdev = opaque; in xen_block_resize_cb() local 311 xen_block_set_size(blockdev); in xen_block_resize_cb() 323 XenBlockDevice *blockdev = opaque; in xen_block_drained_begin() local 419 xen_block_set_size(blockdev); in xen_block_realize() 421 blockdev->dataplane = in xen_block_realize() 715 blockdev->device_type = "disk"; in xen_disk_realize() 754 blockdev->device_type = "cdrom"; in xen_cdrom_realize() 1036 XenBlockDevice *blockdev; in xen_block_device_create() local 1100 blockdev->iothread = iothread; in xen_block_device_create() [all …]
|
/openbmc/qemu/tests/qemu-iotests/ |
H A D | 267 | 110 run_test -blockdev driver=file,filename="$TEST_IMG",node-name=file 111 run_test -blockdev driver=file,filename="$TEST_IMG",node-name=file \ 112 -blockdev driver=$IMGFMT,file=file,node-name=fmt 113 run_test -blockdev driver=file,filename="$TEST_IMG",node-name=file \ 114 -blockdev driver=raw,file=file,node-name=raw \ 115 -blockdev driver=$IMGFMT,file=raw,node-name=fmt 121 run_test -blockdev driver=file,filename="$TEST_IMG",node-name=file \ 122 -blockdev driver=$IMGFMT,file=file,node-name=fmt \ 123 -blockdev driver=copy-on-read,file=fmt,node-name=filter 133 -blockdev driver=file,filename="$TEST_IMG",node-name=file \ [all …]
|
H A D | 247 | 70 -blockdev file,node-name=file-0,filename=$TEST_IMG.0,auto-read-only=on \ 71 -blockdev $IMGFMT,node-name=format-0,file=file-0,read-only=on \ 72 -blockdev file,node-name=file-1,filename=$TEST_IMG.1,auto-read-only=on \ 73 -blockdev $IMGFMT,node-name=format-1,file=file-1,read-only=on,backing=format-0 \ 74 -blockdev file,node-name=file-2,filename=$TEST_IMG.2,auto-read-only=on \ 75 -blockdev $IMGFMT,node-name=format-2,file=file-2,read-only=on,backing=format-1 \ 76 -blockdev file,node-name=file-3,filename=$TEST_IMG.3,auto-read-only=on \ 77 -blockdev $IMGFMT,node-name=format-3,file=file-3,read-only=on,backing=format-2 \ 78 -blockdev file,node-name=file-4,filename=$TEST_IMG.4,auto-read-only=on \ 79 -blockdev $IMGFMT,node-name=format-4,file=file-4,read-only=on,backing=format-3 |
|
H A D | 266.out | 2 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "file", "filen… 7 {"execute": "blockdev-add", "arguments": {"driver": "file", "filename": "TEST_DIR/PID-t.vpc", "node… 12 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "vpc", "file":… 24 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "file", "filen… 29 {"execute": "blockdev-add", "arguments": {"driver": "file", "filename": "TEST_DIR/PID-t.vpc", "node… 51 {"execute": "blockdev-add", "arguments": {"driver": "file", "filename": "TEST_DIR/PID-t.vpc", "node… 72 {"execute": "blockdev-add", "arguments": {"driver": "file", "filename": "TEST_DIR/PID-t.vpc", "node… 92 {"execute": "blockdev-add", "arguments": {"driver": "file", "filename": "TEST_DIR/PID-t.vpc", "node… 97 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "vpc", "file":… 114 {"execute": "blockdev-add", "arguments": {"driver": "file", "filename": "TEST_DIR/PID-t.vpc", "node… [all …]
|
H A D | 085.out | 15 { 'execute': 'blockdev-snapshot-sync', 24 { 'execute': 'blockdev-snapshot-sync', 31 { 'execute': 'blockdev-snapshot-sync', 157 { 'execute': 'blockdev-snapshot', 168 { 'execute': 'blockdev-snapshot', 175 { 'execute': 'blockdev-snapshot', 183 { 'execute': 'blockdev-snapshot', 187 { 'execute': 'blockdev-snapshot', 192 { 'execute': 'blockdev-snapshot', 200 { 'execute': 'blockdev-snapshot', [all …]
|
H A D | 232 | 127 run_qemu_info_block -blockdev driver=file,filename="$TEST_IMG",node-name=node0,read-only=on,auto-re… 128 run_qemu_info_block -blockdev driver=file,filename="$TEST_IMG",node-name=node0,read-only=on 132 run_qemu_info_block -blockdev driver=file,filename="$TEST_IMG",node-name=node0,read-only=off 134 run_qemu_info_block -blockdev driver=file,filename="$TEST_IMG",node-name=node0,auto-read-only=off 135 run_qemu_info_block -blockdev driver=file,filename="$TEST_IMG",node-name=node0,auto-read-only=on 136 run_qemu_info_block -blockdev driver=file,filename="$TEST_IMG",node-name=node0 146 run_qemu_info_block -blockdev driver=file,filename="$TEST_IMG",node-name=node0,read-only=on 150 run_qemu_info_block -blockdev driver=file,filename="$TEST_IMG",node-name=node0,read-only=off 152 run_qemu_info_block -blockdev driver=file,filename="$TEST_IMG",node-name=node0,auto-read-only=off 153 run_qemu_info_block -blockdev driver=file,filename="$TEST_IMG",node-name=node0,auto-read-only=on [all …]
|
H A D | 212.out | 3 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "file", "filen… 8 {"execute": "blockdev-add", "arguments": {"driver": "file", "filename": "TEST_DIR/PID-t.parallels",… 10 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "parallels", "… 21 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "file", "filen… 37 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "file", "filen… 53 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "parallels", "… 61 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "parallels", "… 72 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "parallels", "… 83 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "parallels", "… 95 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "parallels", "… [all …]
|
H A D | 213.out | 3 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "file", "filen… 8 {"execute": "blockdev-add", "arguments": {"driver": "file", "filename": "TEST_DIR/PID-t.vhdx", "nod… 10 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "vhdx", "file"… 22 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "file", "filen… 39 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "file", "filen… 56 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "vhdx", "file"… 64 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "vhdx", "file"… 76 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "vhdx", "file"… 94 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "vhdx", "file"… 100 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "vhdx", "file"… [all …]
|
H A D | 228.out | 3 {"execute": "blockdev-add", "arguments": {"driver": "IMGFMT", "file": {"driver": "file", "filename"… 10 {"execute": "blockdev-del", "arguments": {"node-name": "node0"}} 15 {"execute": "blockdev-add", "arguments": {"driver": "IMGFMT", "file": {"driver": "file", "filename"… 38 {"execute": "blockdev-del", "arguments": {"node-name": "node0"}} 47 {"execute": "blockdev-del", "arguments": {"node-name": "node0"}} 52 {"execute": "blockdev-add", "arguments": {"driver": "null-co", "node-name": "null"}} 61 {"execute": "blockdev-del", "arguments": {"node-name": "node0"}} 63 {"execute": "blockdev-del", "arguments": {"node-name": "null"}} 74 {"execute": "blockdev-snapshot", "arguments": {"node": "original-backing", "overlay": "node0"}} 81 {"execute": "blockdev-del", "arguments": {"node-name": "node0"}} [all …]
|
H A D | 237.out | 3 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "file", "filen… 8 {"execute": "blockdev-add", "arguments": {"driver": "file", "filename": "TEST_DIR/PID-t.vmdk", "nod… 10 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "vmdk", "file"… 30 === Successful image creation (inline blockdev-add, explicit defaults) === 32 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "file", "filen… 59 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "file", "filen… 86 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "vmdk", "file"… 96 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"adapter-type": "ide", "… 118 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"adapter-type": "foo", "… 121 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"adapter-type": "IDE", "… [all …]
|
H A D | 141.out | 4 {"execute": "blockdev-add", "arguments": {"driver": "IMGFMT", "file": {"driver": "file", "filename"… 8 {"execute": "blockdev-del", "arguments": {"node-name": "drv0"}} 13 {"execute": "blockdev-del", "arguments": {"node-name": "drv0"}} 22 {"execute": "blockdev-del", "arguments": {"node-name": "drv0"}} 27 {"execute": "blockdev-del", "arguments": {"node-name": "drv0"}} 36 {"execute": "blockdev-del", "arguments": {"node-name": "drv0"}} 41 {"execute": "blockdev-del", "arguments": {"node-name": "drv0"}} 49 {"execute": "blockdev-del", "arguments": {"node-name": "drv0"}} 54 {"execute": "blockdev-del", "arguments": {"node-name": "drv0"}} 62 {"execute": "blockdev-del", "arguments": {"node-name": "drv0"}} [all …]
|
H A D | 206.out | 3 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "file", "filen… 8 {"execute": "blockdev-add", "arguments": {"driver": "file", "filename": "TEST_DIR/PID-t.qcow2", "no… 10 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "qcow2", "file… 27 === Successful image creation (inline blockdev-add, explicit defaults) === 77 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "file", "filen… 157 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "qcow2", "file… 164 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "qcow2", "file… 170 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "qcow2", "file… 176 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "qcow2", "file… 182 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "qcow2", "file… [all …]
|
H A D | 225 | 86 _launch_qemu -blockdev "$base_opts" -blockdev "$overlay_opts" 99 _launch_qemu -blockdev "$not_base_opts" -blockdev "$overlay_opts" 121 _launch_qemu -blockdev "$not_vmdk_opts" -blockdev "$overlay_opts"
|
H A D | 211.out | 3 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "file", "filen… 8 {"execute": "blockdev-add", "arguments": {"driver": "file", "filename": "TEST_DIR/PID-t.vdi", "node… 10 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "vdi", "file":… 23 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "file", "filen… 41 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "file", "filen… 59 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "vdi", "file":… 67 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "vdi", "file":… 79 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "vdi", "file":… 91 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "vdi", "file":… 97 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "vdi", "file":… [all …]
|
H A D | 267.out | 78 === Simple -blockdev === 81 Testing: -blockdev driver=file,filename=TEST_DIR/t.IMGFMT,node-name=file 92 Testing: -blockdev driver=file,filename=TEST_DIR/t.IMGFMT,node-name=file -blockdev driver=IMGFMT,fi… 103 Testing: -blockdev driver=file,filename=TEST_DIR/t.IMGFMT,node-name=file -blockdev driver=raw,file=… 114 === -blockdev with a filter on top === 117 Testing: -blockdev driver=file,filename=TEST_DIR/t.IMGFMT,node-name=file -blockdev driver=IMGFMT,fi… 128 === -blockdev with a backing file === 132 … -blockdev driver=file,filename=TEST_DIR/t.IMGFMT.base,node-name=backing-file -blockdev driver=fil… 143 …blockdev driver=file,filename=TEST_DIR/t.IMGFMT.base,node-name=backing-file -blockdev driver=IMGFM… 159 === -blockdev with NBD server on the backing file === [all …]
|
H A D | 283.out | 1 {"execute": "blockdev-add", "arguments": {"driver": "null-co", "node-name": "target", "size": 10485… 3 {"execute": "blockdev-add", "arguments": {"driver": "blkdebug", "image": {"driver": "null-co", "nod… 5 {"execute": "blockdev-add", "arguments": {"driver": "blkdebug", "image": "base", "node-name": "othe… 7 {"execute": "blockdev-backup", "arguments": {"device": "source", "job-id": "backup0", "sync": "full… 12 {"execute": "blockdev-add", "arguments": {"driver": "null-co", "node-name": "source"}} 14 {"execute": "blockdev-add", "arguments": {"driver": "null-co", "node-name": "target"}} 16 {"execute": "blockdev-backup", "arguments": {"auto-dismiss": false, "auto-finalize": false, "device…
|
H A D | 273 | 64 -blockdev file,node-name=base,filename="$TEST_IMG.base" \ 65 -blockdev file,node-name=midf,filename="$TEST_IMG.mid" \ 66 -blockdev '{"driver":"qcow2","node-name":"mid","file":"midf","backing":null}' \ 67 -blockdev file,node-name=topf,filename="$TEST_IMG" \ 68 -blockdev '{"driver":"qcow2","file":"topf","node-name":"top","backing":null}' \
|
H A D | 207.out | 3 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "ssh", "locati… 21 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "ssh", "locati… 32 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "ssh", "locati… 43 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "ssh", "locati… 49 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "ssh", "locati… 60 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "ssh", "locati… 66 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "ssh", "locati… 77 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "ssh", "locati… 83 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "ssh", "locati… 94 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "ssh", "locati… [all …]
|
H A D | 185 | 241 --blockdev null-co,node-name=null,size=$size \ 242 --blockdev throttle,node-name=throttled,throttle-group=thrgr,file=null \ 253 --blockdev file,node-name=source-proto,filename="$TEST_IMG" \ 254 --blockdev qcow2,node-name=source-fmt,file=source-proto \ 256 --blockdev "{\"driver\": \"nbd\", 384 --blockdev "{\"driver\": \"nbd\", 391 --blockdev file,node-name=source-proto,filename="$TEST_IMG" \ 392 --blockdev qcow2,node-name=source-fmt,file=source-proto,backing=target \
|
H A D | 257.out | 6 {"execute": "blockdev-add", "arguments": {"driver": "qcow2", "file": {"driver": "file", "filename":… 482 {"execute": "blockdev-add", "arguments": {"driver": "qcow2", "file": {"driver": "file", "filename":… 751 {"execute": "blockdev-add", "arguments": {"driver": "qcow2", "file": {"driver": "file", "filename":… 1227 {"execute": "blockdev-add", "arguments": {"driver": "qcow2", "file": {"driver": "file", "filename":… 1496 {"execute": "blockdev-add", "arguments": {"driver": "qcow2", "file": {"driver": "file", "filename":… 1972 {"execute": "blockdev-add", "arguments": {"driver": "qcow2", "file": {"driver": "file", "filename":… 2241 {"execute": "blockdev-add", "arguments": {"driver": "qcow2", "file": {"driver": "file", "filename":… 2717 {"execute": "blockdev-add", "arguments": {"driver": "qcow2", "file": {"driver": "file", "filename":… 2986 {"execute": "blockdev-add", "arguments": {"driver": "qcow2", "file": {"driver": "file", "filename":… 3462 {"execute": "blockdev-add", "arguments": {"driver": "qcow2", "file": {"driver": "file", "filename":… [all …]
|
/openbmc/qemu/qapi/ |
H A D | pragma.json | 86 'blockdev-reopen', 93 'BlkdebugEvent', # blockdev-add, -blockdev 94 'BlkdebugSetStateOptions', # blockdev-add, -blockdev 100 'BlockdevAioOptions', # blockdev-add, -blockdev 101 'BlockdevDriver', # blockdev-add, query-blockstats, ... 102 'BlockdevVmdkAdapterType', # blockdev-create (to match VMDK spec) 103 'BlockdevVmdkSubformat', # blockdev-create (to match VMDK spec) 117 'SshHostKeyCheckMode', # blockdev-add, -blockdev
|
H A D | transaction.json | 58 # @blockdev-backup: Since 2.3 60 # @blockdev-snapshot: Since 2.5 62 # @blockdev-snapshot-internal-sync: Since 1.7 64 # @blockdev-snapshot-sync: since 1.1 71 # @blockdev-backup instead. 79 'blockdev-backup', 'blockdev-snapshot', 80 'blockdev-snapshot-internal-sync', 'blockdev-snapshot-sync', 176 'blockdev-backup': 'BlockdevBackupWrapper', 177 'blockdev-snapshot': 'BlockdevSnapshotWrapper', 178 'blockdev-snapshot-internal-sync': 'BlockdevSnapshotInternalWrapper', [all …]
|
H A D | block.json | 166 # -> { "execute": "blockdev-open-tray", 204 # -> { "execute": "blockdev-close-tray", 236 # -> { "execute": "blockdev-remove-medium", 242 # -> { "execute": "blockdev-open-tray", 254 # -> { "execute": "blockdev-remove-medium", 277 # -> { "execute": "blockdev-add", 285 # -> { "execute": "blockdev-insert-medium", 348 # -> { "execute": "blockdev-change-medium", 357 # -> { "execute": "blockdev-change-medium", 367 # -> { "execute": "blockdev-change-medium",
|
/openbmc/qemu/tests/qemu-iotests/tests/ |
H A D | qsd-jobs | 58 --blockdev node-name=file0,driver=file,filename="$TEST_IMG" \ 59 --blockdev node-name=fmt0,driver=qcow2,file=file0 <<EOF \ 72 --blockdev node-name=file_base,driver=file,filename="$TEST_IMG.base" \ 73 --blockdev node-name=fmt_base,driver=qcow2,file=file_base \ 74 --blockdev node-name=file_overlay,driver=file,filename="$TEST_IMG" \ 75 --blockdev node-name=fmt_overlay,driver=qcow2,file=file_overlay,backing=fmt_base \
|
/openbmc/qemu/include/hw/xen/ |
H A D | xen-block.h | 61 typedef void (*XenBlockDeviceRealize)(XenBlockDevice *blockdev, Error **errp); 62 typedef void (*XenBlockDeviceUnrealize)(XenBlockDevice *blockdev); 76 XenBlockDevice blockdev; member 83 XenBlockDevice blockdev; member
|