• D
    Fix potential deadlock when agent is closed · 362d0477
    Daniel P. Berrange 提交于
    If the qemuAgentClose method is called from a place which holds
    the domain lock, it is theoretically possible to get a deadlock
    in the agent destroy callback. This has not been observed, but
    the equivalent code in the QEMU monitor destroy callback has seen
    a deadlock.
    
    Remove the redundant locking while unrefing the object and the
    bogus assignment
    Signed-off-by: NDaniel P. Berrange <berrange@redhat.com>
    362d0477
qemu_process.c 135.8 KB