Re: [PATCH 2/2] qemu: Check if driver is still available in qemuStateStop()

2020-11-13 Thread Nikolay Shirokovskiy
On 12.11.2020 21:45, Michal Privoznik wrote: > When the host is shutting down then we get PrepareForShutdown > signal on DBus to which we react by creating a thread which > runs virStateStop() and thus qemuStateStop(). But if scheduling > the thread is delayed just a but it may happen that we

[PATCH 2/2] qemu: Check if driver is still available in qemuStateStop()

2020-11-12 Thread Michal Privoznik
When the host is shutting down then we get PrepareForShutdown signal on DBus to which we react by creating a thread which runs virStateStop() and thus qemuStateStop(). But if scheduling the thread is delayed just a but it may happen that we receive SIGTERM (sent by systemd) to which we respond by