Re: [Qemu-devel] [PATCH 2/2] hw/scsi/vmw_pvscsi: Convert to realize

2017-07-26 Thread Dmitry Fleytman
> On 26 Jul 2017, at 11:41 AM, Mao Zhongyi wrote: > > Convert a device model where initialization obviously > can't fail, make it implement realize() rather than init(). Acked-by: Dmitry Fleytman mailto:dmi...@daynix.com>> > > Cc: Dmitry Fleytman > Cc: Paolo Bonzini > Cc: Markus Armbruster

[Qemu-devel] [PATCH 2/2] hw/scsi/vmw_pvscsi: Convert to realize

2017-07-26 Thread Mao Zhongyi
Convert a device model where initialization obviously can't fail, make it implement realize() rather than init(). Cc: Dmitry Fleytman Cc: Paolo Bonzini Cc: Markus Armbruster Signed-off-by: Mao Zhongyi --- hw/scsi/vmw_pvscsi.c | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff