2020-05-06 12:40:18 +03:00
LC_ALL=C \
PATH=/bin \
HOME=/tmp/lib/domain--1-armtest \
USER=test \
LOGNAME=test \
XDG_DATA_HOME=/tmp/lib/domain--1-armtest/.local/share \
XDG_CACHE_HOME=/tmp/lib/domain--1-armtest/.cache \
XDG_CONFIG_HOME=/tmp/lib/domain--1-armtest/.config \
2022-01-04 18:36:46 +03:00
/usr/bin/qemu-system-aarch64 \
2020-05-06 12:40:18 +03:00
-name guest=armtest,debug-threads=on \
-S \
2021-07-22 20:10:17 +03:00
-object '{"qom-type":"secret","id":"masterKey0","format":"raw","file":"/tmp/lib/domain--1-armtest/master-key.aes"}' \
2021-11-05 11:38:10 +03:00
-machine vexpress-a9,usb=off,dump-guest-core=off,memory-backend=vexpress.highmem \
-accel tcg \
2020-05-06 12:40:18 +03:00
-cpu cortex-a9 \
-m 1024 \
2021-07-22 20:10:17 +03:00
-object '{"qom-type":"memory-backend-ram","id":"vexpress.highmem","size":1073741824}' \
2020-05-06 12:40:18 +03:00
-overcommit mem-lock=off \
-smp 1,sockets=1,cores=1,threads=1 \
-uuid 496d7ea8-9739-544b-4ebd-ef08be936e6a \
-display none \
-no-user-config \
-nodefaults \
2021-02-16 14:29:24 +03:00
-chardev socket,id=charmonitor,fd=1729,server=on,wait=off \
2020-05-06 12:40:18 +03:00
-mon chardev=charmonitor,id=monitor,mode=control \
-rtc base=utc \
-no-shutdown \
2022-01-04 18:36:46 +03:00
-no-acpi \
2020-05-06 12:40:18 +03:00
-boot strict=on \
-kernel /arm.kernel \
-initrd /arm.initrd \
2021-03-31 11:46:36 +03:00
-append 'console=ttyAMA0,115200n8 rw root=/dev/vda3 rootwait physmap.enabled=0' \
2020-05-06 12:40:18 +03:00
-dtb /arm.dtb \
-usb \
-drive file=/arm-sd.qcow2,format=qcow2,if=sd,index=0 \
2021-03-31 11:46:36 +03:00
-blockdev '{"driver":"file","filename":"/arm-virtio.qcow2","node-name":"libvirt-1-storage","auto-read-only":true,"discard":"unmap"}' \
-blockdev '{"node-name":"libvirt-1-format","read-only":false,"driver":"qcow2","file":"libvirt-1-storage"}' \
2022-03-18 17:10:56 +03:00
-device '{"driver":"virtio-blk-device","drive":"libvirt-1-format","id":"virtio-disk0"}' \
2021-11-09 18:58:22 +03:00
-audiodev '{"id":"audio1","driver":"none"}' \
2021-03-31 11:46:36 +03:00
-sandbox on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny \
2020-05-06 12:40:18 +03:00
-msg timestamp=on