• J
    qemu: Disable EOF processing during qemuDomainDestroy · 5547d2b8
    Jiri Denemark 提交于
    When destroying a domain qemuDomainDestroy kills its qemu process and
    starts a new job, which means it unlocks the domain object and locks it
    again after some time. Although the object is usually unlocked for a
    pretty short time, chances are another thread processing an EOF event on
    qemu monitor is able to lock the object first and does all the cleanup
    by itself. This leads to wrong shutoff reason and lifecycle event detail
    and virDomainDestroy API incorrectly reporting failure to destroy an
    inactive domain.
    
    Reported by Charlie Smurthwaite.
    5547d2b8
qemu_driver.c 365.5 KB