Re: [Qemu-devel] [PATCH RFC 01/10] pci: Convert core to realize

2014-10-31 Thread Marcel Apfelbaum
On Tue, 2014-10-28 at 08:35 +0100, Markus Armbruster wrote: > Implement DeviceClass methods realize() and unrealize() instead of > init() and exit(). The core's initialization errors now get > propagated properly, and QMP sends them instead of an unspecific > "Device initialization failed" error.

Re: [Qemu-devel] [PATCH RFC 01/10] pci: Convert core to realize

2014-10-31 Thread Marcel Apfelbaum
On Tue, 2014-10-28 at 10:38 +0100, Markus Armbruster wrote: > Gonglei writes: > > > On 2014/10/28 15:35, Markus Armbruster wrote: > > > >> Implement DeviceClass methods realize() and unrealize() instead of > >> init() and exit(). The core's initialization errors now get > >> propagated properly,

Re: [Qemu-devel] [PATCH RFC 01/10] pci: Convert core to realize

2014-10-28 Thread Markus Armbruster
Gonglei writes: > On 2014/10/28 15:35, Markus Armbruster wrote: > >> Implement DeviceClass methods realize() and unrealize() instead of >> init() and exit(). The core's initialization errors now get >> propagated properly, and QMP sends them instead of an unspecific >> "Device initialization fai

Re: [Qemu-devel] [PATCH RFC 01/10] pci: Convert core to realize

2014-10-28 Thread Gonglei
On 2014/10/28 15:35, Markus Armbruster wrote: > Implement DeviceClass methods realize() and unrealize() instead of > init() and exit(). The core's initialization errors now get > propagated properly, and QMP sends them instead of an unspecific > "Device initialization failed" error. Unrealize ca