[Spice-devel] bad primary surface and server crash after migration

2011-07-04 Thread Yonit Halperin
Hi Gerd, I encountered several problems after migration, maybe you can help: 1) on qxl_pre_load, sometimes the command ring is not empty and when handle_dev_destroy_surface (on hard reset), flush_all_qxl_commands is called. When attempting to process a command we receive id 0, group 0, virt star

Re: [Spice-devel] bad primary surface and server crash after migration

2011-07-10 Thread Yonit Halperin
On 07/04/2011 12:23 PM, Gerd Hoffmann wrote: On 07/04/11 10:51, Yonit Halperin wrote: Hi Gerd, I encountered several problems after migration, maybe you can help: 1) on qxl_pre_load, sometimes the command ring is not empty and when handle_dev_destroy_surface (on hard reset), flush_all_qxl_comma

Re: [Spice-devel] bad primary surface and server crash after migration

2011-07-10 Thread Gerd Hoffmann
Hi, I pushed this fix. But, as Alon discovered, after shutdown of the vm and then calling system_reset, it causes another problem: before starting the vm, qxl_hard_reset is called. It calls destroy_all_surfaces, which attempts to flush the command rings, but since the worker is not running, it doe

Re: [Spice-devel] bad primary surface and server crash after migration

2011-07-04 Thread Yonit Halperin
On 07/04/2011 11:54 AM, Yonit Halperin wrote: Hi Gerd, I encountered several problems after migration, maybe you can help: 1) on qxl_pre_load, sometimes the command ring is not empty and when handle_dev_destroy_surface (on hard reset), flush_all_qxl_commands is called. When attempting to process

Re: [Spice-devel] bad primary surface and server crash after migration

2011-07-04 Thread Gerd Hoffmann
On 07/04/11 10:51, Yonit Halperin wrote: Hi Gerd, I encountered several problems after migration, maybe you can help: 1) on qxl_pre_load, sometimes the command ring is not empty and when handle_dev_destroy_surface (on hard reset), flush_all_qxl_commands is called. When attempting to process a co

Re: [Spice-devel] bad primary surface and server crash after migration

2011-07-04 Thread Yonit Halperin
On 07/04/2011 12:23 PM, Gerd Hoffmann wrote: On 07/04/11 10:51, Yonit Halperin wrote: Hi Gerd, I encountered several problems after migration, maybe you can help: 1) on qxl_pre_load, sometimes the command ring is not empty and when handle_dev_destroy_surface (on hard reset), flush_all_qxl_comma