[libvirt] [PATCH 08/11] Add higher level lock API for domain objects