Re: [PATCH 1/2] virsh: Show 'connected to console' message later

2024-04-02 Thread Peter Krempa
On Mon, Apr 01, 2024 at 15:58:30 +0200, Andrea Bolognani wrote: > Right now, we display the message before actually attempting > to connect to the VM console. That operation, however, can > fail for a number of reasons: for example, is the VM doesn't > have a serial device, the output ends up

[PATCH 1/2] virsh: Show 'connected to console' message later

2024-04-01 Thread Andrea Bolognani
Right now, we display the message before actually attempting to connect to the VM console. That operation, however, can fail for a number of reasons: for example, is the VM doesn't have a serial device, the output ends up looking like $ virsh console cirros Connected to domain 'cirros'