[libvirt] [PATCH v2 10/24] conf: Move index number checking to drivers