[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 03/13] hw/i386/fw_cfg: Include missing 'cpu.h' header
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH 03/13] hw/i386/fw_cfg: Include missing 'cpu.h' header |
Date: |
Mon, 4 Sep 2023 14:43:14 +0200 |
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>
---
hw/i386/fw_cfg.c | 1 +
1 file changed, 1 insertion(+)
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};
--
2.41.0
- [PATCH 00/13] target/i386: Cleanups around KVM declarations, Philippe Mathieu-Daudé, 2023/09/04
- [PATCH 01/13] hw/i386/pc: Include missing 'sysemu/tcg.h' header, Philippe Mathieu-Daudé, 2023/09/04
- [PATCH 02/13] hw/i386/pc: Include missing 'cpu.h' header, Philippe Mathieu-Daudé, 2023/09/04
- [PATCH 03/13] hw/i386/fw_cfg: Include missing 'cpu.h' header,
Philippe Mathieu-Daudé <=
- [PATCH 04/13] target/i386/helper: Restrict KVM declarations to system emulation, Philippe Mathieu-Daudé, 2023/09/04
- [PATCH 05/13] target/i386/cpu-sysemu: Inline kvm_apic_in_kernel(), Philippe Mathieu-Daudé, 2023/09/04
- [PATCH 06/13] target/i386: Remove unused KVM stubs, Philippe Mathieu-Daudé, 2023/09/04
- [PATCH 07/13] target/i386: Allow elision of kvm_enable_x2apic(), Philippe Mathieu-Daudé, 2023/09/04
- [PATCH 08/13] target/i386: Allow elision of kvm_hv_vpindex_settable(), Philippe Mathieu-Daudé, 2023/09/04