From a8c89422a7fc3b76bd2f016c436948644c4807f9 Mon Sep 17 00:00:00 2001 From: "K. Lange" Date: Wed, 13 Oct 2021 21:28:53 +0900 Subject: [PATCH] base: Load the piix4 remapper if we see the ISA bridge; fixes OVFM under qemu without -M q35 --- base/etc/startup.d/04_modprobe.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/etc/startup.d/04_modprobe.sh b/base/etc/startup.d/04_modprobe.sh index 422663b5..dcec51b3 100755 --- a/base/etc/startup.d/04_modprobe.sh +++ b/base/etc/startup.d/04_modprobe.sh @@ -2,7 +2,7 @@ # Only load this in virtualbox for now, as we're not # even sure we're doing the remapping correctly... -if lspci -q 80EE:CAFE then insmod /mod/piix4.ko +if lspci -q 80EE:CAFE,8086:7000 then insmod /mod/piix4.ko # Add module descriptions here... if lspci -q 8086:2415 then insmod /mod/ac97.ko