[libvirt-users] global lock when executing hook scripts
Vasiliy Tolstov
v.tolstov at selfip.ru
Thu Jul 23 13:26:15 UTC 2015
2015-07-23 16:22 GMT+03:00 Daniel P. Berrange <berrange at redhat.com>:
> The process for starting up a QEMU guest holds locks on various
> data structures. These same locks are needed when running a variety
> of other commands such as those run by virsh list. So those commands
> will be blocked until the guest startup lock is released, which
> in turns is pending on the hook script exiting. This why hook
> scripts should never call back into libvirt APIs, and why they should
> also try to be as fast as possible at execution.
Thank you for your explanation!
--
Vasiliy Tolstov,
e-mail: v.tolstov at selfip.ru
More information about the libvirt-users
mailing list