[libvirt] Seabios can't boot from a disk behind i82801b11-bridge device (was Re: [PATCH 6/7] qemu: add dmi-to-pci-bridge controller)

Gerd Hoffmann kraxel at redhat.com
Mon Aug 5 08:49:58 UTC 2013


  Hi,

> Ok, isn't that easy.  Funny thing is that seabios boots just fine when
> using "pci-bridge" but doesn't when using "i82801b11-bridge".

Turned out to not be seabios fault at all.  Bug is in qemu,
i82801b11-bridge completely ignores any io window setup done by the
guest.  Oops.

cheers,
  Gerd

-------------- next part --------------
>From ed4b9b0bdff37e877efce77553bd6de3e7454694 Mon Sep 17 00:00:00 2001
From: Gerd Hoffmann <kraxel at redhat.com>
Date: Mon, 5 Aug 2013 10:47:37 +0200
Subject: [PATCH] pci: fix i82801b11 bridge

Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
---
 hw/pci-bridge/i82801b11.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/hw/pci-bridge/i82801b11.c b/hw/pci-bridge/i82801b11.c
index 8a5e426..14cd7fd 100644
--- a/hw/pci-bridge/i82801b11.c
+++ b/hw/pci-bridge/i82801b11.c
@@ -90,6 +90,7 @@ static void i82801b11_bridge_class_init(ObjectClass *klass, void *data)
     k->device_id = PCI_DEVICE_ID_INTEL_82801BA_11;
     k->revision = ICH9_D2P_A2_REVISION;
     k->init = i82801b11_bridge_initfn;
+    k->config_write = pci_bridge_write_config;
     set_bit(DEVICE_CATEGORY_BRIDGE, dc->categories);
 }
 
-- 
1.7.9.7



More information about the libvir-list mailing list