qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] fw cfg files cross-version migration races


From: Paolo Bonzini
Subject: Re: [Qemu-devel] fw cfg files cross-version migration races
Date: Mon, 08 Jun 2015 14:28:28 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0


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

[Prev in Thread] Current Thread [Next in Thread]