Re: [Qemu-devel] [PATCH] Fix segfault after migration completes

2011-10-28 Thread Eduardo Habkost
On Fri, Oct 28, 2011 at 12:58:04PM -0200, Luiz Capitulino wrote: [...] > > So, 's->file' is NULL in migrate_fd_put_notify(). The interesting thing > is that it's valid in the qemu_file_put_notify() call, which makes me > think that either: there's a race somewhere or qemu_file_put_notify() is > it

Re: [Qemu-devel] [PATCH] Fix segfault after migration completes

2011-10-28 Thread Paolo Bonzini
On 10/28/2011 04:58 PM, Luiz Capitulino wrote: To reproduce: 1. Start the source VM with: # qemu [...] -S 2. Start the destination VM with: # qemu -incoming tcp:0: 3. In the source VM: (qemu) migrate -d tcp:0: 3. The source VM will segfault as soon as migration completes (m

[Qemu-devel] [PATCH] Fix segfault after migration completes

2011-10-28 Thread Luiz Capitulino
To reproduce: 1. Start the source VM with: # qemu [...] -S 2. Start the destination VM with: # qemu -incoming tcp:0: 3. In the source VM: (qemu) migrate -d tcp:0: 3. The source VM will segfault as soon as migration completes (might not happen in the first try) Here's the bac