2017-11-10 00:14:57 +08:00
|
|
|
LC_ALL=C \
|
|
|
|
PATH=/bin \
|
2019-03-06 20:29:01 +08:00
|
|
|
HOME=/tmp/lib/domain--1-guest \
|
2017-11-10 00:14:57 +08:00
|
|
|
USER=test \
|
|
|
|
LOGNAME=test \
|
2019-03-08 19:15:07 +08: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-11-10 00:14:57 +08:00
|
|
|
QEMU_AUDIO_DRV=none \
|
|
|
|
/usr/bin/qemu-system-aarch64 \
|
2021-08-10 22:39:38 +08:00
|
|
|
-name guest=guest,debug-threads=on \
|
2017-11-10 00:14:57 +08:00
|
|
|
-S \
|
2021-03-30 23:24:26 +08:00
|
|
|
-machine virt,accel=tcg,usb=off,dump-guest-core=off,gic-version=2 \
|
2017-11-10 00:14:57 +08:00
|
|
|
-m 512 \
|
2019-04-12 16:03:36 +08:00
|
|
|
-realtime mlock=off \
|
2017-11-10 00:14:57 +08:00
|
|
|
-smp 1,sockets=1,cores=1,threads=1 \
|
|
|
|
-uuid 1ccfd97d-5eb4-478a-bbe6-88d254c16db7 \
|
2018-03-29 18:51:55 +08:00
|
|
|
-display none \
|
2018-03-29 18:51:55 +08:00
|
|
|
-no-user-config \
|
2017-11-10 00:14:57 +08:00
|
|
|
-nodefaults \
|
2021-03-31 16:46:36 +08:00
|
|
|
-chardev socket,id=charmonitor,path=/tmp/lib/domain--1-guest/monitor.sock,server=on,wait=off \
|
2018-03-29 06:04:58 +08:00
|
|
|
-mon chardev=charmonitor,id=monitor,mode=control \
|
2018-03-29 18:51:55 +08:00
|
|
|
-rtc base=utc \
|
2018-03-29 18:51:55 +08:00
|
|
|
-no-shutdown \
|
2017-11-10 00:14:57 +08:00
|
|
|
-no-acpi \
|
2018-08-31 00:03:58 +08:00
|
|
|
-device virtio-serial-device,id=virtio-serial0 \
|
2017-11-10 00:14:57 +08:00
|
|
|
-chardev pty,id=charconsole0 \
|
|
|
|
-device virtconsole,chardev=charconsole0,id=console0
|