]> git.proxmox.com Git - qemu-server.git/blob - test/cfg2cmd/i440fx-win10-hostpci.conf.cmd
fix #2510: hostpci: always check if device exists
[qemu-server.git] / test / cfg2cmd / i440fx-win10-hostpci.conf.cmd
1 /usr/bin/kvm \
2 -id 8006 \
3 -name vm8006 \
4 -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server,nowait' \
5 -mon 'chardev=qmp,mode=control' \
6 -chardev 'socket,id=qmp-event,path=/var/run/qmeventd.sock,reconnect=5' \
7 -mon 'chardev=qmp-event,mode=control' \
8 -pidfile /var/run/qemu-server/8006.pid \
9 -daemonize \
10 -smbios 'type=1,uuid=3dd750ce-d910-44d0-9493-525c0be4e687' \
11 -drive 'if=pflash,unit=0,format=raw,readonly,file=/usr/share/pve-edk2-firmware//OVMF_CODE.fd' \
12 -drive 'if=pflash,unit=1,format=qcow2,id=drive-efidisk0,file=/var/lib/vz/images/100/vm-100-disk-1.qcow2' \
13 -smp '2,sockets=2,cores=1,maxcpus=2' \
14 -nodefaults \
15 -boot 'menu=on,strict=on,reboot-timeout=1000,splash=/usr/share/qemu-server/bootsplash.jpg' \
16 -vnc unix:/var/run/qemu-server/8006.vnc,password \
17 -no-hpet \
18 -cpu 'kvm64,+lahf_lm,+sep,+kvm_pv_unhalt,+kvm_pv_eoi,hv_spinlocks=0x1fff,hv_vapic,hv_time,hv_reset,hv_vpindex,hv_runtime,hv_relaxed,hv_synic,hv_stimer,hv_ipi,enforce' \
19 -m 512 \
20 -object 'memory-backend-ram,id=ram-node0,size=256M' \
21 -numa 'node,nodeid=0,cpus=0,memdev=ram-node0' \
22 -object 'memory-backend-ram,id=ram-node1,size=256M' \
23 -numa 'node,nodeid=1,cpus=1,memdev=ram-node1' \
24 -device 'pci-bridge,id=pci.1,chassis_nr=1,bus=pci.0,addr=0x1e' \
25 -device 'pci-bridge,id=pci.2,chassis_nr=2,bus=pci.0,addr=0x1f' \
26 -device 'vmgenid,guid=54d1c06c-8f5b-440f-b5b2-6eab1380e13d' \
27 -device 'piix3-usb-uhci,id=uhci,bus=pci.0,addr=0x1.0x2' \
28 -device 'usb-tablet,id=tablet,bus=uhci.0,port=1' \
29 -device 'vfio-pci,host=0000:0f:f2.0,id=hostpci0,bus=pci.0,addr=0x10' \
30 -device 'VGA,id=vga,bus=pci.0,addr=0x2' \
31 -device 'virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3' \
32 -iscsi 'initiator-name=iqn.1993-08.org.debian:01:aabbccddeeff' \
33 -netdev 'type=tap,id=net0,ifname=tap8006i0,script=/var/lib/qemu-server/pve-bridge,downscript=/var/lib/qemu-server/pve-bridgedown,vhost=on' \
34 -device 'virtio-net-pci,mac=2E:01:68:F9:9C:87,netdev=net0,bus=pci.0,addr=0x12,id=net0,bootindex=300' \
35 -rtc 'driftfix=slew,base=localtime' \
36 -machine 'type=pc+pve1' \
37 -global 'kvm-pit.lost_tick_policy=discard'