
3 Apr
2019
3 Apr
'19
3:49 p.m.
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.
Signed-off-by: Nikolay Shirokovskiy <nshirokovskiy@virtuozzo.com> --- tools/virsh-console.c | 74 ++++++++++++++++++++++++++++++++++++++------------- 1 file changed, 55 insertions(+), 19 deletions(-)
Reviewed-by: Cole Robinson <crobinso@redhat.com> - Cole