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