On 08/06/2015 14:23, Gabriel L. Somlo wrote:
> I'm wonderingjust when exactly to start sorting items in fw_cfg ? 
> 
> Different machine types insert different blobs at various points
> during their initialization (and possibly on-demand during hot-plug
> events, I'm not 100% sure).

Hotplug may modify contents (I don't think it does), but it shouldn't
add files.

> So when exactly can we know that "we now have everything, it's time to
> start sorting" ?

There is a machine_ready callback.

> I'm also assuming this applies to named (file) entries only, and the
> unnamed entries (with "indices" in the "table" < FW_CFG_FILE_DIR) will
> not have to be sorted.

Yes.

Paolo

Reply via email to