[libvirt PATCH v3 1/6] conf: Refactor video model parsing