mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 03:17:34 +00:00
Meta: Tweak qemu run script to use pcie-root-ports
With this change, we use 6 PCIe root ports in the Q35 machine, and plug the bochs-display device into one of those PCIe ports. We plug the bochs-display as function 0 of that device, because otherwise SeaBIOS and also the kernel will not detect its presence.
This commit is contained in:
parent
62c5a5351c
commit
c92c944356
1 changed files with 7 additions and 2 deletions
|
@ -146,11 +146,16 @@ $SERENITY_EXTRA_QEMU_ARGS
|
|||
-machine q35
|
||||
-d guest_errors
|
||||
-smp 2
|
||||
-device pcie-root-port,port=0x10,chassis=1,id=pcie.1,bus=pcie.0,multifunction=on,addr=0x2
|
||||
-device pcie-root-port,port=0x11,chassis=2,id=pcie.2,bus=pcie.0,addr=0x2.0x1
|
||||
-device pcie-root-port,port=0x12,chassis=3,id=pcie.3,bus=pcie.0,addr=0x2.0x2
|
||||
-device pcie-root-port,port=0x13,chassis=4,id=pcie.4,bus=pcie.0,addr=0x2.0x3
|
||||
-device pcie-root-port,port=0x14,chassis=5,id=pcie.5,bus=pcie.0,addr=0x2.0x4
|
||||
-device pcie-root-port,port=0x15,chassis=6,id=pcie.6,bus=pcie.0,addr=0x2.0x5
|
||||
-display $SERENITY_QEMU_DISPLAY_BACKEND
|
||||
-device $SERENITY_QEMU_DISPLAY_DEVICE
|
||||
-device secondary-vga
|
||||
-device bochs-display
|
||||
-device VGA,vgamem_mb=64
|
||||
-device bochs-display,bus=pcie.6,addr=0x10.0x0
|
||||
-device piix3-ide
|
||||
-drive file=${SERENITY_DISK_IMAGE},id=disk,if=none
|
||||
-device ahci,id=ahci
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue