From 1f66909492b2ebbc7928a09a6aaf435439b478a1 Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Thu, 10 Oct 2019 10:34:33 -0600 Subject: [PATCH] Add instructions for qemu hotplug bridge --- scripts/qemu.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/qemu.sh b/scripts/qemu.sh index 639238e..f440c4e 100755 --- a/scripts/qemu.sh +++ b/scripts/qemu.sh @@ -28,3 +28,8 @@ kvm -M q35 -m 4096 -vga std \ # COM2: -device isa-serial,index=1,chardev=debug # COM3: -device isa-serial,index=2,chardev=debug # COM4: -device isa-serial,index=3,chardev=debug + +# PCIe hotplugging (https://github.com/qemu/qemu/blob/master/docs/pcie_pci_bridge.txt): +# Root port: -device pcie-root-port,bus=pcie.0,id=rp1 +# PCIe bridge: -device pcie-pci-bridge,id=br1,bus=rp1 +