2015-11-06 13:20:06 +00:00
|
|
|
LC_ALL=C \
|
|
|
|
PATH=/bin \
|
|
|
|
HOME=/home/test \
|
|
|
|
USER=test \
|
|
|
|
LOGNAME=test \
|
|
|
|
QEMU_AUDIO_DRV=none \
|
2017-04-06 16:19:48 +00:00
|
|
|
/usr/bin/qemu-system-x86_64 \
|
2015-11-06 14:29:41 +00:00
|
|
|
-name TPM-VM \
|
2015-11-06 13:20:06 +00:00
|
|
|
-S \
|
2018-03-29 10:51:55 +00:00
|
|
|
-machine pc-0.12,accel=tcg,usb=off,dump-guest-core=off \
|
2015-11-06 13:20:06 +00:00
|
|
|
-m 2048 \
|
2016-06-23 11:29:16 +00:00
|
|
|
-smp 1,sockets=1,cores=1,threads=1 \
|
2015-11-06 14:29:52 +00:00
|
|
|
-uuid 11d7cd22-da89-3094-6212-079a48a309a1 \
|
2018-03-29 10:51:55 +00:00
|
|
|
-display none \
|
2018-03-29 10:51:55 +00:00
|
|
|
-no-user-config \
|
2015-11-06 13:20:06 +00:00
|
|
|
-nodefaults \
|
2017-06-26 14:40:39 +00:00
|
|
|
-chardev socket,id=charmonitor,path=/tmp/lib/domain--1-TPM-VM/monitor.sock,\
|
|
|
|
server,nowait \
|
2018-03-28 22:04:58 +00:00
|
|
|
-mon chardev=charmonitor,id=monitor,mode=control \
|
2018-03-29 10:51:55 +00:00
|
|
|
-rtc base=utc \
|
2018-03-29 10:51:55 +00:00
|
|
|
-no-shutdown \
|
2018-03-29 10:51:55 +00:00
|
|
|
-boot order=c,menu=on \
|
2015-11-06 13:20:06 +00:00
|
|
|
-usb \
|
2013-07-17 17:47:01 +00:00
|
|
|
-tpmdev passthrough,id=tpm-tpm0,path=/dev/tpm0,\
|
|
|
|
cancel-path=/sys/class/misc/tpm0/device/cancel \
|
2013-04-12 20:55:46 +00:00
|
|
|
-device tpm-tis,tpmdev=tpm-tpm0,id=tpm0 \
|
|
|
|
-device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3
|