2020-05-06 09:40:18 +00: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 \
|
|
|
|
/usr/bin/qemu-system-arm \
|
|
|
|
-name guest=armtest,debug-threads=on \
|
|
|
|
-S \
|
2021-03-31 08:46:36 +00:00
|
|
|
-object secret,id=masterKey0,format=raw,file=/tmp/lib/domain--1-armtest/master-key.aes \
|
|
|
|
-machine vexpress-a9,accel=tcg,usb=off,dump-guest-core=off,memory-backend=vexpress.highmem \
|
2020-05-06 09:40:18 +00:00
|
|
|
-cpu cortex-a9 \
|
|
|
|
-m 1024 \
|
2020-12-10 12:51:43 +00:00
|
|
|
-object memory-backend-ram,id=vexpress.highmem,size=1073741824 \
|
2020-05-06 09:40:18 +00: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 11:29:24 +00:00
|
|
|
-chardev socket,id=charmonitor,fd=1729,server=on,wait=off \
|
2020-05-06 09:40:18 +00:00
|
|
|
-mon chardev=charmonitor,id=monitor,mode=control \
|
|
|
|
-rtc base=utc \
|
|
|
|
-no-shutdown \
|
|
|
|
-boot strict=on \
|
|
|
|
-kernel /arm.kernel \
|
|
|
|
-initrd /arm.initrd \
|
2021-03-31 08:46:36 +00:00
|
|
|
-append 'console=ttyAMA0,115200n8 rw root=/dev/vda3 rootwait physmap.enabled=0' \
|
2020-05-06 09:40:18 +00:00
|
|
|
-dtb /arm.dtb \
|
|
|
|
-usb \
|
|
|
|
-drive file=/arm-sd.qcow2,format=qcow2,if=sd,index=0 \
|
2021-03-31 08:46:36 +00: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"}' \
|
2020-05-06 20:13:03 +00:00
|
|
|
-device virtio-blk-device,drive=libvirt-1-format,id=virtio-disk0 \
|
2021-02-24 14:40:19 +00:00
|
|
|
-audiodev id=audio1,driver=none \
|
2021-03-31 08:46:36 +00:00
|
|
|
-sandbox on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny \
|
2020-05-06 09:40:18 +00:00
|
|
|
-msg timestamp=on
|