coreboot-kgpe-d16/util/qemu/q35-alpine.cfg
Nico Huber b992df9891 util/qemu: Revise q35 configs
Add an NVMe drive and be more conservative with hotplug-capable PCIe
ports. QEMU treats everything as hotpluggable by default, so devices
can be added at runtime. However, this leads to unrealistic resource
allocations with PCIEXP_HOTPLUG enabled.

Tested recent allocator changes with QEMU/Q35 config and:

  $ make qemu QEMU_EXTRA_CFGS=util/qemu/q35-alpine.cfg

Change-Id: I23746b642329356c6767b04ec177cd9411e3adb9
Signed-off-by: Nico Huber <nico.h@gmx.de>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/67026
Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Lean Sheng Tan <sheng.tan@9elements.com>
2023-06-04 19:21:13 +00:00

65 lines
1.2 KiB
INI

# Try to resemble an Alpine Ridge topology
[device "alpine-root"]
driver = "x3130-upstream"
bus = "ich9-pcie-port-1"
addr = "00.0"
[device "alpine-0"]
driver = "xio3130-downstream"
bus = "alpine-root"
addr = "00.0"
chassis = "10"
hotplug = "off"
[device "alpine-nhi"]
driver = "pci-testdev"
bus = "alpine-0"
addr = "00.0"
membar = "1M"
[device "alpine-1"]
driver = "xio3130-downstream"
bus = "alpine-root"
addr = "01.0"
chassis = "11"
hotplug = "off"
[device "alpine-up"]
driver = "x3130-upstream"
bus = "alpine-1"
addr = "00.0"
[device "alpine-down0"]
driver = "xio3130-downstream"
bus = "alpine-up"
addr = "00.0"
chassis = "20"
# TBT device here
[device "alpine-down1"]
driver = "xio3130-downstream"
bus = "alpine-up"
addr = "01.0"
chassis = "21"
# TBT device here
[device "alpine-down4"]
driver = "xio3130-downstream"
bus = "alpine-up"
addr = "04.0"
chassis = "24"
hotplug = "off"
[device "alpine-xhci"]
driver = "nec-usb-xhci"
bus = "alpine-down4"
addr = "00.0"
[device "alpine-2"]
driver = "xio3130-downstream"
bus = "alpine-root"
addr = "02.0"
chassis = "12"
hotplug = "off"