qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] slirp: use exit notifier for slirp_smb_cleanup


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH] slirp: use exit notifier for slirp_smb_cleanup
Date: Wed, 13 Jul 2016 09:40:37 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1


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 <address@hidden>
>> 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 <address@hidden>
>> Reviewed-by: Marc-André Lureau <address@hidden>
> 
> Reviewed-by: Jason Wang <address@hidden>

Thanks!

Paolo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]