Re: [PATCH] tools: console: Use proper constructor

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

 



On 8/5/19 6:03 PM, Roman Bolshakov wrote:
> "virsh console" on macOS cannot attach to a domain and it doesn't matter if
> it's local or remote domain:
>   $ ~ virsh console vm
>   Connected to domain vm
>   Escape character is ^]
>   error: internal error: unable to wait on console condition
> 
> The error comes from pthread_cond_wait that fails with EINVAL. The mutex
> in the parent is not initialized with pthread_mutex_init and it results
> in silent failure of pthead_mutex_lock and the attach failure.
> 
> Fixes: 98361cc3b95 ("tools: console: make console virLockableObject")
> Signed-off-by: Roman Bolshakov <r.bolshakov@xxxxxxxxx>
> ---
>  tools/virsh-console.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 

Ooops, ACKed and pushed.

Michal

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux