]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/nvram/fw_cfg: Pass QOM parent to fw_cfg_add_file_from_generator()
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Fri, 6 Dec 2024 16:04:09 +0000 (17:04 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Fri, 13 Dec 2024 14:54:02 +0000 (15:54 +0100)
commit51680269fe08a739ac95dd651a11430b318b5bdf
treed84c3ba2d3ebc0fcdd1ff349d4d975ca23d59798
parente20a4425ca360b473182ef60e00319c07e3a8799
hw/nvram/fw_cfg: Pass QOM parent to fw_cfg_add_file_from_generator()

Currently fw_cfg_add_file_from_generator() is restricted
to command line created objects which reside in the
'/objects' QOM container. In order to extend to other
types of containers, pass the QOM parent by argument.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20241206181352.6836-3-philmd@linaro.org>
hw/nvram/fw_cfg.c
include/hw/nvram/fw_cfg.h
system/vl.c