Re: [PATCH v2] qemuDomainGetGuestInfo: Exit early if getting info fails

2020-12-02 Thread Ján Tomko
On a Tuesday in 2020, Michal Privoznik wrote: If there is an error getting info from guest agent, then the control on qemuDomainGetGuestInfo() jumps onto 'exitagent' label and subsequently continues on 'endagentjob'. Both labels are hit also in success case too. The control then continues by

[PATCH v2] qemuDomainGetGuestInfo: Exit early if getting info fails

2020-12-01 Thread Michal Privoznik
If there is an error getting info from guest agent, then the control on qemuDomainGetGuestInfo() jumps onto 'exitagent' label and subsequently continues on 'endagentjob'. Both labels are hit also in success case too. The control then continues by attempting to match fetched info (e.g. disk