mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-10-30 09:53:10 +00:00
cc32731a3c
Implied by QEMU >= 1.2.0. Delete this one first, because QEMU_CAPS_NODEFCONFIG is only used when QEMU_CAPS_NO_USER_CONFIG is unsupported. Signed-off-by: Ján Tomko <jtomko@redhat.com> Reviewed-by: Andrea Bolognani <abologna@redhat.com>
26 lines
649 B
Plaintext
26 lines
649 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 \
|
|
-M pc-0.12 \
|
|
-m 2048 \
|
|
-smp 1,sockets=1,cores=1,threads=1 \
|
|
-uuid 11d7cd22-da89-3094-6212-079a48a309a1 \
|
|
-nographic \
|
|
-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 \
|
|
-boot c \
|
|
-usb \
|
|
-tpmdev passthrough,id=tpm-tpm0,path=/dev/tpm0,\
|
|
cancel-path=/sys/class/misc/tpm0/device/cancel \
|
|
-device tpm-tis,tpmdev=tpm-tpm0,id=tpm0 \
|
|
-device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3
|