]>
Commit | Line | Data |
---|---|---|
1 | /usr/bin/kvm \ | |
2 | -id 8006 \ | |
3 | -name 'vm8006,debug-threads=on' \ | |
4 | -no-shutdown \ | |
5 | -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \ | |
6 | -mon 'chardev=qmp,mode=control' \ | |
7 | -chardev 'socket,id=qmp-event,path=/var/run/qmeventd.sock,reconnect=5' \ | |
8 | -mon 'chardev=qmp-event,mode=control' \ | |
9 | -pidfile /var/run/qemu-server/8006.pid \ | |
10 | -daemonize \ | |
11 | -smbios 'type=1,uuid=3dd750ce-d910-44d0-9493-525c0be4e687' \ | |
12 | -drive 'if=pflash,unit=0,format=raw,readonly=on,file=/usr/share/pve-edk2-firmware//OVMF_CODE.fd' \ | |
13 | -drive 'if=pflash,unit=1,id=drive-efidisk0,format=qcow2,file=/var/lib/vz/images/100/vm-100-disk-1.qcow2' \ | |
14 | -smp '2,sockets=2,cores=1,maxcpus=2' \ | |
15 | -nodefaults \ | |
16 | -boot 'menu=on,strict=on,reboot-timeout=1000,splash=/usr/share/qemu-server/bootsplash.jpg' \ | |
17 | -vnc 'unix:/var/run/qemu-server/8006.vnc,password=on' \ | |
18 | -cpu 'kvm64,enforce,hv_ipi,hv_relaxed,hv_reset,hv_runtime,hv_spinlocks=0x1fff,hv_stimer,hv_synic,hv_time,hv_vapic,hv_vpindex,+kvm_pv_eoi,+kvm_pv_unhalt,+lahf_lm,+sep' \ | |
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 | -readconfig /usr/share/qemu-server/pve-q35-4.0.cfg \ | |
25 | -device 'vmgenid,guid=54d1c06c-8f5b-440f-b5b2-6eab1380e13d' \ | |
26 | -device 'usb-tablet,id=tablet,bus=ehci.0,port=1' \ | |
27 | -device 'vfio-pci,host=0000:f0:42.0,id=hostpci0,bus=pci.0,addr=0x10' \ | |
28 | -device 'vfio-pci,host=0000:f0:43.0,id=hostpci1,bus=ich9-pcie-port-2,addr=0x0' \ | |
29 | -device 'pcie-root-port,id=ich9-pcie-port-5,addr=10.0,x-speed=16,x-width=32,multifunction=on,bus=pcie.0,port=5,chassis=5' \ | |
30 | -device 'vfio-pci,host=0000:00:43.1,id=hostpci4,bus=ich9-pcie-port-5,addr=0x0' \ | |
31 | -device 'VGA,id=vga,bus=pcie.0,addr=0x1' \ | |
32 | -device 'virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3' \ | |
33 | -iscsi 'initiator-name=iqn.1993-08.org.debian:01:aabbccddeeff' \ | |
34 | -netdev 'type=tap,id=net0,ifname=tap8006i0,script=/var/lib/qemu-server/pve-bridge,downscript=/var/lib/qemu-server/pve-bridgedown,vhost=on' \ | |
35 | -device 'virtio-net-pci,mac=2E:01:68:F9:9C:87,netdev=net0,bus=pci.0,addr=0x12,id=net0,bootindex=300' \ | |
36 | -rtc 'driftfix=slew,base=localtime' \ | |
37 | -machine 'hpet=off,type=pc-q35-5.1+pve0' \ | |
38 | -global 'kvm-pit.lost_tick_policy=discard' |