On 13/07/2016 04:34, Jason Wang wrote: > > > On 2016年07月12日 18:15, Marc-André Lureau wrote: >> Hi >> >> On Tue, Jul 12, 2016 at 11:23 AM, Paolo Bonzini <pbonz...@redhat.com> >> wrote: >>> We would like to move back net_cleanup() at the end of main function, >>> like it used to be until f30dbae63a46f23116715dff8d130c, but minimum >>> cleanup is needed regardless at exit() time for slirp's SMB >>> functionality. Use an exit notifier to call slirp_smb_cleanup. >>> If net_cleanup() is called first, then remove the exit notifier as it >>> will become a dangling pointer otherwise. >>> >>> Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> >> Reviewed-by: Marc-André Lureau <marcandre.lur...@redhat.com> > > Reviewed-by: Jason Wang <jasow...@redhat.com>
Thanks! Paolo