diff mbox series

[01/13] hw/i386/pc: Include missing 'sysemu/tcg.h' header

Message ID 20230904124325.79040-2-philmd@linaro.org
State New
Headers show
Series target/i386: Cleanups around KVM declarations | expand

Commit Message

Philippe Mathieu-Daudé Sept. 4, 2023, 12:43 p.m. UTC
Since commit 6f529b7534 ("target/i386: move FERR handling
to target/i386") pc_q35_init() calls tcg_enabled() which
is declared in "sysemu/tcg.h".

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
 hw/i386/pc_q35.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Richard Henderson Sept. 9, 2023, 11:29 p.m. UTC | #1
On 9/4/23 05:43, Philippe Mathieu-Daudé wrote:
> Since commit 6f529b7534 ("target/i386: move FERR handling
> to target/i386") pc_q35_init() calls tcg_enabled() which
> is declared in "sysemu/tcg.h".
> 
> Signed-off-by: Philippe Mathieu-Daudé<philmd@linaro.org>
> ---
>   hw/i386/pc_q35.c | 1 +
>   1 file changed, 1 insertion(+)

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~
diff mbox series

Patch

diff --git a/hw/i386/pc_q35.c b/hw/i386/pc_q35.c
index 37c4814bed..43413dd1ac 100644
--- a/hw/i386/pc_q35.c
+++ b/hw/i386/pc_q35.c
@@ -34,6 +34,7 @@ 
 #include "hw/loader.h"
 #include "hw/i2c/smbus_eeprom.h"
 #include "hw/rtc/mc146818rtc.h"
+#include "sysemu/tcg.h"
 #include "sysemu/kvm.h"
 #include "hw/kvm/clock.h"
 #include "hw/pci-host/q35.h"