2019-01-31 14:54:11 +01:00
|
|
|
LC_ALL=C \
|
|
|
|
PATH=/bin \
|
2023-03-02 19:05:53 +01:00
|
|
|
HOME=/var/lib/libvirt/qemu/domain--1-riscv64 \
|
2019-01-31 14:54:11 +01:00
|
|
|
USER=test \
|
|
|
|
LOGNAME=test \
|
2023-03-02 19:05:53 +01:00
|
|
|
XDG_DATA_HOME=/var/lib/libvirt/qemu/domain--1-riscv64/.local/share \
|
|
|
|
XDG_CACHE_HOME=/var/lib/libvirt/qemu/domain--1-riscv64/.cache \
|
|
|
|
XDG_CONFIG_HOME=/var/lib/libvirt/qemu/domain--1-riscv64/.config \
|
2019-01-31 14:54:11 +01:00
|
|
|
/usr/bin/qemu-system-riscv64 \
|
2021-08-10 16:39:38 +02:00
|
|
|
-name guest=riscv64,debug-threads=on \
|
2019-01-31 14:54:11 +01:00
|
|
|
-S \
|
2023-03-03 08:12:39 +01:00
|
|
|
-object '{"qom-type":"secret","id":"masterKey0","format":"raw","file":"/var/lib/libvirt/qemu/domain--1-riscv64/master-key.aes"}' \
|
|
|
|
-machine virt,usb=off,dump-guest-core=off,memory-backend=riscv_virt_board.ram \
|
2021-11-05 09:38:10 +01:00
|
|
|
-accel tcg \
|
2023-06-21 16:31:46 +02:00
|
|
|
-m size=2097152k \
|
2023-03-03 08:12:39 +01:00
|
|
|
-object '{"qom-type":"memory-backend-ram","id":"riscv_virt_board.ram","size":2147483648}' \
|
2022-02-10 12:57:26 +01:00
|
|
|
-overcommit mem-lock=off \
|
2019-01-31 14:54:11 +01:00
|
|
|
-smp 1,sockets=1,cores=1,threads=1 \
|
|
|
|
-uuid fd65fc03-8838-4c4d-9d8d-395802488790 \
|
|
|
|
-display none \
|
|
|
|
-no-user-config \
|
|
|
|
-nodefaults \
|
2022-02-03 13:31:28 +01:00
|
|
|
-chardev socket,id=charmonitor,fd=1729,server=on,wait=off \
|
2019-01-31 14:54:11 +01:00
|
|
|
-mon chardev=charmonitor,id=monitor,mode=control \
|
|
|
|
-rtc base=utc \
|
|
|
|
-no-shutdown \
|
2021-09-20 16:22:59 +02:00
|
|
|
-boot strict=on \
|
2019-01-31 14:54:11 +01:00
|
|
|
-kernel /var/lib/libvirt/images/riscv64.bbl \
|
|
|
|
-append root=/dev/vda \
|
2022-07-20 15:37:19 +02:00
|
|
|
-blockdev '{"driver":"file","filename":"/var/lib/libvirt/images/riscv64.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"}' \
|
2023-03-03 08:12:39 +01:00
|
|
|
-device '{"driver":"virtio-blk-pci","bus":"pcie.0","addr":"0x1","drive":"libvirt-1-format","id":"virtio-disk0","bootindex":1}' \
|
2022-06-22 15:36:23 +02:00
|
|
|
-audiodev '{"id":"audio1","driver":"none"}' \
|
2023-03-03 08:12:39 +01:00
|
|
|
-sandbox on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny \
|
2021-08-10 17:07:10 +02:00
|
|
|
-msg timestamp=on
|