/openbmc/qemu/tests/functional/ |
H A D | test_ppc64_tuxrun.py | 29 self.vm.add_args('-netdev', 'user,id=vnet,hostfwd=:127.0.0.1:0-:22', 31 self.vm.add_args('-netdev', '{"type":"user","id":"hostnet0"}', 35 self.vm.add_args('-device', '{"driver":"qemu-xhci","p2":15,"p3":15,' 37 self.vm.add_args('-device', '{"driver":"virtio-scsi-pci","id":"scsi0"' 39 self.vm.add_args('-device', '{"driver":"virtio-serial-pci","id":' 41 self.vm.add_args('-device', '{"driver":"scsi-cd","bus":"scsi0.0"' 44 self.vm.add_args('-device', '{"driver":"virtio-balloon-pci",' 46 self.vm.add_args('-audiodev', '{"id":"audio1","driver":"none"}') 47 self.vm.add_args('-device', '{"driver":"usb-tablet","id":"input0"' 49 self.vm.add_args('-device', '{"driver":"usb-kbd","id":"input1"' [all …]
|
H A D | test_multiprocess.py | 56 remote_vm.add_args('-machine', 'x-remote') 57 remote_vm.add_args('-nodefaults') 58 remote_vm.add_args('-device', 'lsi53c895a,id=lsi1') 59 remote_vm.add_args('-object', 'x-remote-object,id=robj1,' 65 self.vm.add_args('-machine', machine_type) 66 self.vm.add_args('-accel', 'kvm') 67 self.vm.add_args('-cpu', 'host') 68 self.vm.add_args('-object', 70 self.vm.add_args('--numa', 'node,memdev=sysmem-file') 71 self.vm.add_args('-m', '2048') [all …]
|
H A D | test_aarch64_virt.py | 49 self.vm.add_args("-accel", "tcg") 50 self.vm.add_args("-cpu", "max,pauth-impdef=on") 51 self.vm.add_args("-machine", 56 self.vm.add_args("-smp", "2", "-m", "1024") 57 self.vm.add_args('-bios', os.path.join(BUILD_DIR, 'pc-bios', 59 self.vm.add_args("-drive", f"file={iso_path},media=cdrom,format=raw") 60 self.vm.add_args('-device', 'virtio-rng-pci,rng=rng0') 61 self.vm.add_args('-object', 'rng-random,id=rng0,filename=/dev/urandom') 86 self.vm.add_args('-cpu', 'max,pauth-impdef=on', 93 self.vm.add_args('-device', 'virtio-rng-pci,rng=rng0') [all …]
|
H A D | test_virtio_gpu.py | 62 self.vm.add_args("-cpu", "host") 63 self.vm.add_args("-m", "2G") 64 self.vm.add_args("-machine", "pc,accel=kvm") 65 self.vm.add_args("-device", "virtio-vga-gl") 66 self.vm.add_args("-display", "egl-headless") 67 self.vm.add_args( 121 self.vm.add_args("-cpu", "host") 122 self.vm.add_args("-m", "2G") 123 self.vm.add_args("-object", "memory-backend-memfd,id=mem,size=2G") 124 self.vm.add_args("-machine", "pc,memory-backend=mem,accel=kvm") [all …]
|
H A D | test_arm_sx1.py | 43 self.vm.add_args('-append', f'kunit.enable=0 rdinit=/sbin/init {self.CONSOLE_ARGS}') 44 self.vm.add_args('-no-reboot') 53 … self.vm.add_args('-append', f'kunit.enable=0 root=/dev/mmcblk0 rootwait {self.CONSOLE_ARGS}') 54 self.vm.add_args('-no-reboot') 55 self.vm.add_args('-snapshot') 56 self.vm.add_args('-drive', f'format=raw,if=sd,file={sd_fs_path}') 64 … self.vm.add_args('-append', f'kunit.enable=0 root=/dev/mtdblock3 rootwait {self.CONSOLE_ARGS}') 65 self.vm.add_args('-no-reboot') 66 self.vm.add_args('-snapshot') 67 self.vm.add_args('-drive', f'format=raw,if=pflash,file={flash_path}')
|
H A D | test_ppc_74xx.py | 21 self.vm.add_args('-cpu', '7400') 30 self.vm.add_args('-cpu', '7410') 39 self.vm.add_args('-cpu', '7441') 48 self.vm.add_args('-cpu', '7445') 57 self.vm.add_args('-cpu', '7447') 66 self.vm.add_args('-cpu', '7447a') 75 self.vm.add_args('-cpu', '7448') 84 self.vm.add_args('-cpu', '7450') 93 self.vm.add_args('-cpu', '7451') 102 self.vm.add_args('-cpu', '7455') [all …]
|
H A D | test_mem_addr_space.py | 41 self.vm.add_args('-S', '-machine', 'q35', '-m', 58 self.vm.add_args('-S', '-machine', 'q35', '-m', 74 self.vm.add_args('-machine', 'q35', '-m', 91 self.vm.add_args('-machine', 'q35', '-m', 107 self.vm.add_args('-machine', 'q35', '-m', 126 self.vm.add_args('-S', '-machine', 'q35', '-m', 153 self.vm.add_args('-S', '-machine', 'pc-q35-7.0', '-m', 173 self.vm.add_args('-S', '-machine', 'pc-q35-7.1', '-m', 189 self.vm.add_args('-S', '-machine', 'pc-q35-7.0', '-m', 205 self.vm.add_args('-S', '-machine', 'pc-q35-7.1', '-m', [all …]
|
H A D | test_ppc64_hv.py | 99 self.vm.add_args("-kernel", self.vmlinuz) 100 self.vm.add_args("-initrd", self.initramfs) 101 self.vm.add_args("-smp", "4", "-m", "2g") 102 self.vm.add_args("-drive", f"file={self.iso_path},format=raw,if=none," 163 self.vm.add_args("-accel", "tcg,thread=multi") 164 self.vm.add_args('-device', 'nvme,serial=1234,drive=drive0') 165 self.vm.add_args("-machine", "x-vof=on,cap-nested-hv=on") 174 self.vm.add_args("-accel", "kvm") 175 self.vm.add_args('-device', 'nvme,serial=1234,drive=drive0') 176 self.vm.add_args("-machine", "x-vof=on,cap-nested-hv=on,cap-ccf-assist=off") [all …]
|
H A D | test_ppc64_pseries.py | 29 self.vm.add_args('-kernel', kernel_path, 35 self.vm.add_args('-machine', 'x-vof=on') 48 self.vm.add_args('-smp', '4') 56 self.vm.add_args('-smp', '4') 66 self.vm.add_args('-smp', '4,threads=4') 76 self.vm.add_args('-smp', '16,threads=4,cores=2,sockets=2') 77 self.vm.add_args('-m', '512M', 80 self.vm.add_args('-numa', 'node,nodeid=0,memdev=m0') 81 self.vm.add_args('-numa', 'node,nodeid=1,memdev=m1')
|
H A D | test_arm_aspeed_ast2600.py | 31 self.vm.add_args('-device', 33 self.vm.add_args('-device', 35 self.vm.add_args('-device', 87 self.vm.add_args('-chardev', f'socket,id=chrtpm,path={socket}') 88 self.vm.add_args('-tpmdev', 'emulator,id=tpm0,chardev=chrtpm') 89 self.vm.add_args('-device', 113 self.vm.add_args('-device', 115 self.vm.add_args('-device',
|
H A D | test_x86_cpu_model_versions.py | 83 self.vm.add_args('-S') 113 self.vm.add_args('-S') 219 self.vm.add_args('-S') 253 self.vm.add_args('-S') 263 self.vm.add_args('-S') 274 self.vm.add_args('-S') 284 self.vm.add_args('-S') 295 self.vm.add_args('-S') 305 self.vm.add_args('-S') 316 self.vm.add_args('-S') [all …]
|
H A D | test_aarch64_aspeed.py | 22 self.vm.add_args('-drive', 'file=' + image + ',if=mtd,format=raw', 68 self.vm.add_args('-device', 72 self.vm.add_args('-device', 75 self.vm.add_args('-smp', str(num_cpu)) 76 self.vm.add_args('-device',
|
H A D | test_ppc64_powernv.py | 30 self.vm.add_args('-kernel', kernel_path, 42 self.vm.add_args('-smp', '4') 50 self.vm.add_args('-smp', '4') 61 self.vm.add_args('-smp', '4,threads=4') 71 self.vm.add_args('-smp', '16,threads=4,cores=2,sockets=2') 91 self.vm.add_args('-kernel', kernel_path,
|
H A D | test_s390x_topology.py | 98 self.vm.add_args('-nographic', 130 self.vm.add_args('-smp', 155 self.vm.add_args('-smp', 173 self.vm.add_args('-smp', 175 self.vm.add_args('-device', 'max-s390x-cpu,core-id=10') 176 self.vm.add_args('-device', 179 self.vm.add_args('-device', 182 self.vm.add_args('-device', 185 self.vm.add_args('-device', 188 self.vm.add_args('-device', [all …]
|
H A D | test_pc_cpu_hotplug_props.py | 29 self.vm.add_args('-nodefaults', '-S') 30 self.vm.add_args('-smp', '1,sockets=2,cores=2,threads=2,maxcpus=8') 31 self.vm.add_args('-device', 'qemu64-x86_64-cpu,socket-id=1,core-id=0,thread-id=0')
|
/openbmc/qemu/tests/avocado/ |
H A D | intel_iommu.py | 34 self.vm.add_args('-device', 'virtio-blk-pci,bus=pcie.0,' + 37 self.vm.add_args('-device', 'virtio-gpu-pci' + self.IOMMU_ADDON) 38 self.vm.add_args('-drive', 45 self.vm.add_args('-device', 'virtio-rng-pci,rng=rng0') 46 self.vm.add_args('-object', 52 self.vm.add_args("-accel", "kvm") 66 self.vm.add_args('-kernel', self.kernel_path, 81 self.vm.add_args('-device', 'intel-iommu,intremap=on') 82 self.vm.add_args('-machine', 'kernel_irqchip=split') 94 self.vm.add_args('-device', 'intel-iommu,intremap=on') [all …]
|
H A D | boot_linux.py | 31 self.vm.add_args("-accel", "tcg") 40 self.vm.add_args("-accel", "kvm") 49 self.vm.add_args("-accel", "tcg") 58 self.vm.add_args("-accel", "kvm") 78 self.vm.add_args("-accel", "kvm") 79 self.vm.add_args("-machine", "virt,gic-version=host") 80 self.vm.add_args('-bios', 83 self.vm.add_args('-device', 'virtio-rng-pci,rng=rng0') 84 self.vm.add_args('-object', 'rng-random,id=rng0,filename=/dev/urandom') 104 self.vm.add_args("-accel", "tcg") [all …]
|
H A D | smmu.py | 35 self.vm.add_args('-device', 'virtio-blk-pci,bus=pcie.0,' + 38 self.vm.add_args('-drive', 46 self.vm.add_args("-accel", "kvm") 47 self.vm.add_args("-cpu", "host") 48 self.vm.add_args("-machine", "iommu=smmuv3") 49 self.vm.add_args("-d", "guest_errors") 50 self.vm.add_args('-bios', os.path.join(BUILD_DIR, 'pc-bios', 52 self.vm.add_args('-device', 'virtio-rng-pci,rng=rng0') 53 self.vm.add_args('-object', 66 self.vm.add_args('-kernel', self.kernel_path,
|
H A D | replay_linux.py | 51 vm.add_args('-drive', 'file=%s,snapshot=on,id=disk%s,if=none' % (path, id)) 52 vm.add_args('-drive', 54 vm.add_args('-device', 58 vm.add_args('-drive', 'file=%s,id=disk%s,if=none,media=cdrom' % (path, id)) 63 vm.add_args('-smp', '1') 64 vm.add_args('-m', '1024') 65 vm.add_args('-netdev', 'user,id=vnet,hostfwd=:127.0.0.1:0-:22', 67 vm.add_args('-object', 'filter-replay,id=replay,netdev=vnet') 69 vm.add_args(*args) 80 vm.add_args('-icount', 'shift=%s,rr=%s,rrfile=%s' %
|
H A D | boot_linux_console.py | 113 self.vm.add_args('-kernel', kernel_path, 139 self.vm.add_args('-m', '2G', 161 self.vm.add_args('-kernel', kernel_path, 194 self.vm.add_args('-kernel', uboot_path, 237 self.vm.add_args('-kernel', kernel_path, 274 self.vm.add_args('-kernel', kernel_path, 319 self.vm.add_args('-kernel', kernel_path, 359 self.vm.add_args('-drive', 'file=' + image_path + ',if=sd,format=raw', 407 self.vm.add_args('-drive', drive_args) 463 self.vm.add_args('-kernel', kernel_path,
|
H A D | vnc.py | 59 self.vm.add_args('-nodefaults', '-S') 64 self.vm.add_args('-nodefaults', '-S') 76 self.vm.add_args('-nodefaults', '-S', '-vnc', ':0') 88 self.vm.add_args('-nodefaults', '-S', '-vnc', ':0,password=on') 100 self.vm.add_args('-nodefaults', '-S', '-vnc', f'{VNC_ADDR}:{a - 5900}')
|
H A D | hotplug_cpu.py | 23 self.vm.add_args('-accel', 'kvm') 24 self.vm.add_args('-cpu', 'Haswell') 25 self.vm.add_args('-smp', '1,sockets=1,cores=2,threads=1,maxcpus=2')
|
H A D | kvm_xen_guest.py | 51 self.vm.add_args("-accel", "kvm,xen-version=0x4000a,kernel-irqchip=split") 52 self.vm.add_args("-smp", "2") 60 self.vm.add_args('-kernel', self.kernel_path, 129 self.vm.add_args('-cpu', 'host,+xen-vapic')
|
/openbmc/qemu/tests/qemu-iotests/tests/ |
H A D | iothreads-nbd-export | 36 vm.add_args('-blockdev', f'file,node-name=disk-file,filename={path}') 37 vm.add_args('-blockdev', 'qcow2,node-name=disk,file=disk-file') 38 vm.add_args('-object', 'iothread,id=iothread0') 39 vm.add_args('-device', 43 vm.add_args('-accel', 'kvm', '-accel', 'tcg')
|
/openbmc/qemu/tests/qemu-iotests/ |
H A D | 235 | 51 vm.add_args('-accel', 'kvm', '-accel', 'tcg') 53 vm.add_args('-no-shutdown') 54 vm.add_args('-drive', 'id=src,file=' + disk)
|