mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 15:40:19 +00:00
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.
This commit is contained in:
parent
212334eaef
commit
7ca2315659
Notes:
sideshowbarker
2024-07-17 22:50:01 +09:00
Author: https://github.com/elln2 Commit: https://github.com/SerenityOS/serenity/commit/7ca23156592 Pull-request: https://github.com/SerenityOS/serenity/pull/11237 Issue: https://github.com/SerenityOS/serenity/issues/11235
1 changed files with 5 additions and 1 deletions
|
@ -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="
|
||||
|
|
Loading…
Reference in a new issue