[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-ppc] [PATCH v2 07/18] hw/nvram/fw_cfg: Add fw_cfg_common_unrea
From: |
Thomas Huth |
Subject: |
Re: [Qemu-ppc] [PATCH v2 07/18] hw/nvram/fw_cfg: Add fw_cfg_common_unrealize() |
Date: |
Fri, 8 Mar 2019 07:55:40 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.0 |
On 08/03/2019 02.32, Philippe Mathieu-Daudé wrote:
> Back in abe147e0ce4 when fw_cfg_add_file() was introduced, there
> was no QOM design, object where not created and released at runtime.
> Later 38f3adc34d finished the QOM conversion of the fw_cfg device,
> adding the fw_cfg_common_realize() method.
> The time has come to add the equivalent destructor and release the
> memory allocated for 'files'.
You should mention that the unrealize function is currently never called
since the object never gets destroyed (AFAIK). But I hope we can fix
that in the not so distant future, so:
Reviewed-by: Thomas Huth <address@hidden>
- [Qemu-ppc] [PATCH v2 04/18] hw/nvram/fw_cfg: Add trace events, (continued)
- [Qemu-ppc] [PATCH v2 04/18] hw/nvram/fw_cfg: Add trace events, Philippe Mathieu-Daudé, 2019/03/07
- [Qemu-ppc] [PATCH v2 05/18] hw/nvram/fw_cfg: Use the ldst API, Philippe Mathieu-Daudé, 2019/03/07
- [Qemu-ppc] [PATCH v2 06/18] hw/nvram/fw_cfg: Remove the unnecessary boot_splash_filedata_size, Philippe Mathieu-Daudé, 2019/03/07
- [Qemu-ppc] [PATCH v2 07/18] hw/nvram/fw_cfg: Add fw_cfg_common_unrealize(), Philippe Mathieu-Daudé, 2019/03/07
- Re: [Qemu-ppc] [PATCH v2 07/18] hw/nvram/fw_cfg: Add fw_cfg_common_unrealize(),
Thomas Huth <=
- Re: [Qemu-ppc] [Qemu-devel] [PATCH v2 07/18] hw/nvram/fw_cfg: Add fw_cfg_common_unrealize(), Markus Armbruster, 2019/03/09
- [Qemu-ppc] [PATCH v2 08/18] hw/nvram/fw_cfg: Move fw_cfg_file_slots_allocate() to common_realize(), Philippe Mathieu-Daudé, 2019/03/07
- [Qemu-ppc] [PATCH v2 09/18] hw/nvram/fw_cfg: Free file_slots in common_unrealize(), Philippe Mathieu-Daudé, 2019/03/07
- [Qemu-ppc] [PATCH v2 10/18] hw/nvram/fw_cfg: Add reboot_timeout to FWCfgState, Philippe Mathieu-Daudé, 2019/03/07