projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6407f37
)
minor fix of pci_register_bus()
author
Isaku Yamahata
<yamahata@valinux.co.jp>
Fri, 1 May 2009 09:33:53 +0000
(18:33 +0900)
committer
Blue Swirl
<blauwirbel@gmail.com>
Sun, 3 May 2009 19:10:59 +0000
(22:10 +0300)
keep first_bus linked list correct.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
hw/pci.c
patch
|
blob
|
history
diff --git
a/hw/pci.c
b/hw/pci.c
index 827889466e08de66b40d279c43824c3f88c09c78..ee7d4031e0bcb209cfee3c9311a0be125b853ab4 100644
(file)
--- a/
hw/pci.c
+++ b/
hw/pci.c
@@
-100,6
+100,7
@@
PCIBus *pci_register_bus(pci_set_irq_fn set_irq, pci_map_irq_fn map_irq,
bus->irq_opaque = pic;
bus->devfn_min = devfn_min;
bus->nirq = nirq;
+ bus->next = first_bus;
first_bus = bus;
register_savevm("PCIBUS", nbus++, 1, pcibus_save, pcibus_load, bus);
return bus;