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 \
|
|
|
|
-M pc-0.12 \
|
|
|
|
-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 \
|
2015-11-06 13:20:06 +00:00
|
|
|
-nographic \
|
|
|
|
-nodefaults \
|
2017-06-26 14:40:39 +00:00
|
|
|
-chardev socket,id=charmonitor,path=/tmp/lib/domain--1-TPM-VM/monitor.sock,\
|
|
|
|
server,nowait \
|
|
|
|
-mon chardev=charmonitor,id=monitor,mode=readline \
|
2015-11-06 13:20:06 +00:00
|
|
|
-boot c \
|
|
|
|
-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
|