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 \
|
|
|
|
QEMU_AUDIO_DRV=none \
|
|
|
|
/usr/bin/qemu-system-arm \
|
|
|
|
-name guest=armtest,debug-threads=on \
|
|
|
|
-S \
|
|
|
|
-object secret,id=masterKey0,format=raw,\
|
|
|
|
file=/tmp/lib/domain--1-armtest/master-key.aes \
|
2020-12-10 12:51:43 +00:00
|
|
|
-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 \
|
|
|
|
-chardev socket,id=charmonitor,fd=1729,server,nowait \
|
|
|
|
-mon chardev=charmonitor,id=monitor,mode=control \
|
|
|
|
-rtc base=utc \
|
|
|
|
-no-shutdown \
|
|
|
|
-boot strict=on \
|
|
|
|
-kernel /arm.kernel \
|
|
|
|
-initrd /arm.initrd \
|
|
|
|
-append 'console=ttyAMA0,\
|
|
|
|
115200n8 rw root=/dev/vda3 rootwait physmap.enabled=0' \
|
|
|
|
-dtb /arm.dtb \
|
|
|
|
-usb \
|
|
|
|
-drive file=/arm-sd.qcow2,format=qcow2,if=sd,index=0 \
|
2020-05-06 11:50:03 +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 \
|
2020-05-06 09:40:18 +00:00
|
|
|
-sandbox on,obsolete=deny,elevateprivileges=deny,spawn=deny,\
|
|
|
|
resourcecontrol=deny \
|
|
|
|
-msg timestamp=on
|