[libvirt PATCH 07/11] ch: Use automatic mutex management