mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 14:15:28 +00:00
0ae3e1313f
The secret object is supported since qemu-2.6 and can't be compiled out. Assume the presence to simplify the code. This enables the use of the secret key for most tests not using real caps. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
44 lines
1.7 KiB
Plaintext
44 lines
1.7 KiB
Plaintext
LC_ALL=C \
|
|
PATH=/bin \
|
|
HOME=/tmp/lib/domain--1-aarch64test \
|
|
USER=test \
|
|
LOGNAME=test \
|
|
XDG_DATA_HOME=/tmp/lib/domain--1-aarch64test/.local/share \
|
|
XDG_CACHE_HOME=/tmp/lib/domain--1-aarch64test/.cache \
|
|
XDG_CONFIG_HOME=/tmp/lib/domain--1-aarch64test/.config \
|
|
QEMU_AUDIO_DRV=none \
|
|
/usr/bin/qemu-system-aarch64 \
|
|
-name guest=aarch64test,debug-threads=on \
|
|
-S \
|
|
-object secret,id=masterKey0,format=raw,file=/tmp/lib/domain--1-aarch64test/master-key.aes \
|
|
-machine virt,accel=tcg,usb=off,dump-guest-core=off,gic-version=2 \
|
|
-cpu cortex-a53 \
|
|
-m 1024 \
|
|
-realtime mlock=off \
|
|
-smp 1,sockets=1,cores=1,threads=1 \
|
|
-uuid 496d7ea8-9739-544b-4ebd-ef08be936e8b \
|
|
-display none \
|
|
-no-user-config \
|
|
-nodefaults \
|
|
-chardev socket,id=charmonitor,path=/tmp/lib/domain--1-aarch64test/monitor.sock,server=on,wait=off \
|
|
-mon chardev=charmonitor,id=monitor,mode=control \
|
|
-rtc base=utc \
|
|
-no-shutdown \
|
|
-no-acpi \
|
|
-boot strict=on \
|
|
-kernel /aarch64.kernel \
|
|
-initrd /aarch64.initrd \
|
|
-append 'earlyprintk console=ttyAMA0,115200n8 rw root=/dev/vda rootwait' \
|
|
-dtb /aarch64.dtb \
|
|
-device i82801b11-bridge,id=pci.1,bus=pcie.0,addr=0x1 \
|
|
-device pci-bridge,chassis_nr=2,id=pci.2,bus=pci.1,addr=0x0 \
|
|
-device pci-bridge,chassis_nr=3,id=pci.3,bus=pci.1,addr=0x1 \
|
|
-device virtio-scsi-pci,id=scsi0,bus=pci.3,addr=0x1 \
|
|
-drive file=/aarch64.raw,format=raw,if=none,id=drive-scsi0-0-0-0 \
|
|
-device scsi-hd,bus=scsi0.0,channel=0,scsi-id=0,lun=0,drive=drive-scsi0-0-0-0,id=scsi0-0-0-0,bootindex=1 \
|
|
-netdev user,id=hostnet0 \
|
|
-device virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:09:a4:37,bus=pci.3,addr=0x2 \
|
|
-netdev user,id=hostnet1 \
|
|
-device virtio-net-pci,netdev=hostnet1,id=net1,mac=52:54:00:09:a4:38,bus=pci.2,addr=0x1 \
|
|
-msg timestamp=on
|