Re: [libvirt] [PATCH v3] tools: console: Relax stream EOF handling

2019-08-23 Thread Michal Privoznik
On 8/21/19 3:33 PM, Roman Bolshakov wrote: Regular VM shutdown triggers the error for existing session of virsh console and it returns with non-zero exit code: error: internal error: console stream EOF The message and status code are misleading because there's no real error. virStreamRecv

Re: [libvirt] [PATCH v3] tools: console: Relax stream EOF handling

2019-08-21 Thread Daniel Henrique Barboza
On 8/21/19 10:33 AM, Roman Bolshakov wrote: Regular VM shutdown triggers the error for existing session of virsh console and it returns with non-zero exit code: error: internal error: console stream EOF The message and status code are misleading because there's no real error.

[libvirt] [PATCH v3] tools: console: Relax stream EOF handling

2019-08-21 Thread Roman Bolshakov
Regular VM shutdown triggers the error for existing session of virsh console and it returns with non-zero exit code: error: internal error: console stream EOF The message and status code are misleading because there's no real error. virStreamRecv returns 0 correctly when EOF is reached.