diff options
| author | Felix Morgner <felix.morgner@ost.ch> | 2026-11-28 13:25:37 +0100 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@ost.ch> | 2026-11-28 13:25:37 +0100 |
| commit | 2f85cd3d28904c33d4641335b2b3409d4f1bdbcd (patch) | |
| tree | c9c1b92aaa86503777ad0243f7d95c722c93f837 /scripts | |
| parent | fd04934fd00052c23241724a74e1911bd196e8cf (diff) | |
| download | kernel-2f85cd3d28904c33d4641335b2b3409d4f1bdbcd.tar.xz kernel-2f85cd3d28904c33d4641335b2b3409d4f1bdbcd.zip | |
scripts: add additional PCI devices to emulatorfmorgner/pci-device-tree
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/qemu-wrapper.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/qemu-wrapper.sh b/scripts/qemu-wrapper.sh index dd0200df..c85aeb07 100755 --- a/scripts/qemu-wrapper.sh +++ b/scripts/qemu-wrapper.sh @@ -15,6 +15,11 @@ ARGS=( "-m" "64M" "-machine" "q35" "-smp" "4,sockets=1,cores=4,threads=1" + "-object" "rng-random,filename=/dev/random,id=rng0" + "-device" "pcie-root-port,id=rp1,bus=pcie.0,chassis=1,slot=1" + "-device" "x3130-upstream,id=up1,bus=rp1" + "-device" "xio3130-downstream,id=down1,bus=up1,chassis=2,slot=0" + "-device" "virtio-rng-pci,bus=down1,rng=rng0" "-display" "curses" "-debugcon" "file:${WORKSPACE_DIR}/qemu-debugcon-${BUILD_TYPE}.log" "-cdrom" "${ISO_PATH}" |
