]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
qemu: Avoid entering monitor with locked driver
authorJiri Denemark <jdenemar@redhat.com>
Tue, 27 Mar 2012 11:32:43 +0000 (13:32 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Tue, 27 Mar 2012 12:18:12 +0000 (14:18 +0200)
commit2067e31bf97667eab9f111b496f5e9a44e827c5b
treed4896992ec8252089aa7aa720bcf389f359b1f16
parentecb4d92d579413fc0aac867a59b5e777cbbe38e1
qemu: Avoid entering monitor with locked driver

This avoids possible deadlock of the qemu driver in case a domain is
begin migrated (in Begin phase) and unrelated connection to qemu driver
is closed at the right time.

I checked all callers of qemuDomainCheckEjectableMedia() and they are
calling this function with qemu driver locked.
src/qemu/qemu_hotplug.c