]> git.proxmox.com Git - qemu-server.git/blame - test/cfg2cmd/efi-secboot-and-tpm.conf.cmd
use non SMM ovmf code file for i440fx machines
[qemu-server.git] / test / cfg2cmd / efi-secboot-and-tpm.conf.cmd
CommitLineData
39c55c8f
TL
1/usr/bin/kvm \
2 -id 8006 \
3 -name vm8006 \
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=7b10d7af-b932-4c66-b2c3-3996152ec465' \
90b20b15 12 -drive 'if=pflash,unit=0,format=raw,readonly=on,file=/usr/share/pve-edk2-firmware//OVMF_CODE_4M.fd' \
39c55c8f
TL
13 -drive 'if=pflash,unit=1,format=raw,id=drive-efidisk0,size=540672,file=/var/lib/vz/images/100/vm-disk-100-0.raw' \
14 -smp '1,sockets=1,cores=1,maxcpus=1' \
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,+kvm_pv_eoi,+kvm_pv_unhalt,+lahf_lm,+sep \
19 -m 512 \
20 -device 'pci-bridge,id=pci.1,chassis_nr=1,bus=pci.0,addr=0x1e' \
21 -device 'pci-bridge,id=pci.2,chassis_nr=2,bus=pci.0,addr=0x1f' \
22 -device 'piix3-usb-uhci,id=uhci,bus=pci.0,addr=0x1.0x2' \
23 -device 'usb-tablet,id=tablet,bus=uhci.0,port=1' \
24 -chardev 'socket,id=tpmchar,path=/var/run/qemu-server/8006.swtpm' \
25 -tpmdev 'emulator,id=tpmdev,chardev=tpmchar' \
26 -device 'tpm-tis,tpmdev=tpmdev' \
27 -device 'VGA,id=vga,bus=pci.0,addr=0x2' \
28 -device 'virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3' \
29 -iscsi 'initiator-name=iqn.1993-08.org.debian:01:aabbccddeeff' \
30 -machine 'type=pc+pve0'