OSDN Git Service
(root)
/
qmiga
/
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
8278894
..
ee7d403
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;