Re: [Qemu-devel] [RFC 3/7] pci: Change pci_bus_new*() parameter to PCIHostState

2017-04-26 Thread Eduardo Habkost
On Wed, Apr 26, 2017 at 07:16:26PM +0300, Michael S. Tsirkin wrote: > On Mon, Apr 17, 2017 at 06:59:12PM -0300, Eduardo Habkost wrote: > > The pci_bus_new*() functions already require the 'parent' argument to be > > a PCI_HOST_BRIDGE object. Change the parameter type to reflect that. > > > > Cc: "

Re: [Qemu-devel] [RFC 3/7] pci: Change pci_bus_new*() parameter to PCIHostState

2017-04-26 Thread Michael S. Tsirkin
On Mon, Apr 17, 2017 at 06:59:12PM -0300, Eduardo Habkost wrote: > The pci_bus_new*() functions already require the 'parent' argument to be > a PCI_HOST_BRIDGE object. Change the parameter type to reflect that. > > Cc: "Michael S. Tsirkin" > Cc: Marcel Apfelbaum > Cc: "Hervé Poussineau" > Cc: P

Re: [Qemu-devel] [RFC 3/7] pci: Change pci_bus_new*() parameter to PCIHostState

2017-04-18 Thread Marcel Apfelbaum
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

Re: [Qemu-devel] [RFC 3/7] pci: Change pci_bus_new*() parameter to PCIHostState

2017-04-18 Thread Eduardo Habkost
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_BRID

Re: [Qemu-devel] [RFC 3/7] pci: Change pci_bus_new*() parameter to PCIHostState

2017-04-18 Thread Marcel Apfelbaum
On 04/18/2017 12:59 AM, Eduardo Habkost wrote: The pci_bus_new*() functions already require the 'parent' argument to be a PCI_HOST_BRIDGE object. Change the parameter type to reflect that. Cc: "Michael S. Tsirkin" Cc: Marcel Apfelbaum Cc: "Hervé Poussineau" Cc: Peter Maydell Cc: qemu-...@non

Re: [Qemu-devel] [RFC 3/7] pci: Change pci_bus_new*() parameter to PCIHostState

2017-04-17 Thread David Gibson
On Mon, Apr 17, 2017 at 06:59:12PM -0300, Eduardo Habkost wrote: > The pci_bus_new*() functions already require the 'parent' argument to be > a PCI_HOST_BRIDGE object. Change the parameter type to reflect that. > > Cc: "Michael S. Tsirkin" > Cc: Marcel Apfelbaum > Cc: "Hervé Poussineau" > Cc: P

[Qemu-devel] [RFC 3/7] pci: Change pci_bus_new*() parameter to PCIHostState

2017-04-17 Thread Eduardo Habkost
The pci_bus_new*() functions already require the 'parent' argument to be a PCI_HOST_BRIDGE object. Change the parameter type to reflect that. Cc: "Michael S. Tsirkin" Cc: Marcel Apfelbaum Cc: "Hervé Poussineau" Cc: Peter Maydell Cc: qemu-...@nongnu.org Cc: qemu-...@nongnu.org Signed-off-by: Ed