Re: [Qemu-devel] spapr-pci: convert init() callback to realize()

2014-03-12 Thread Alexey Kardashevskiy
On 03/13/2014 12:56 AM, Mike Day wrote: > On 21/11/13 15:08 +1100, Alexey Kardashevskiy wrote: >> This converts the old-style init() callback to a new style realize() >> callback as init() now is supposed to do only trivial initialization. >> >> As a part of convertion, this replaces fprintf(stderr

Re: [Qemu-devel] spapr-pci: convert init() callback to realize()

2014-03-12 Thread Mike Day
On 21/11/13 15:08 +1100, Alexey Kardashevskiy wrote: > This converts the old-style init() callback to a new style realize() > callback as init() now is supposed to do only trivial initialization. > > As a part of convertion, this replaces fprintf(stderr) with error_setg() > as realize() does not "

Re: [Qemu-devel] spapr-pci: convert init() callback to realize()

2014-03-12 Thread Mike Day
On 21/11/13 15:08 +1100, Alexey Kardashevskiy wrote: > This converts the old-style init() callback to a new style realize() > callback as init() now is supposed to do only trivial initialization. > > As a part of convertion, this replaces fprintf(stderr) with error_setg() > as realize() does not "