[libvirt] [PATCH v2 1/4] Add a read/write lock implementation