Roman Bolshakov
9fbf56855d
tools: console: Use proper constructor
...
"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@yadro.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
2019-08-05 19:39:44 +02:00
..
2018-01-11 18:53:04 +01:00
2019-07-15 13:48:19 +02:00
2019-06-19 17:12:34 +02:00
2019-07-03 08:36:03 +02:00
2017-10-16 10:22:34 +01:00
2018-04-24 10:46:41 +02:00
2018-04-12 16:52:01 +01:00
2019-07-26 16:48:58 -05:00
2019-07-26 16:48:58 -05:00
2019-07-26 16:48:58 -05:00
2019-07-26 16:48:58 -05:00
2019-07-26 16:48:58 -05:00
2019-08-05 19:39:44 +02:00
2019-06-19 17:12:34 +02:00
2019-07-26 16:48:58 -05:00
2019-06-19 17:12:34 +02:00
2019-07-26 16:48:58 -05:00
2019-06-19 17:12:34 +02:00
2019-01-03 13:24:18 +01:00
2019-04-11 12:47:23 -04:00
2019-06-19 17:12:34 +02:00
2019-01-03 13:24:18 +01:00
2019-06-19 17:12:34 +02:00
2019-06-17 15:30:36 +01:00
2019-06-19 17:12:34 +02:00
2019-07-18 16:53:33 +02:00
2019-06-19 17:12:34 +02:00
2019-01-03 13:24:18 +01:00
2019-06-19 17:12:34 +02:00
2019-07-13 17:40:09 +02:00
2019-06-19 17:12:34 +02:00
2019-04-10 09:12:04 +02:00
2019-06-19 17:12:34 +02:00
2019-07-10 17:34:58 -05:00
2019-06-19 17:12:34 +02:00
2019-07-26 16:48:58 -05:00
2019-07-26 16:48:58 -05:00
2019-04-11 12:47:23 -04:00
2019-06-19 17:12:34 +02:00
2019-07-26 16:48:58 -05:00
2019-07-26 16:48:58 -05:00
2019-07-29 08:22:29 -05:00
2019-01-03 13:24:18 +01:00
2019-06-19 17:12:34 +02:00
2019-04-10 09:12:04 +02:00
2019-06-19 17:12:34 +02:00
2019-04-15 17:37:52 +02:00
2018-09-20 10:16:38 +02:00
2019-06-19 17:12:34 +02:00
2019-04-11 12:47:23 -04:00
2019-06-19 17:12:34 +02:00
2018-10-05 15:53:29 +02:00
2019-06-19 17:12:34 +02:00
2018-10-05 15:53:29 +02:00
2019-06-19 17:12:34 +02:00
2018-09-20 10:16:39 +02:00
2017-10-16 10:22:34 +01:00
2019-01-03 13:24:18 +01:00
2016-06-10 11:03:02 +01:00
2017-10-16 10:22:34 +01:00
2019-07-01 17:20:32 +02:00
2017-10-16 10:22:34 +01:00
2017-10-16 10:22:34 +01:00
2019-06-10 15:39:16 +02:00
2018-07-19 16:16:57 -04:00
2019-02-12 10:14:53 +01:00
2019-06-19 17:12:34 +02:00
2019-07-25 15:06:15 +02:00
2019-06-19 17:12:34 +02:00