mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 23:37:35 +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
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
Add a link
Reference in a new issue