• D
    Allow destroying QEMU VM even if a job is active · cbf9f2f2
    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.
    
    * src/qemu/qemu_driver.c: Kill process before using qemuProcessStop
      to ensure job is released
    * src/qemu/qemu_process.c: Add virProcessKill for killing off
      QEMU processes
    cbf9f2f2
qemu_process.c 76.6 KB