Re: [libvirt] [PATCH v2 0/8] Don't hold both monitor and agent jobs at the same time

2020-01-16 Thread Jonathon Jongsma
On Thu, 2020-01-16 at 09:46 -0600, Eric Blake wrote: > On 1/10/20 5:32 PM, Jonathon Jongsma wrote: > > We have to assume that the guest agent may be malicious, so we > > don't want to > > allow any agent queries to block any other libvirt API. By holding > > a monitor > > job and an agent job while

Re: [libvirt] [PATCH v2 0/8] Don't hold both monitor and agent jobs at the same time

2020-01-16 Thread Eric Blake
On 1/10/20 5:32 PM, Jonathon Jongsma wrote: We have to assume that the guest agent may be malicious, so we don't want to allow any agent queries to block any other libvirt API. By holding a monitor job and an agent job while we're querying the agent, any other threads will be blocked from using t

[libvirt] [PATCH v2 0/8] Don't hold both monitor and agent jobs at the same time

2020-01-10 Thread Jonathon Jongsma
We have to assume that the guest agent may be malicious, so we don't want to allow any agent queries to block any other libvirt API. By holding a monitor job and an agent job while we're querying the agent, any other threads will be blocked from using the monitor while the agent is unresponsive. Be