Meta: Add an isa-debugcon
to the q35 machine
Otherwise we would not print debug output to the host console, which we did in the old run.sh
This commit is contained in:
parent
5d7ce0343f
commit
16b14b0688
Notes:
sideshowbarker
2024-07-17 03:16:02 +09:00
Author: https://github.com/Hendiadyoin1 Commit: https://github.com/SerenityOS/serenity/commit/16b14b0688 Pull-request: https://github.com/SerenityOS/serenity/pull/22281 Reviewed-by: https://github.com/ADKaster ✅ Reviewed-by: https://github.com/supercomputer7
1 changed files with 2 additions and 0 deletions
|
@ -717,6 +717,7 @@ def setup_machine_devices(config: Configuration):
|
|||
config.display_device = None
|
||||
config.add_devices(
|
||||
[
|
||||
"isa-debugcon,chardev=stdout",
|
||||
"vmware-svga",
|
||||
"ich9-usb-ehci1,bus=pcie.0,multifunction=on,addr=0x05.3,multifunction=on,id=ehci1",
|
||||
"ich9-usb-uhci1,bus=pcie.0,multifunction=on,addr=0x05.0,masterbus=ehci1.0,firstport=0",
|
||||
|
@ -741,6 +742,7 @@ def setup_machine_devices(config: Configuration):
|
|||
"sdhci-pci,bus=bridge1,addr=0x1.0x0",
|
||||
]
|
||||
)
|
||||
config.character_devices.append("stdio,id=stdout,mux=on")
|
||||
config.enable_usb = True
|
||||
case MachineType.MicroVM | MachineType.ISAPC:
|
||||
config.character_devices.append("stdio,id=stdout,mux=on")
|
||||
|
|
Loading…
Add table
Reference in a new issue