Re: [Qemu-devel] [RFC PATCH v1 2/5] hw: Remove assert_no_error usages

2013-12-03 Thread Peter Crosthwaite
On Tue, Dec 3, 2013 at 7:35 PM, Markus Armbruster wrote: > Peter Crosthwaite writes: > >> Replace assert_no_error() usages with the error_abort system. >> &error_abort is passed into API calls to signal to the Error sub-system >> that any errors are fatal. Removes need for caller assertions. >> >

Re: [Qemu-devel] [RFC PATCH v1 2/5] hw: Remove assert_no_error usages

2013-12-03 Thread Markus Armbruster
Peter Crosthwaite writes: > Replace assert_no_error() usages with the error_abort system. > &error_abort is passed into API calls to signal to the Error sub-system > that any errors are fatal. Removes need for caller assertions. > > Signed-off-by: Peter Crosthwaite [...] > diff --git a/hw/core/q

[Qemu-devel] [RFC PATCH v1 2/5] hw: Remove assert_no_error usages

2013-12-02 Thread Peter Crosthwaite
Replace assert_no_error() usages with the error_abort system. &error_abort is passed into API calls to signal to the Error sub-system that any errors are fatal. Removes need for caller assertions. Signed-off-by: Peter Crosthwaite --- hw/core/qdev-properties-system.c | 8 ++-- hw/core/qdev-