Hi, > +static struct FWCfgOption { > + const char *name; > + const char *file; > +} *fw_cfg_options; > +static int fw_cfg_num_options;
> +void fw_cfg_option_add(QemuOpts *opts) > +static void fw_cfg_options_insert(FWCfgState *s) Hmm, when looking at this (and the existing fw_cfg init order issues we have) I get the feeling that we should simply separate the fw_cfg storage and the fw_cfg device, with the storage being initialized early as global service ... cheers, Gerd