Re: [libvirt] [v2 RESEND 3/3] qemu: Switch code to use new agent job APIs

2018-06-19 Thread Jiri Denemark
On Tue, Jun 19, 2018 at 19:03:24 +0200, Michal Prívozník wrote: > On 06/19/2018 05:05 PM, Jiri Denemark wrote: > > On Tue, Jun 19, 2018 at 08:38:02 +0200, Michal Privoznik wrote: > >> There are two sets of functions here: > >> 1) some functions talk on both monitor and agent monitor, > >> 2) some f

Re: [libvirt] [v2 RESEND 3/3] qemu: Switch code to use new agent job APIs

2018-06-19 Thread Michal Prívozník
On 06/19/2018 05:05 PM, Jiri Denemark wrote: > On Tue, Jun 19, 2018 at 08:38:02 +0200, Michal Privoznik wrote: >> There are two sets of functions here: >> 1) some functions talk on both monitor and agent monitor, >> 2) some functions only talk on agent monitor. >> >> For functions from set 1) we ne

Re: [libvirt] [v2 RESEND 3/3] qemu: Switch code to use new agent job APIs

2018-06-19 Thread Jiri Denemark
On Tue, Jun 19, 2018 at 08:38:02 +0200, Michal Privoznik wrote: > There are two sets of functions here: > 1) some functions talk on both monitor and agent monitor, > 2) some functions only talk on agent monitor. > > For functions from set 1) we need to use > qemuDomainObjBeginJobWithAgent() and fo

[libvirt] [v2 RESEND 3/3] qemu: Switch code to use new agent job APIs

2018-06-18 Thread Michal Privoznik
There are two sets of functions here: 1) some functions talk on both monitor and agent monitor, 2) some functions only talk on agent monitor. For functions from set 1) we need to use qemuDomainObjBeginJobWithAgent() and for functions from set 2) we need to use qemuDomainObjBeginAgentJob() only. S