[libvirt] [PATCH 1/5] conf: allow different resource registration modes