diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2019-12-12 14:12:27 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2019-12-17 19:33:48 +0100 |
commit | b54f33c4e07758f05ead2c27a2dcd1c1b87a34e7 (patch) | |
tree | 87b9f69199cf67b8567e80d963a5e7985bb4a1d7 /hw/i386/pc.c | |
parent | feab2124a68ded981a3df60959df820d7a795687 (diff) |
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>
Diffstat (limited to 'hw/i386/pc.c')
-rw-r--r-- | hw/i386/pc.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/hw/i386/pc.c b/hw/i386/pc.c index 58867f987d..4bb1710fa4 100644 --- a/hw/i386/pc.c +++ b/hw/i386/pc.c @@ -101,8 +101,6 @@ #define DPRINTF(fmt, ...) #endif -struct hpet_fw_config hpet_cfg = {.count = UINT8_MAX}; - GlobalProperty pc_compat_4_2[] = {}; const size_t pc_compat_4_2_len = G_N_ELEMENTS(pc_compat_4_2); |