Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
philmd authored and bonzini committed Sep 7, 2023
1 parent d1aa2f5 commit 2686bbc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hw/i386/fw_cfg.c
Expand Up @@ -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};

Expand Down

0 comments on commit 2686bbc

Please sign in to comment.