]> git.ipfire.org Git - thirdparty/qemu.git/commit
fw_cfg: allow building without other devices
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 12 Dec 2019 13:12:27 +0000 (14:12 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 17 Dec 2019 18:33:48 +0000 (19:33 +0100)
commitb54f33c4e07758f05ead2c27a2dcd1c1b87a34e7
tree87b9f69199cf67b8567e80d963a5e7985bb4a1d7
parentfeab2124a68ded981a3df60959df820d7a795687
fw_cfg: allow building without other devices

The microvm machine type uses fw_cfg but lacks SMBIOS and ACPI.  Do not
include the files if the symbol is not present in QEMU and remove
dependencies on machine-specific files.

Reviewed-by: Sergio Lopez <slp@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/i386/fw_cfg.c
hw/i386/pc.c