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