acpi: factor out fw_cfg_add_acpi_dsdt()
commit0575c2fd6ddeba1fbe6e4dca959917895aa8ee31
authorGerd Hoffmann <kraxel@redhat.com>
Fri, 19 Jun 2020 09:19:00 +0000 (19 11:19 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 24 Jun 2020 21:18:28 +0000 (24 17:18 -0400)
tree864eb612b7a630b9da5a0e3211f5f61dc33f408e
parentdf0f3d134a92cbbe07ccbfc017f39ed2dbcc6a3f
acpi: factor out fw_cfg_add_acpi_dsdt()

Add helper function to add fw_cfg device,
also move code to hw/i386/fw_cfg.c.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Message-Id: <20200619091905.21676-8-kraxel@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/i386/acpi-build.c
hw/i386/fw_cfg.c
hw/i386/fw_cfg.h