Re: [Qemu-devel] [PATCH v2 08/18] hw/nvram/fw_cfg: Move fw_cfg_file_slots_allocate() to common_realize()

2019-03-08 Thread Laszlo Ersek
On 03/08/19 02:32, Philippe Mathieu-Daudé wrote: > Each implementation (I/O and MEM) calls fw_cfg_file_slots_allocate() > then fw_cfg_common_realize(). > Simplify by moving the fw_cfg_file_slots_allocate() call into > fw_cfg_common_realize() where it belongs. The patch does more than that,

[Qemu-devel] [PATCH v2 08/18] hw/nvram/fw_cfg: Move fw_cfg_file_slots_allocate() to common_realize()

2019-03-07 Thread Philippe Mathieu-Daudé
Each implementation (I/O and MEM) calls fw_cfg_file_slots_allocate() then fw_cfg_common_realize(). Simplify by moving the fw_cfg_file_slots_allocate() call into fw_cfg_common_realize() where it belongs. Signed-off-by: Philippe Mathieu-Daudé --- hw/nvram/fw_cfg.c | 17 ++--- 1 file