From 7ca23156592b6abc0f6d40e96364170f3f90b05a Mon Sep 17 00:00:00 2001 From: Nathan Ell Date: Sun, 12 Dec 2021 13:13:49 -0700 Subject: Meta: Conditionally run QEMU with QMP QMP is currently used with UNIX sockets, which can't be created on Windows hosts. Let's just not start QMP if using Windows QEMU. --- Meta/run.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Meta/run.sh') diff --git a/Meta/run.sh b/Meta/run.sh index 444a7b4b03..ab04595507 100755 --- a/Meta/run.sh +++ b/Meta/run.sh @@ -213,11 +213,15 @@ if [ -z "$SERENITY_MACHINE" ]; then -device i82801b11-bridge,id=bridge3 -device sdhci-pci,bus=bridge3 -device ich9-ahci,bus=bridge3 -chardev stdio,id=stdout,mux=on - -qmp unix:qmp-sock,server,nowait " fi fi +if [ "$NATIVE_WINDOWS_QEMU" -ne "1" ]; then + SERENITY_MACHINE="$SERENITY_MACHINE + -qmp unix:qmp-sock,server,nowait" +fi + [ -z "$SERENITY_COMMON_QEMU_ARGS" ] && SERENITY_COMMON_QEMU_ARGS=" -- cgit v1.2.3