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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



  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

>From ed4b9b0bdff37e877efce77553bd6de3e7454694 Mon Sep 17 00:00:00 2001
From: Gerd Hoffmann <kraxel@xxxxxxxxxx>
Date: Mon, 5 Aug 2013 10:47:37 +0200
Subject: [PATCH] pci: fix i82801b11 bridge

Signed-off-by: Gerd Hoffmann <kraxel@xxxxxxxxxx>
---
 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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]