tpm-passthrough-crb.x86_64-latest.args 1.2 KB
Newer Older
1 2
LC_ALL=C \
PATH=/bin \
3
HOME=/tmp/lib/domain--1-TPM-VM \
4 5
USER=test \
LOGNAME=test \
6 7 8
XDG_DATA_HOME=/tmp/lib/domain--1-TPM-VM/.local/share \
XDG_CACHE_HOME=/tmp/lib/domain--1-TPM-VM/.cache \
XDG_CONFIG_HOME=/tmp/lib/domain--1-TPM-VM/.config \
9 10
QEMU_AUDIO_DRV=none \
/usr/bin/qemu-system-x86_64 \
11
-name guest=TPM-VM,debug-threads=on \
12
-S \
13 14
-object secret,id=masterKey0,format=raw,\
file=/tmp/lib/domain--1-TPM-VM/master-key.aes \
15
-machine pc-i440fx-2.12,accel=tcg,usb=off,dump-guest-core=off \
16
-cpu qemu64 \
17
-m 2048 \
18
-overcommit mem-lock=off \
19 20 21 22 23
-smp 1,sockets=1,cores=1,threads=1 \
-uuid 11d7cd22-da89-3094-6212-079a48a309a1 \
-display none \
-no-user-config \
-nodefaults \
24
-chardev socket,id=charmonitor,fd=1729,server,nowait \
25 26 27
-mon chardev=charmonitor,id=monitor,mode=control \
-rtc base=utc \
-no-shutdown \
28 29
-boot menu=on,strict=on \
-device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 \
30 31 32
-tpmdev passthrough,id=tpm-tpm0,path=/dev/fdset/0,cancel-path=/dev/fdset/1 \
-add-fd set=0,fd=1730 \
-add-fd set=1,fd=1731 \
33
-device tpm-crb,tpmdev=tpm-tpm0,id=tpm0 \
34 35 36 37
-device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x2 \
-sandbox on,obsolete=deny,elevateprivileges=deny,spawn=deny,\
resourcecontrol=deny \
-msg timestamp=on