Re: [Qemu-devel] [PATCH] migration: fix detached migration with fd

2011-11-11 Thread Anthony Liguori
On 11/09/2011 02:29 PM, Juan Quintela wrote: Migration with fd uses s->mon to pass the fd. But we only assign the s->mon for !detached migration. Fix it. Once there add a comment indicating that s->mon has two uses. Bug reported by: Wen Congyang Signed-off-by: Juan Quintela CC: Wen Congyan

Re: [Qemu-devel] [PATCH] migration: fix detached migration with fd

2011-11-09 Thread Stefan Berger
On 11/09/2011 03:29 PM, Juan Quintela wrote: Migration with fd uses s->mon to pass the fd. But we only assign the s->mon for !detached migration. Fix it. Once there add a comment indicating that s->mon has two uses. I had encounter the NULL pointer problem when suspending using 'virsh save.

[Qemu-devel] [PATCH] migration: fix detached migration with fd

2011-11-09 Thread Juan Quintela
Migration with fd uses s->mon to pass the fd. But we only assign the s->mon for !detached migration. Fix it. Once there add a comment indicating that s->mon has two uses. Bug reported by: Wen Congyang Signed-off-by: Juan Quintela CC: Wen Congyang --- migration.c | 12 ++-- 1 fi