[libvirt] [PATCH 0/3] Only talk to qemu guest agent when the domain is running

Eric Blake eblake at redhat.com
Fri Feb 27 23:01:17 UTC 2015


On 02/27/2015 08:30 AM, Ján Tomko wrote:
> Previously, only virDomainObjIsActive() was used to check domain liveness.
> This includes states like 'VIR_DOMAIN_PMSUSPENDED', where QEMU is running,
> but the guest is not.
> 
> Explicitly check the state against VIR_DOMAIN_RUNNING and refuse to
> communicate with the agent if it does not match.
> 
> https://bugzilla.redhat.com/show_bug.cgi?id=872424
> 
> Ján Tomko (3):
>   Check for qemu guest agent availability after getting the job
>   Pass virDomainObjPtr to qemuDomainAgentAvailable
>   Check if domain is running in qemuDomainAgentIsAvailable

ACK series; since it fixes a bug it is probably safe for freeze.

> 
>  src/qemu/qemu_domain.c | 11 ++++++++++-
>  src/qemu/qemu_domain.h |  2 +-
>  src/qemu/qemu_driver.c | 49 +++++++++++++++++++++++++------------------------
>  3 files changed, 36 insertions(+), 26 deletions(-)
> 

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 604 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20150227/bd551c1a/attachment-0001.sig>


More information about the libvir-list mailing list