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 <[email protected]> > --- > tools/virsh-console.c | 74 > ++++++++++++++++++++++++++++++++++++++------------- > 1 file changed, 55 insertions(+), 19 deletions(-) >
Reviewed-by: Cole Robinson <[email protected]> - Cole -- libvir-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/libvir-list
