Re: [libvirt] [PATCH v2] Allow destroying QEMU VM even if a job is active

2011-05-10 Thread Eric Blake
On 05/09/2011 10:58 AM, Daniel P. Berrange wrote: Introduce a virProcessKill function that can be safely called even when the job mutex is held. This allows virDomainDestroy to kill any VM even if it is asleep in a monitor job. The PID will die and the thread asleep on the monitor will then

[libvirt] [PATCH v2] Allow destroying QEMU VM even if a job is active

2011-05-09 Thread Daniel P. Berrange
Introduce a virProcessKill function that can be safely called even when the job mutex is held. This allows virDomainDestroy to kill any VM even if it is asleep in a monitor job. The PID will die and the thread asleep on the monitor will then wake up releasing the job mutex. *