2017-03-09 16:38:56 +01:00
LC_ALL=C \
PATH=/bin \
2019-03-06 13:29:01 +01:00
HOME=/tmp/lib/domain--1-guest \
2017-03-09 16:38:56 +01:00
USER=test \
LOGNAME=test \
2019-03-08 12:15:07 +01:00
XDG_DATA_HOME=/tmp/lib/domain--1-guest/.local/share \
XDG_CACHE_HOME=/tmp/lib/domain--1-guest/.cache \
XDG_CONFIG_HOME=/tmp/lib/domain--1-guest/.config \
2017-03-09 16:38:56 +01:00
/usr/bin/qemu-system-aarch64 \
2021-08-10 16:39:38 +02:00
-name guest=guest,debug-threads=on \
2017-03-09 16:38:56 +01:00
-S \
2023-02-08 19:10:48 +01:00
-object '{"qom-type":"secret","id":"masterKey0","format":"raw","file":"/tmp/lib/domain--1-guest/master-key.aes"}' \
2022-07-20 15:37:19 +02:00
-blockdev '{"driver":"file","filename":"/usr/share/AAVMF/AAVMF_CODE.fd","node-name":"libvirt-pflash0-storage","auto-read-only":true,"discard":"unmap"}' \
-blockdev '{"node-name":"libvirt-pflash0-format","read-only":true,"driver":"raw","file":"libvirt-pflash0-storage"}' \
2023-02-08 19:28:05 +01:00
-blockdev '{"driver":"file","filename":"/path/to/guest_VARS.fd","node-name":"libvirt-pflash1-storage","auto-read-only":true,"discard":"unmap"}' \
2022-07-20 15:37:19 +02:00
-blockdev '{"node-name":"libvirt-pflash1-format","read-only":false,"driver":"raw","file":"libvirt-pflash1-storage"}' \
2023-02-08 19:28:05 +01:00
-machine virt-4.0,usb=off,gic-version=2,dump-guest-core=off,memory-backend=mach-virt.ram,pflash0=libvirt-pflash0-format,pflash1=libvirt-pflash1-format \
2021-11-05 09:38:10 +01:00
-accel tcg \
2023-02-08 19:10:48 +01:00
-cpu cortex-a15 \
2017-03-09 16:38:56 +01:00
-m 1024 \
2023-02-08 19:10:48 +01:00
-object '{"qom-type":"memory-backend-ram","id":"mach-virt.ram","size":1073741824}' \
2022-02-10 12:57:26 +01:00
-overcommit mem-lock=off \
2017-03-09 16:38:56 +01:00
-smp 1,sockets=1,cores=1,threads=1 \
2023-02-08 19:28:05 +01:00
-uuid 63840878-0deb-4095-97e6-fc444d9bc9fa \
2018-03-29 12:51:55 +02:00
-display none \
2018-03-29 12:51:55 +02:00
-no-user-config \
2017-03-09 16:38:56 +01:00
-nodefaults \
2022-02-03 13:31:28 +01:00
-chardev socket,id=charmonitor,fd=1729,server=on,wait=off \
2018-03-29 00:04:58 +02:00
-mon chardev=charmonitor,id=monitor,mode=control \
2018-03-29 12:51:55 +02:00
-rtc base=utc \
2018-03-29 12:51:55 +02:00
-no-shutdown \
2021-08-10 17:07:10 +02:00
-no-acpi \
2021-09-20 16:22:59 +02:00
-boot strict=on \
2022-06-22 15:36:23 +02:00
-audiodev '{"id":"audio1","driver":"none"}' \
2023-02-08 19:10:48 +01:00
-sandbox on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny \
2021-08-10 17:07:10 +02:00
-msg timestamp=on