Comment # 6 on bug 1228831 from Andrei Borzenkov
(In reply to Johannes Segitz from comment #3)
> virsh dumpxml $NAMEOFVM

I use home grown script to run my VMs. Here is the full command line

qemu-system-x86_64 \
  -nodefaults \
  -machine q35,accel=kvm,smm=on \
  -cpu host -m 2G \
  -drive
if=pflash,format=raw,unit=0,file=/home/bor/vm/fde/ovmf-x86_64-smm-ms-code.bin,readonly=on
\
  -drive
if=pflash,format=raw,unit=1,file=/home/bor/vm/fde/ovmf-x86_64-ms-4m-vars.bin \
  -global driver=cfi.pflash01,property=secure,value=on \
  -device virtio-scsi-pci \
  -drive
file=/home/bor/vm/fde/openSUSE-MicroOS.x86_64-kvm-and-xen-sdboot.qcow2,if=none,id=hd0,discard=on,format=qcow2
\
  -device scsi-hd,drive=hd0,id=hd0 -netdev user,id=uplink \
  -device virtio-net-pci,netdev=uplink \
  -virtfs local,path=/home/bor,security_model=none,mount_tag=home \
  -name MicroOS-FDE \
  -device virtio-vga-gl,xres=1280,yres=960 \
  -spice rendernode=/dev/dri/by-path/pci-0000:00:02.0-render \
  -display spice-app,gl=on \
  -monitor unix:path=/home/bor/vm/fde/monitor.socket,server=on,wait=off \
  -chardev spicevmc,id=vdagent,name=vdagent,clipboard=on \
  -device virtio-serial-pci \
  -device virtserialport,chardev=vdagent,id=vdagent,name=com.redhat.spice.0 \
  -chardev socket,id=chrtpm,path=/home/bor/vm/fde/tpm.socket \
  -tpmdev emulator,id=tpm0,chardev=chrtpm \
  -device tpm-tis,tpmdev=tpm0 \
  -device vhost-vsock-pci,id=vhost-vsock-pci0,guest-cid=16402740


You are receiving this mail because: