Re: [Spice-devel] [PATCH] server: fix segfault if no migrate_info provided

2011-07-06 Thread Alon Levy
On Tue, Jul 05, 2011 at 04:12:47PM +0300, Yonit Halperin wrote: On 07/05/2011 03:22 PM, Alon Levy wrote: On Mon, Jun 20, 2011 at 10:57:58AM +0200, Alon Levy wrote: ping? qemu calls spice_server_migrate_switch even if it didn't do a spice_server_migrate_info first. Fix the resulting error

Re: [Spice-devel] [PATCH] server: fix segfault if no migrate_info provided

2011-07-05 Thread Alon Levy
On Mon, Jun 20, 2011 at 10:57:58AM +0200, Alon Levy wrote: ping? qemu calls spice_server_migrate_switch even if it didn't do a spice_server_migrate_info first. Fix the resulting error by not pushing a switch host tag to the pipe in this case, and add a check anyway in the marshalling code

Re: [Spice-devel] [PATCH] server: fix segfault if no migrate_info provided

2011-07-05 Thread Yonit Halperin
On 07/05/2011 03:22 PM, Alon Levy wrote: On Mon, Jun 20, 2011 at 10:57:58AM +0200, Alon Levy wrote: ping? qemu calls spice_server_migrate_switch even if it didn't do a spice_server_migrate_info first. Fix the resulting error by not pushing a switch host tag to the pipe in this case, and add a