Add the PCI ID used by the host bridge from the virt machine as a
support PCI ID in the detection code.

Signed-off-by: Rob Bradford <robert.bradf...@intel.com>
---
 src/fw/paravirt.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/fw/paravirt.c b/src/fw/paravirt.c
index 0770c47..597bd1c 100644
--- a/src/fw/paravirt.c
+++ b/src/fw/paravirt.c
@@ -95,6 +95,9 @@ static void qemu_detect(void)
     case 0x29c0:
         dprintf(1, "Running on QEMU (q35)\n");
         break;
+    case 0x0d57:
+        dprintf(1, "Running on QEMU (virt)\n");
+        break;
     default:
         dprintf(1, "Running on QEMU (unknown nb: %04x:%04x)\n", v, d);
         break;
-- 
2.19.2


_______________________________________________
SeaBIOS mailing list
SeaBIOS@seabios.org
https://mail.coreboot.org/mailman/listinfo/seabios

Reply via email to