/qemu/tests/qemu-iotests/tests/ |
H A D | inactive-node-nbd.out | 1 Preparing disk... 9 disk-fmt active: False 10 {"execute": "block-export-add", "arguments": {"id": "exp0", "node-name": "disk-fmt", "type": "nbd",… 12 disk-fmt active: True 14 {"return": [{"id": "exp0", "node-name": "disk-fmt", "shutting-down": false, "type": "nbd"}]} 21 {"execute": "blockdev-set-active", "arguments": {"active": false, "node-name": "disk-fmt"}} 23 disk-fmt active: False 24 …-add", "arguments": {"allow-inactive": false, "id": "exp0", "node-name": "disk-fmt", "type": "nbd"… 26 disk-fmt active: True 28 {"return": [{"id": "exp0", "node-name": "disk-fmt", "shutting-down": false, "type": "nbd"}]} [all …]
|
H A D | nbd-multiconn | 29 disk = os.path.join(iotests.test_dir, 'disk') variable 46 qemu_img_create('-f', iotests.imgfmt, disk, size) 47 qemu_io('-c', 'w -P 1 0 2M', '-c', 'w -P 2 2M 2M', disk) 54 'file': {'driver': 'file', 'filename': disk} 59 os.remove(disk)
|
/qemu/tests/qemu-iotests/ |
H A D | 185.out | 12 'arguments': { 'device': 'disk', 20 'qemu-io disk "write 0 4M"' } } 25 'arguments': { 'device': 'disk', 35 'arguments': { 'device': 'disk', 39 …roseconds": TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "created", "id": "disk"}} 40 …roseconds": TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "running", "id": "disk"}} 44 …croseconds": TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "paused", "id": "disk"}} 45 …roseconds": TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "running", "id": "disk"}} 46 …croseconds": TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "paused", "id": "disk"}} 47 …roseconds": TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "running", "id": "disk"}} [all …]
|
H A D | 242 | 32 disk = file_path('disk') variable 41 img_info_log(disk, extra_args=extra_args) 42 result = qemu_img_info('--force-share', disk) 54 vm = iotests.VM().add_drive(disk) 64 qemu_io_log('-c', write, disk) 68 with open(disk, "r+b") as f: 77 qemu_img_create('-f', iotests.imgfmt, disk, '1M') 89 vm = iotests.VM().add_drive(disk) 98 qemu_img_create('-f', iotests.imgfmt, disk, '1M') 103 img_info_log(disk, check=False) [all …]
|
H A D | 298 | 25 disk = os.path.join(iotests.test_dir, 'disk') variable 35 iotests.qemu_img_create('-f', iotests.imgfmt, disk, str(10 * MiB)) 40 check = iotests.qemu_img_check(disk) 45 os.remove(disk) 48 self.assertTrue(os.path.getsize(disk) > 100 * MiB) 51 self.assertTrue(os.path.getsize(disk) < 10 * MiB) 110 'filename': disk 116 self.assertTrue(os.path.getsize(disk) == 25 * MiB) 121 iotests.qemu_img_create('-f', iotests.imgfmt, disk, str(10 * MiB)) 125 os.remove(disk) [all …]
|
H A D | 196 | 27 disk = os.path.join(iotests.test_dir, 'disk') variable 35 os.remove(disk) 39 qemu_img('create', '-f', iotests.imgfmt, disk, '1M') 41 self.vm_a = iotests.VM(path_suffix='a').add_drive(disk) 44 self.vm_b = iotests.VM(path_suffix='b').add_drive(disk) 51 with open(disk, 'r+b') as f: 61 with open(disk, 'rb') as f:
|
H A D | 243.out | 32 qcow2 disk usage: low 33 data disk usage: low 40 qcow2 disk usage: low 41 data disk usage: low 48 qcow2 disk usage: low 49 data disk usage: high 56 qcow2 disk usage: low 57 data disk usage: high
|
H A D | 051 | 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 199 run_qemu $iothread -device ide-hd,drive=disk,share-rw=on 200 run_qemu $iothread -device virtio-blk-pci,drive=disk,share-rw=on 201 … run_qemu $iothread -device lsi53c895a,id=lsi0 -device scsi-hd,bus=lsi0.0,drive=disk,share-rw=on 202 …hread -device virtio-scsi,id=virtio-scsi1 -device scsi-hd,bus=virtio-scsi1.0,drive=disk,share-rw=on 207 run_qemu $iothread -device virtio-blk-pci,drive=disk,iothread=thread0,share-rw=on 208 …tio-scsi,id=virtio-scsi1,iothread=thread0 -device scsi-hd,bus=virtio-scsi1.0,drive=disk,share-rw=on [all …]
|
H A D | 303 | 31 disk = file_path('disk') variable 39 disk, bitmap_name] 48 qemu_io_log('-c', write, disk) 62 disk, '10M') 66 cmd = ['./qcow2.py', disk, 'dump-header']
|
H A D | 209 | 28 disk = file_path('disk') variable 32 qemu_img_create('-f', iotests.imgfmt, disk, '1M') 33 qemu_io('-f', iotests.imgfmt, '-c', 'write 0 512K', disk) 35 qemu_nbd('-k', nbd_sock, '-x', 'exp', '-f', iotests.imgfmt, disk)
|
H A D | 165 | 27 disk = os.path.join(iotests.test_dir, 'disk') variable 40 qemu_img('create', '-f', iotests.imgfmt, disk, str(disk_size)) 43 os.remove(disk) 46 return iotests.VM().add_drive(disk, opts='node-name=node0') 49 return iotests.VM().add_drive(disk, opts='readonly=on,node-name=node0') 142 'filename': disk
|
H A D | 302 | 116 disk = tarfile.TarInfo("disk") variable 117 disk.size = actual_size 122 buf = disk.tobuf(tar.format, tar.encoding, tar.errors) 124 tar.members.append(disk) 128 tar.offset = offset + (disk.size + 511) & ~511
|
H A D | 201 | 62 -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 D | 302.out | 6 disk size: unavailable 11 disk size: unavailable 31 === Comparing to source disk === 36 [{"name": "vm.ovf", "offset": 512, "size": 6}, {"name": "disk", "offset": 1536, "size": 393216}]
|
H A D | 181.out | 10 (qemu) qemu-io disk "write -P 0x55 0 64k" 14 (qemu) qemu-io disk "read -P 0x55 0 64k" 23 (qemu) qemu-io disk "read -P 0x55 0 64k" 27 (qemu) qemu-io disk "write -P 0x66 1M 64k"
|
/qemu/docs/ |
H A D | block-replication.txt | 21 executes till the next checkpoint. To support disk contents checkpoint, 22 the modified disk contents in the Secondary VM must be buffered, and are 24 effort during a vmstate checkpoint, the disk modification operations of 25 the Primary disk are asynchronously forwarded to the Secondary node. 51 2) Before Primary write requests are written to Secondary disk, the 52 original sector content will be read from Secondary disk and 56 3) Primary write requests will be written to Secondary disk. 71 disk ^ 7 Quorum 77 Primary | || Secondary disk <--------- hidden-disk 5 <--------- active-disk 4 84 1) The disk on the primary is represented by a block device with two [all …]
|
/qemu/docs/system/ |
H A D | images.rst | 6 QEMU supports many disk image formats, including growable disk images 8 encrypted disk images. 12 Quick start for disk image creation 15 You can create a disk image with the command:: 19 where myimage.img is the disk image filename and mysize is its size in 30 If you use the option ``-snapshot``, all disk images are considered as 33 disk images by using the ``commit`` monitor command (or C-a s in the 44 writable block device using the ``qcow2`` disk image format. Normally 64 ``info snapshots``) and a snapshot of every writable disk image. The VM 66 block device. The disk image snapshots are stored in every disk image. [all …]
|
H A D | target-sparc64.rst | 15 and is able to boot the disk.s10hw2 Solaris image. 21 -drive if=pflash,readonly=on,file=/S10image/disk.s10hw2 35 - 2 PCI IDE interfaces with hard disk and CD-ROM support 37 - Floppy disk
|
/qemu/hw/block/ |
H A D | xen-block.c | 87 int i, disk = 0; in xen_block_find_free_vdev() local 126 disk = vdev_to_diskno(vdev_nr); in xen_block_find_free_vdev() 127 if (disk < 0 || disk >= MAX_AUTO_VDEV) { in xen_block_find_free_vdev() 131 set_bit(disk, used_devs); in xen_block_find_free_vdev() 135 disk = find_first_zero_bit(used_devs, MAX_AUTO_VDEV); in xen_block_find_free_vdev() 136 if (disk == MAX_AUTO_VDEV) { in xen_block_find_free_vdev() 143 vdev->disk = disk; in xen_block_find_free_vdev() 144 if (disk < (1 << 4)) { in xen_block_find_free_vdev() 145 vdev->number = (XVDA_MAJOR << 8) | (disk << 4); in xen_block_find_free_vdev() 147 vdev->number = (XVDQ_MAJOR << 8) | (disk << 8); in xen_block_find_free_vdev() [all …]
|
/qemu/qga/ |
H A D | commands-linux.c | 399 GuestDiskAddress *disk, in build_guest_fsinfo_for_pci_dev() argument 404 GuestPCIAddress *pciaddr = disk->pci_controller; in build_guest_fsinfo_for_pci_dev() 476 disk->bus_type = GUEST_DISK_BUS_TYPE_IDE; in build_guest_fsinfo_for_pci_dev() 477 disk->bus = i; in build_guest_fsinfo_for_pci_dev() 478 disk->unit = tgt[1]; in build_guest_fsinfo_for_pci_dev() 492 disk->bus_type = GUEST_DISK_BUS_TYPE_SCSI; in build_guest_fsinfo_for_pci_dev() 493 disk->unit = tgt[1]; in build_guest_fsinfo_for_pci_dev() 497 disk->bus_type = GUEST_DISK_BUS_TYPE_SCSI; in build_guest_fsinfo_for_pci_dev() 498 disk->unit = tgt[2]; in build_guest_fsinfo_for_pci_dev() 501 disk->bus_type = GUEST_DISK_BUS_TYPE_VIRTIO; in build_guest_fsinfo_for_pci_dev() [all …]
|
/qemu/docs/interop/ |
H A D | prl-xml.rst | 24 A Parallels disk consists of two parts: the set of snapshots and the disk 45 the backing storage for a subset of the virtual disk. When 46 there is more than one storage in a Parallels disk then that 48 covers a specific address space area of the disk and has its 50 and are not supported. Each storage consists of disk 57 ``DiskDescriptor.xml`` stores information about disk parameters, 93 virtual disk and some general settings. 97 * ``Disk_size`` - number of sectors in the disk, 98 desired size of the disk. 99 * ``Cylinders`` - number of the disk cylinders. [all …]
|
H A D | live-block-operations.rst | 15 be used to manipulate disk image chains to accomplish certain tasks, 17 disk image chains by merging data from overlays into backing files; live 18 synchronize data from a disk image chain (including current active disk) 37 A simple disk image chain. (This can be created live using QMP 49 The arrow can be read as: Image [A] is the backing file of disk image 54 files in a disk image backing chain: 56 (1) Directional: 'base' and 'top'. Given the simple disk image chain 62 simple disk image chain from the above, disk image [A] is referred 119 disk to another image. 144 parameter that is used to refer to the disk image a.qcow2 ('node-A') -- [all …]
|
/qemu/docs/config/ |
H A D | q35-virtio-serial.cfg | 141 # number of disks without running into issues; a SCSI disk, 142 # backed by a qcow2 disk image on the host's filesystem, is 145 # We also create an optical disk, mostly for installation 149 # optical disk in the guest you can safely comment out 157 [device "scsi-disk"] 160 drive = "disk" 163 [drive "disk"] 168 [device "scsi-optical-disk"] 171 drive = "optical-disk" 174 [drive "optical-disk"]
|
H A D | q35-virtio-graphical.cfg | 136 # number of disks without running into issues; a SCSI disk, 137 # backed by a qcow2 disk image on the host's filesystem, is 140 # We also create an optical disk, mostly for installation 144 # optical disk in the guest you can safely comment out 152 [device "scsi-disk"] 155 drive = "disk" 158 [drive "disk"] 163 [device "scsi-optical-disk"] 166 drive = "optical-disk" 169 [drive "optical-disk"]
|
/qemu/tests/qtest/ |
H A D | pxe-test.c | 23 static char disk[] = "tests/pxe-test-disk-XXXXXX"; variable 80 test->machine, disk, ipv6 ? "off" : "on", ipv6 ? "on" : "off", in test_pxe_one() 141 ret = boot_sector_init(disk); in main() 160 boot_sector_cleanup(disk); in main()
|