diff options
| author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2023-09-04 14:43:14 +0200 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2023-09-07 13:32:37 +0200 |
| commit | 2686bbce3f8a0f55601792e4c1f86d9e83948312 (patch) | |
| tree | 1c1c187935638ad342afa4f0f59b6021df1ac80c | |
| parent | d1aa2f5094da54028fc2c5575766cf9097a0164c (diff) | |
| download | focaccia-qemu-2686bbce3f8a0f55601792e4c1f86d9e83948312.tar.gz focaccia-qemu-2686bbce3f8a0f55601792e4c1f86d9e83948312.zip | |
hw/i386/fw_cfg: Include missing 'cpu.h' header
fw_cfg_build_feature_control() uses CPUID_EXT_VMX which is defined in "target/i386/cpu.h". Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-ID: <20230904124325.79040-4-philmd@linaro.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
| -rw-r--r-- | hw/i386/fw_cfg.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/i386/fw_cfg.c b/hw/i386/fw_cfg.c index 72a42f3c66..7362daa45a 100644 --- a/hw/i386/fw_cfg.c +++ b/hw/i386/fw_cfg.c @@ -24,6 +24,7 @@ #include "kvm/kvm_i386.h" #include "qapi/error.h" #include CONFIG_DEVICES +#include "target/i386/cpu.h" struct hpet_fw_config hpet_cfg = {.count = UINT8_MAX}; |