[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] char: do not use atexit cleanup handler
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [PATCH] char: do not use atexit cleanup handler |
Date: |
Mon, 4 Jul 2016 19:08:41 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 |
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.
(FWIW, it's not so easy to shut down the threads because for example
some threads might belong to non-hotunpluggable devices).
Paolo