mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-05 04:41:20 +00:00
a08c4b3741
The '-realtime mlock' cmd line argument was introduced in QEMU commit v1.5.0-rc0~190 which matches minimal QEMU version we require. Therefore, the capability will always be present. Apparently, nearly none of our xml2argv test cases had the capability hence slightly bigger change under qemuxml2argvdata/. Signed-off-by: Michal Privoznik <mprivozn@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
33 lines
954 B
Plaintext
33 lines
954 B
Plaintext
LC_ALL=C \
|
|
PATH=/bin \
|
|
HOME=/tmp/lib/domain--1-TPM-VM \
|
|
USER=test \
|
|
LOGNAME=test \
|
|
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 \
|
|
QEMU_AUDIO_DRV=none \
|
|
/usr/bin/qemu-system-x86_64 \
|
|
-name TPM-VM \
|
|
-S \
|
|
-machine pc-0.12,accel=tcg,usb=off,dump-guest-core=off \
|
|
-m 2048 \
|
|
-realtime mlock=off \
|
|
-smp 1,sockets=1,cores=1,threads=1 \
|
|
-uuid 11d7cd22-da89-3094-6212-079a48a309a1 \
|
|
-display none \
|
|
-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 \
|
|
-rtc base=utc \
|
|
-no-shutdown \
|
|
-boot menu=on \
|
|
-usb \
|
|
-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 \
|
|
-device tpm-tis,tpmdev=tpm-tpm0,id=tpm0 \
|
|
-device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3
|