Re: [libvirt] [PATCH] processSerialChangedEvent: Close agent monitor early

2015-05-07 Thread Michal Privoznik
On 06.05.2015 18:33, Daniel P. Berrange wrote: > On Wed, May 06, 2015 at 10:27:50AM -0600, Eric Blake wrote: >> On 05/06/2015 02:46 AM, Michal Privoznik wrote: >>> https://bugzilla.redhat.com/show_bug.cgi?id=890648 >>> >>> So, imagine you've issued an API that involves guest agent. For >>> instance

Re: [libvirt] [PATCH] processSerialChangedEvent: Close agent monitor early

2015-05-07 Thread Michal Privoznik
On 06.05.2015 18:27, Eric Blake wrote: > On 05/06/2015 02:46 AM, Michal Privoznik wrote: >> https://bugzilla.redhat.com/show_bug.cgi?id=890648 >> >> So, imagine you've issued an API that involves guest agent. For >> instance, you want to query guest's IP addresses. So the API acquires >> QUERY_JOB,

Re: [libvirt] [PATCH] processSerialChangedEvent: Close agent monitor early

2015-05-06 Thread Daniel P. Berrange
On Wed, May 06, 2015 at 10:27:50AM -0600, Eric Blake wrote: > On 05/06/2015 02:46 AM, Michal Privoznik wrote: > > https://bugzilla.redhat.com/show_bug.cgi?id=890648 > > > > So, imagine you've issued an API that involves guest agent. For > > instance, you want to query guest's IP addresses. So the

Re: [libvirt] [PATCH] processSerialChangedEvent: Close agent monitor early

2015-05-06 Thread Eric Blake
On 05/06/2015 02:46 AM, Michal Privoznik wrote: > https://bugzilla.redhat.com/show_bug.cgi?id=890648 > > So, imagine you've issued an API that involves guest agent. For > instance, you want to query guest's IP addresses. So the API acquires > QUERY_JOB, locks the guest agent and issues the agemt c

[libvirt] [PATCH] processSerialChangedEvent: Close agent monitor early

2015-05-06 Thread Michal Privoznik
https://bugzilla.redhat.com/show_bug.cgi?id=890648 So, imagine you've issued an API that involves guest agent. For instance, you want to query guest's IP addresses. So the API acquires QUERY_JOB, locks the guest agent and issues the agemt command. However, for some reason, guest agent replies to i