[libvirt] [PATCH 5/8] Add higher level lock API for domain objects