From 81fc61660df45e808093f92c1d083f12f658b705 Mon Sep 17 00:00:00 2001 From: Struan Bartlett Date: Mon, 24 Apr 2023 18:43:02 +0000 Subject: [PATCH] Make 'preqemu' breakpoint more informative - The 'preqemu' breakpoint now prints the intended qemu launch command, before dropping to a shell prompt --- runcvm-scripts/runcvm-ctr-qemu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runcvm-scripts/runcvm-ctr-qemu b/runcvm-scripts/runcvm-ctr-qemu index fe646d4..8d2b21e 100755 --- a/runcvm-scripts/runcvm-ctr-qemu +++ b/runcvm-scripts/runcvm-ctr-qemu @@ -137,6 +137,6 @@ ARGS=( -device virtserialport,chardev=charchannel0,name=org.qemu.guest_agent.0 ) -if [[ "$RUNCVM_BREAK" =~ preqemu ]]; then bash; fi +if [[ "$RUNCVM_BREAK" =~ preqemu ]]; then echo Preparing to run: $CMD "${ARGS[@]@Q}"; bash; fi exec $CMD "${ARGS[@]}"