Re: [libvirt] [PATCH v3 1/5] tools: console: make console virLockableObject

2019-04-03 Thread Cole Robinson
On 3/18/19 5:08 AM, Nikolay Shirokovskiy wrote: > We need to turn console into virObject object because stream/fd callbacks > can be called from the event loop thread after freeing console > in main thread. It is convinient to turn into virLockableObject as > we have mutex in console object. > > S

[libvirt] [PATCH v3 1/5] tools: console: make console virLockableObject

2019-03-18 Thread Nikolay Shirokovskiy
We need to turn console into virObject object because stream/fd callbacks can be called from the event loop thread after freeing console in main thread. It is convinient to turn into virLockableObject as we have mutex in console object. Signed-off-by: Nikolay Shirokovskiy --- tools/virsh-console