Re: [PATCH 1/3] qemuDomainGetGuestInfo: Exit early if getting info fails

2020-12-01 Thread Michal Privoznik
On 12/1/20 4:39 PM, Ján Tomko wrote: 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,

Re: [PATCH 1/3] qemuDomainGetGuestInfo: Exit early if getting info fails

2020-12-01 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, which is why there is a code that trie

[PATCH 1/3] 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, which is why there is a code that tries to match info obtained from the guest agent wi