Re: [Qemu-devel] [PATCH 09/12] spapr_pci: enable basic hotplug operations

2014-09-04 Thread Nathan Fontenot
On 09/04/2014 11:34 AM, Michael Roth wrote: > Quoting Michael Roth (2014-09-04 11:12:15) >> Quoting Bharata B Rao (2014-09-04 10:08:20) >>> On Thu, Sep 4, 2014 at 4:33 AM, Michael Roth >>> wrote: >> +static int spapr_device_hotplug_add(DeviceState *qdev, PCIDevice *dev) >> +{ >> +

Re: [Qemu-devel] [PATCH 09/12] spapr_pci: enable basic hotplug operations

2014-09-04 Thread Michael Roth
Quoting Michael Roth (2014-09-04 11:12:15) > Quoting Bharata B Rao (2014-09-04 10:08:20) > > On Thu, Sep 4, 2014 at 4:33 AM, Michael Roth > > wrote: > > >> > +static int spapr_device_hotplug_add(DeviceState *qdev, PCIDevice *dev) > > >> > +{ > > >> > +sPAPRPHBState *phb = SPAPR_PCI_HOST_BRIDG

Re: [Qemu-devel] [PATCH 09/12] spapr_pci: enable basic hotplug operations

2014-09-04 Thread Michael Roth
Quoting Bharata B Rao (2014-09-04 10:08:20) > On Thu, Sep 4, 2014 at 4:33 AM, Michael Roth > wrote: > >> > +static int spapr_device_hotplug_add(DeviceState *qdev, PCIDevice *dev) > >> > +{ > >> > +sPAPRPHBState *phb = SPAPR_PCI_HOST_BRIDGE(qdev); > >> > +sPAPRDrcEntry *drc_entry, *drc_ent

Re: [Qemu-devel] [PATCH 09/12] spapr_pci: enable basic hotplug operations

2014-09-04 Thread Bharata B Rao
On Thu, Sep 4, 2014 at 4:33 AM, Michael Roth wrote: >> > +static int spapr_device_hotplug_add(DeviceState *qdev, PCIDevice *dev) >> > +{ >> > +sPAPRPHBState *phb = SPAPR_PCI_HOST_BRIDGE(qdev); >> > +sPAPRDrcEntry *drc_entry, *drc_entry_slot; >> > +sPAPRConfigureConnectorState *ccs; >>

Re: [Qemu-devel] [PATCH 09/12] spapr_pci: enable basic hotplug operations

2014-09-03 Thread Michael Roth
Quoting Bharata B Rao (2014-09-03 05:33:56) > On Tue, Aug 19, 2014 at 5:51 AM, Michael Roth > wrote: > > This enables hotplug for PHB bridges. Upon hotplug we generate the > > OF-nodes required by PAPR specification and IEEE 1275-1994 > > "PCI Bus Binding to Open Firmware" for the device. > > > >

Re: [Qemu-devel] [PATCH 09/12] spapr_pci: enable basic hotplug operations

2014-09-03 Thread Bharata B Rao
On Tue, Aug 19, 2014 at 5:51 AM, Michael Roth wrote: > This enables hotplug for PHB bridges. Upon hotplug we generate the > OF-nodes required by PAPR specification and IEEE 1275-1994 > "PCI Bus Binding to Open Firmware" for the device. > > We associate the corresponding FDT for these nodes with th

Re: [Qemu-devel] [PATCH 09/12] spapr_pci: enable basic hotplug operations

2014-08-26 Thread Alexander Graf
On 19.08.14 02:21, Michael Roth wrote: > This enables hotplug for PHB bridges. Upon hotplug we generate the > OF-nodes required by PAPR specification and IEEE 1275-1994 > "PCI Bus Binding to Open Firmware" for the device. > > We associate the corresponding FDT for these nodes with the DrcEntry >

Re: [Qemu-devel] [PATCH 09/12] spapr_pci: enable basic hotplug operations

2014-08-26 Thread Alexey Kardashevskiy
On 08/19/2014 10:21 AM, Michael Roth wrote: > This enables hotplug for PHB bridges. Upon hotplug we generate the > OF-nodes required by PAPR specification and IEEE 1275-1994 > "PCI Bus Binding to Open Firmware" for the device. > > We associate the corresponding FDT for these nodes with the DrcEntr

[Qemu-devel] [PATCH 09/12] spapr_pci: enable basic hotplug operations

2014-08-18 Thread Michael Roth
This enables hotplug for PHB bridges. Upon hotplug we generate the OF-nodes required by PAPR specification and IEEE 1275-1994 "PCI Bus Binding to Open Firmware" for the device. We associate the corresponding FDT for these nodes with the DrcEntry corresponding to the slot, which will be fetched via