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

2019-12-12 Thread Michal Privoznik
On 12/5/19 5:08 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

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

2019-12-05 Thread Eric Blake
On 12/5/19 10:08 AM, 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

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

2019-12-05 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