mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-28 08:35:22 +00:00
28 lines
748 B
Plaintext
28 lines
748 B
Plaintext
|
LC_ALL=C \
|
||
|
PATH=/bin \
|
||
|
HOME=/home/test \
|
||
|
USER=test \
|
||
|
LOGNAME=test \
|
||
|
QEMU_AUDIO_DRV=none \
|
||
|
/usr/bin/qemu-system-x86_64 \
|
||
|
-name TPM-VM \
|
||
|
-S \
|
||
|
-machine pc-i440fx-2.12,accel=tcg,usb=off,dump-guest-core=off \
|
||
|
-m 2048 \
|
||
|
-smp 1,sockets=1,cores=1,threads=1 \
|
||
|
-uuid 11d7cd22-da89-3094-6212-079a48a309a1 \
|
||
|
-display none \
|
||
|
-no-user-config \
|
||
|
-nodefaults \
|
||
|
-chardev socket,id=charmonitor,path=/tmp/lib/domain--1-TPM-VM/monitor.sock,\
|
||
|
server,nowait \
|
||
|
-mon chardev=charmonitor,id=monitor,mode=control \
|
||
|
-rtc base=utc \
|
||
|
-no-shutdown \
|
||
|
-boot order=c,menu=on \
|
||
|
-usb \
|
||
|
-tpmdev passthrough,id=tpm-tpm0,path=/dev/tpm0,\
|
||
|
cancel-path=/sys/class/misc/tpm0/device/cancel \
|
||
|
-device tpm-crb,tpmdev=tpm-tpm0,id=tpm0 \
|
||
|
-device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3
|