From f27e75ac0cdbcda6c8e748f16feb308211aec6d9 Mon Sep 17 00:00:00 2001 From: Liav A Date: Fri, 21 May 2021 19:04:38 +0300 Subject: [PATCH] Meta: Make i440fx QEMU machine PCI hierarchy a bit more complex Let's help our future selves by ensuring we have proper support for secondary PCI buses always. --- Meta/run.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Meta/run.sh b/Meta/run.sh index 2d272adce4..1222df72cb 100755 --- a/Meta/run.sh +++ b/Meta/run.sh @@ -51,7 +51,6 @@ $SERENITY_EXTRA_QEMU_ARGS -smp 2 -device VGA,vgamem_mb=64 -drive file=${SERENITY_DISK_IMAGE},format=raw,index=0,media=disk --device ich9-ahci -usb -device virtio-serial -chardev stdio,id=stdout,mux=on @@ -60,6 +59,10 @@ $SERENITY_EXTRA_QEMU_ARGS -device virtio-rng-pci -soundhw pcspk -device sb16 +-device pci-bridge,chassis_nr=1,id=bridge1 -device e1000,bus=bridge1 +-device i82801b11-bridge,bus=bridge1,id=bridge2 -device sdhci-pci,bus=bridge2 +-device i82801b11-bridge,id=bridge3 -device sdhci-pci,bus=bridge3 +-device ich9-ahci,bus=bridge3 " [ -z "$SERENITY_COMMON_QEMU_Q35_ARGS" ] && SERENITY_COMMON_QEMU_Q35_ARGS="