[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt-users] global lock when executing hook scripts



2015-07-23 16:22 GMT+03:00 Daniel P. Berrange <berrange 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 selfip ru


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]