On Mon, Aug 31, 2015 at 11:08:13AM +0530, Bharata B Rao wrote: > If drmgr is used in the guest to hotplug a device before a device_add > has been issued via the QEMU monitor, QEMU segfaults in configure_connector > call. This occurs due to accessing of NULL FDT which otherwise would have > been created and associated with the DRC during device_add command. > > Check for NULL FDT and return failure from configure_connector call. > As per PAPR+, an error value of -9003 seems appropriate for this failure. > > Signed-off-by: Bharata B Rao <bhar...@linux.vnet.ibm.com> > Cc: Michael Roth <mdr...@linux.vnet.ibm.com>
Applied to spapr-next, thanks. -- David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson
pgpI_mxOadIMs.pgp
Description: PGP signature