Re: [Qemu-devel] [PATCH qom-next] fdc: Improve error propagation for QOM realize

2013-07-22 Thread Stefan Hajnoczi
On Sun, Jul 21, 2013 at 11:31:57AM +0200, Andreas Färber wrote: > Rename fdctrl_init_common() to fdctrl_realize_common() and let > fdctrl_connect_drives() propagate an Error through it. > > Signed-off-by: Andreas Färber > --- > hw/block/fdc.c | 40 ++-- > 1 fi

Re: [Qemu-devel] [PATCH qom-next] fdc: Improve error propagation for QOM realize

2013-07-22 Thread Hu Tao
On Sun, Jul 21, 2013 at 11:31:57AM +0200, Andreas Färber wrote: > Rename fdctrl_init_common() to fdctrl_realize_common() and let > fdctrl_connect_drives() propagate an Error through it. > > Signed-off-by: Andreas Färber > --- > hw/block/fdc.c | 40 ++-- > 1 fi

[Qemu-devel] [PATCH qom-next] fdc: Improve error propagation for QOM realize

2013-07-21 Thread Andreas Färber
Rename fdctrl_init_common() to fdctrl_realize_common() and let fdctrl_connect_drives() propagate an Error through it. Signed-off-by: Andreas Färber --- hw/block/fdc.c | 40 ++-- 1 file changed, 22 insertions(+), 18 deletions(-) diff --git a/hw/block/fdc.c b/h