From c62cec09df6ab0d2a64168b517aac6441126e0f9 Mon Sep 17 00:00:00 2001 From: Kroese Date: Wed, 7 Feb 2024 11:57:55 +0100 Subject: [PATCH] fix: Set machine name (#22) --- src/config.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config.sh b/src/config.sh index 4c9ad0c..2c0fc6c 100644 --- a/src/config.sh +++ b/src/config.sh @@ -7,10 +7,10 @@ set -Eeuo pipefail DEF_OPTS="-nodefaults" SERIAL_OPTS="-serial $SERIAL" -MON_OPTS="-monitor $MONITOR" USB_OPTS="-device $USB -device usb-kbd -device usb-tablet" RAM_OPTS=$(echo "-m $RAM_SIZE" | sed 's/MB/M/g;s/GB/G/g;s/TB/T/g') CPU_OPTS="-cpu $CPU_FLAGS -smp $CPU_CORES,sockets=1,dies=1,cores=$CPU_CORES,threads=1" +MON_OPTS="-monitor $MONITOR -name ${APP// /-},process=${APP,,// /-},debug-threads=on" MAC_OPTS="-machine type=${MACHINE},secure=off,dump-guest-core=off${KVM_OPTS}" DEV_OPTS="-device virtio-balloon-pci,id=balloon0,bus=pcie.0,addr=0x4" DEV_OPTS="$DEV_OPTS -object rng-random,id=objrng0,filename=/dev/urandom"