spapr_event: changed hotplug event type from slot to pci

The hotplug event only defines slot and phb types. Current hotplug implementation
performs physical style hotplug as opposed to the logical (slot) hotplug. Added
new hotplug type to surface to the guest to ensure that drmgr is run wiht "-c pci".

Signed-off-by: Tyrel Datwyler <tyreld@linux.vnet.ibm.com>
*spapr_pci: don't call fdt_end_node for device nodes

We don't call it for the parent node, so we probably shouldn't call it
here...

Also, since that didn't work...try reversing the ordering...

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
*spapr_pci: add missing boot-time dt entries

SLOF relies on 'reg' and 'name' properties to calculate OF paths.
Also fix associated endianess issues with these values.

Signed-off-by: Michael Roth
*spapr_pci: fix silly use-after-free on dev unplug

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Merge remote-tracking branch 'tyreld/spapr-pci-hotplug' into spapr-pci-hotplug-mdday

Conflicts:
	hw/ppc/spapr_events.c

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>