mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-21 12:05:15 +00:00
Meta: Set QEMU title and add QMP socket on non-x86 machines in run.py
aarch64 does an early return (except for CI), so this code wasn't executed.
This commit is contained in:
parent
7067c5c972
commit
f214045d1a
Notes:
sideshowbarker
2024-07-16 19:17:47 +09:00
Author: https://github.com/spholz Commit: https://github.com/SerenityOS/serenity/commit/f214045d1a Pull-request: https://github.com/SerenityOS/serenity/pull/22296 Reviewed-by: https://github.com/ADKaster ✅
1 changed files with 5 additions and 5 deletions
10
Meta/run.py
10
Meta/run.py
|
@ -694,6 +694,11 @@ def setup_kernel(config: Configuration):
|
|||
def setup_machine_devices(config: Configuration):
|
||||
# TODO: Maybe disable SPICE everwhere except the default machine?
|
||||
|
||||
if config.qemu_kind != QEMUKind.NativeWindows:
|
||||
config.extra_arguments.extend(["-qmp", "unix:qmp-sock,server,nowait"])
|
||||
|
||||
config.extra_arguments.extend(["-name", "SerenityOS", "-d", "guest_errors"])
|
||||
|
||||
# Architecture specifics.
|
||||
if config.architecture == Arch.Aarch64:
|
||||
config.qemu_machine = "raspi3b"
|
||||
|
@ -804,11 +809,6 @@ def setup_machine_devices(config: Configuration):
|
|||
case MachineType.QEMUGrub | MachineType.QEMUExtLinux:
|
||||
config.kernel_cmdline = []
|
||||
|
||||
if config.qemu_kind != QEMUKind.NativeWindows:
|
||||
config.extra_arguments.extend(["-qmp", "unix:qmp-sock,server,nowait"])
|
||||
|
||||
config.extra_arguments.extend(["-name", "SerenityOS", "-d", "guest_errors"])
|
||||
|
||||
|
||||
def assemble_arguments(config: Configuration) -> list[str | Path]:
|
||||
if config.machine_type == MachineType.Bochs:
|
||||
|
|
Loading…
Add table
Reference in a new issue