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