2015-11-06 13:20:06 +00:00
|
|
|
LC_ALL=C \
|
|
|
|
PATH=/bin \
|
|
|
|
HOME=/home/test \
|
|
|
|
USER=test \
|
|
|
|
LOGNAME=test \
|
|
|
|
QEMU_AUDIO_DRV=none \
|
|
|
|
/usr/bin/qemu \
|
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 \
|
2016-02-26 08:15:55 +00:00
|
|
|
-monitor unix:/tmp/lib/domain--1-TPM-VM/monitor.sock,server,nowait \
|
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
|