Hi ----- Original Message ----- > > > On 04/07/2016 19:07, Daniel P. Berrange wrote: > > > At this point you have stopped all CPUs and block devices. There is not > > > much else that is going on in QEMU at all, at this point. The solution > > > would be to stop those threads. > > > > What about graphics threads ? In particular I'd be thinking of spice > > which uses threads and chardevs. > > I think it should be quiesced after pause_all_vcpus returns. Marc-André > should know, but it's better to check with Gerd.
In theory, spice_server_vm_stop() should be called at this point, and all chardev in spice are stopped too there, as well as the qxl worker processing thread (although the thread is not joined here neither..). > (FWIW, it's not so easy to shut down the threads because for example > some threads might belong to non-hotunpluggable devices). ok