[libvirt PATCH 06/10] qemu_agent: Use automatic mutex management