Re: [Qemu-devel] [PATCH 06/10] pseries: Improve error handling in find_unknown_sysbus_device()

2016-01-17 Thread David Gibson
On Fri, Jan 15, 2016 at 04:40:24PM +0100, Markus Armbruster wrote: > David Gibson writes: > > > Use error_setg() to return an error instead of using an explicit exit(). > > > > Signed-off-by: David Gibson > > --- > > hw/ppc/spapr.c | 10 ++ > > 1 file changed, 6 insertions(+), 4 deletio

Re: [Qemu-devel] [PATCH 06/10] pseries: Improve error handling in find_unknown_sysbus_device()

2016-01-15 Thread Markus Armbruster
David Gibson writes: > Use error_setg() to return an error instead of using an explicit exit(). > > Signed-off-by: David Gibson > --- > hw/ppc/spapr.c | 10 ++ > 1 file changed, 6 insertions(+), 4 deletions(-) > > diff --git a/hw/ppc/spapr.c b/hw/ppc/spapr.c > index bb5eaa5..ddca6e6 100

[Qemu-devel] [PATCH 06/10] pseries: Improve error handling in find_unknown_sysbus_device()

2016-01-15 Thread David Gibson
Use error_setg() to return an error instead of using an explicit exit(). Signed-off-by: David Gibson --- hw/ppc/spapr.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/hw/ppc/spapr.c b/hw/ppc/spapr.c index bb5eaa5..ddca6e6 100644 --- a/hw/ppc/spapr.c +++ b/hw/ppc/s