On 04/18/2017 04:30 PM, Eduardo Habkost wrote:
On Tue, Apr 18, 2017 at 04:27:23PM +0300, Marcel Apfelbaum wrote:
[...]
@@ -431,7 +430,7 @@ PCIBus *pci_register_bus(DeviceState *parent, const char 
*name,
 {
     PCIBus *bus;

-    bus = pci_bus_new(parent, name, address_space_mem,
+    bus = pci_bus_new(PCI_HOST_BRIDGE(parent), name, address_space_mem,

If you request the parent to be PCI_HOST_BRIDGE, why don't you change also the 
signature of
pci_register_bus ?

I do it on patch 4/7.


Yes, I saw it :). at least it means I am following the patches...

Thanks,
Marcel



Reply via email to