/qemu/tests/qemu-iotests/ |
H A D | 153.out | 2 == readonly=off,force-share=on should be rejected == 3 QEMU_PROG: -drive if=none,file=null-co://,readonly=off,force-share=on: force-share=on can only be u… 21 == Launching another QEMU, opts: 'read-only=on,force-share=on' == 104 qemu-io: can't open device TEST_DIR/t.qcow2: force-share=on can only be used with read-only images 109 qemu-io: can't open device TEST_DIR/t.qcow2: force-share=on can only be used with read-only images 147 qemu-img: Could not open 'TEST_DIR/t.qcow2': force-share=on can only be used with read-only images 166 == Launching another QEMU, opts: 'read-only=on,force-share=on' == 228 qemu-io: can't open device TEST_DIR/t.qcow2: force-share=on can only be used with read-only images 233 qemu-io: can't open device TEST_DIR/t.qcow2: force-share=on can only be used with read-only images 271 qemu-img: Could not open 'TEST_DIR/t.qcow2': force-share=on can only be used with read-only images [all …]
|
H A D | 172.out | 30 share-rw = false 59 share-rw = false 95 share-rw = false 109 share-rw = false 149 share-rw = false 163 share-rw = false 204 share-rw = false 218 share-rw = false 247 share-rw = false 283 share-rw = false [all …]
|
H A D | 153 | 88 echo "== readonly=off,force-share=on should be rejected ==" 89 _run_qemu_with_images null-co://,readonly=off,force-share=on 91 for opts1 in "" "read-only=on" "read-only=on,force-share=on"; do 105 for opts2 in "" "read-only=on" "read-only=on,force-share=on"; do 160 test_opts="read-only=off read-only=on read-only=on,force-share=on" 260 echo "== Detecting -U and force-share conflicts ==" 264 $QEMU_IMG info -U --image-opts driver=null-co,force-share=on 267 $QEMU_IMG info -U --image-opts driver=null-co,force-share=off 271 $QEMU_IO -c 'open -r -U -o driver=null-co,force-share=on' 274 $QEMU_IO -c 'open -r -U -o driver=null-co,force-share=off'
|
H A D | 051.pc.out | 170 …io-scsi0 -device scsi-hd,bus=virtio-scsi0.0,drive=disk,share-rw=on -device ide-hd,drive=disk,share… 172 (qemu) QEMU_PROG: -device ide-hd,drive=disk,share-rw=on: Cannot change iothread of active block bac… 174 …csi0 -device scsi-hd,bus=virtio-scsi0.0,drive=disk,share-rw=on -device virtio-blk-pci,drive=disk,s… 176 (qemu) QEMU_PROG: -device virtio-blk-pci,drive=disk,share-rw=on: Cannot change iothread of active b… 178 …i-hd,bus=virtio-scsi0.0,drive=disk,share-rw=on -device lsi53c895a,id=lsi0 -device scsi-hd,bus=lsi0… 180 (qemu) QEMU_PROG: -device scsi-hd,bus=lsi0.0,drive=disk,share-rw=on: HBA does not support iothreads 182 …=virtio-scsi0.0,drive=disk,share-rw=on -device virtio-scsi,id=virtio-scsi1 -device scsi-hd,bus=vir… 186 …ice scsi-hd,bus=virtio-scsi0.0,drive=disk,share-rw=on -device virtio-blk-pci,drive=disk,iothread=t… 188 (qemu) QEMU_PROG: -device virtio-blk-pci,drive=disk,iothread=thread0,share-rw=on: Cannot change iot… 190 …csi0.0,drive=disk,share-rw=on -device virtio-scsi,id=virtio-scsi1,iothread=thread0 -device scsi-hd…
|
H A D | 051 | 196 …io-scsi,iothread=thread0,id=virtio-scsi0 -device scsi-hd,bus=virtio-scsi0.0,drive=disk,share-rw=on" 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
|
H A D | 242 | 42 result = qemu_img_info('--force-share', disk) 93 print_bitmap(['--force-share'])
|
/qemu/docs/system/devices/ |
H A D | cxl.rst | 307 -object memory-backend-file,id=cxl-mem1,share=on,mem-path=/tmp/cxltest.raw,size=256M \ 308 -object memory-backend-file,id=cxl-lsa1,share=on,mem-path=/tmp/lsa.raw,size=256M \ 318 -object memory-backend-ram,id=vmem0,share=on,size=256M \ 328 -object memory-backend-ram,id=vmem0,share=on,size=256M \ 329 -object memory-backend-file,id=cxl-lsa0,share=on,mem-path=/tmp/lsa.raw,size=256M \ 341 -object memory-backend-file,id=cxl-mem1,share=on,mem-path=/tmp/cxltest.raw,size=256M \ 342 -object memory-backend-file,id=cxl-mem2,share=on,mem-path=/tmp/cxltest2.raw,size=256M \ 343 -object memory-backend-file,id=cxl-mem3,share=on,mem-path=/tmp/cxltest3.raw,size=256M \ 344 -object memory-backend-file,id=cxl-mem4,share=on,mem-path=/tmp/cxltest4.raw,size=256M \ 345 -object memory-backend-file,id=cxl-lsa1,share=on,mem-path=/tmp/lsa.raw,size=256M \ [all …]
|
H A D | virtio-pmem.rst | 31 -object memory-backend-file,id=mem1,share,mem-path=./virtio_pmem.img,size=4G 36 - "object memory-backend-file,id=mem1,share,mem-path=<image>, size=<image size>" 55 (qemu) object_add memory-backend-file,id=mem2,share=on,mem-path=virtio_pmem2.img,size=4G
|
H A D | vhost-user-rng.rst | 31 use to communicate as well as share the guests memory over a memfd. 39 -object memory-backend-file,id=mem,size=4G,mem-path=/dev/shm,share=on \
|
H A D | ivshmem.rst | 16 -object memory-backend-file,size=1M,share,mem-path=/dev/shm/ivshmem,id=hostmem 58 …_system_x86| -object memory-backend-file,size=1G,mem-path=/dev/hugepages/my-shmem-file,share,id=mb1
|
/qemu/docs/system/ |
H A D | vm-templating.rst | 39 Supply VM RAM via memory-backend-file, with ``share=on`` (modifications go 49 -object memory-backend-file,id=pc.ram,mem-path=template,size=2g,share=on,... \\ 62 Supply VM RAM via memory-backend-file, with ``share=off`` (modifications 64 (don't make the memory readonly for the VM). Note that ``share=off`` is 86 cannot be modified to discard VM RAM, or to actually share memory with 94 don't actually share memory (``share=off``), even though they are
|
/qemu/docs/ |
H A D | nvdimm.txt | 20 -object memory-backend-file,id=mem1,share=on,mem-path=$PATH,size=$NVDIMM_SIZE,readonly=off 34 - "object memory-backend-file,id=mem1,share=on,mem-path=$PATH, 39 "share=on/off" controls the visibility of guest writes. If 40 "share=on", then guest writes will be applied to the backend 42 "share=on", then above writes will be visible to it as well. If 43 "share=off", then guest writes won't be applied to the backend 120 (qemu) object_add memory-backend-file,id=mem2,share=on,mem-path=new_nvdimm.img,size=4G 160 -object memory-backend-file,id=mem1,share=on,mem-path=/dev/dax0.0,size=4G,align=2M 176 both 'pmem' and 'share' flags are set to 'on' on the backend. 178 If these conditions are not satisfied i.e. if either 'pmem' or 'share'
|
/qemu/backends/ |
H A D | hostmem-shm.c | 38 if (!backend->share) { in shm_backend_memory_alloc() 39 error_setg(errp, "can't create shm backend with `share=off`"); in shm_backend_memory_alloc() 54 /* Let's do the same as memory-backend-ram,share=on would do. */ in shm_backend_memory_alloc() 68 MEMORY_BACKEND(m)->share = true; in shm_backend_instance_init()
|
H A D | hostmem-epc.c | 39 ram_flags = (backend->share ? RAM_SHARED : RAM_PRIVATE) | RAM_PROTECTED; in sgx_epc_backend_memory_alloc() 48 m->share = true; in sgx_epc_backend_instance_init()
|
H A D | hostmem-file.c | 73 if (fb->readonly && backend->share) { in file_backend_memory_alloc() 75 " 'readonly' = 'on' and 'share' = 'on'"); in file_backend_memory_alloc() 85 ram_flags = backend->share ? RAM_SHARED : RAM_PRIVATE; in file_backend_memory_alloc()
|
/qemu/tests/qemu-iotests/tests/ |
H A D | mirror-top-perms | 59 permissions but WRITE and share all permissions. Because it 77 example, it does not share READ_CONSISTENT, which makes it 92 # Must use -blockdev -device so we can use share-rw. 93 # (And we need share-rw=on because mirror-top was always 97 self.vm_b.add_device('virtio-blk,drive=drive0,share-rw=on')
|
/qemu/docs/devel/migration/ |
H A D | CPR.rst | 48 memory, such as ``memory-backend-file,share=on``, and that the 75 -object memory-backend-file,id=ram0,size=4G,mem-path=/dev/dax0.0,align=2M,share=on -m 4G 106 -object memory-backend-file,id=ram0,size=4G,mem-path=/dev/dax0.0,align=2M,share=on -m 4G 178 Memory backend objects must have the ``share=on`` attribute. 180 The VM must be started with the ``-machine aux-ram-share=on`` 231 mem-path=/dev/shm/ram0,share=on -m 4G 233 -machine aux-ram-share=on 281 mem-path=/dev/shm/ram0,share=on -m 4G 283 -machine aux-ram-share=on
|
/qemu/docs/config/ |
H A D | mach-virt-serial.cfg | 94 # /usr/share/edk2/aarch64/QEMU_EFI-pflash.raw (bin) 95 # /usr/share/edk2/aarch64/vars-template-pflash.raw (var) 99 # /usr/share/AAVMF/AAVMF_CODE.fd (bin) 100 # /usr/share/AAVMF/AAVMF_VARS.fd (var) 104 # /usr/share/AAVMF/AAVMF_CODE.fd (bin) 105 # /usr/share/AAVMF/AAVMF_VARS.fd (var) 108 file = "/usr/share/AAVMF/AAVMF_CODE.fd" # CHANGE ME
|
H A D | mach-virt-graphical.cfg | 88 # /usr/share/edk2/aarch64/QEMU_EFI-pflash.raw (bin) 89 # /usr/share/edk2/aarch64/vars-template-pflash.raw (var) 93 # /usr/share/AAVMF/AAVMF_CODE.fd (bin) 94 # /usr/share/AAVMF/AAVMF_VARS.fd (var) 98 # /usr/share/AAVMF/AAVMF_CODE.fd (bin) 99 # /usr/share/AAVMF/AAVMF_VARS.fd (var) 102 file = "/usr/share/AAVMF/AAVMF_CODE.fd" # CHANGE ME
|
/qemu/docs/interop/ |
H A D | firmware.json | 414 # - /usr/share/qemu/firmware -- populated by distro-provided firmware 416 # /usr/share by default), 436 # - /usr/share/qemu/firmware/50-ovmf.json 438 # - /usr/share/qemu/firmware/50-seabios-256k.json 492 # "filename": "/usr/share/seabios/bios-256k.bin" 529 # "filename": "/usr/share/OVMF/OVMF_CODE.secboot.fd", 533 # "filename": "/usr/share/OVMF/OVMF_VARS.fd", 572 # "filename": "/usr/share/OVMF/OVMF_CODE.secboot.fd", 576 # "filename": "/usr/share/OVMF/OVMF_VARS.secboot.fd", 616 # "filename": "/usr/share/OVMF/OVMF_CODE.fd", [all …]
|
H A D | vhost-user.json | 189 # - /usr/share/qemu/vhost-user -- populated by distro-provided 191 # /usr/share by default), 211 # - /usr/share/qemu/vhost-user/50-qemu-gpu.json 213 # - /usr/share/qemu/vhost-user/50-crosvm-gpu.json
|
/qemu/linux-headers/linux/ |
H A D | mman.h | 17 #define MAP_SHARED 0x01 /* Share changes */ 19 #define MAP_SHARED_VALIDATE 0x03 /* share + validate extension flags */
|
/qemu/hw/arm/ |
H A D | bcm2838_peripherals.c | 97 /* According to DTS, EMMC and EMMC2 share one irq */ in bcm2838_peripherals_realize() 123 /* According to DTS, DMA 7 and 8 share one irq */ in bcm2838_peripherals_realize() 140 /* According to DTS, DMA 9 and 10 share one irq */ in bcm2838_peripherals_realize()
|
/qemu/tests/docker/dockerfiles/ |
H A D | debian-riscv64-cross.docker | 62 mkdir -p /usr/local/share/meson/cross && \ 73 endian = 'little'\n" > /usr/local/share/meson/cross/riscv64-linux-gnu && \
|
/qemu/include/qemu/ |
H A D | cutils.h | 258 * is `/usr/share/qemu`, the result will be 259 * `/qemu/build/qemu-bundle/usr/share/qemu`. The directory is expected to exist 265 * `/usr/bin` and @dir is `/usr/share/qemu`, the result will be 266 * `/opt/qemu/bin/../share/qemu`.
|