aboutsummaryrefslogtreecommitdiff
path: root/hw/arm
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2023-04-05 13:39:29 +0200
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2023-06-28 14:27:59 +0200
commit94522562f68043c0420795c9b4ec8f1d6b40e2fc (patch)
treeaed0e679ee0f78e27cbdbed6c00c3dbbe44a1fc0 /hw/arm
parent674e44c99a204c2796c99cf8be65dea487718975 (diff)
downloadqemu-94522562f68043c0420795c9b4ec8f1d6b40e2fc.zip
qemu-94522562f68043c0420795c9b4ec8f1d6b40e2fc.tar.gz
qemu-94522562f68043c0420795c9b4ec8f1d6b40e2fc.tar.bz2
hw/arm/sbsa-ref: Include missing 'sysemu/kvm.h' header
"sysemu/kvm.h" is indirectly pulled in. Explicit its inclusion to avoid when refactoring include/: hw/arm/sbsa-ref.c:693:9: error: implicit declaration of function 'kvm_enabled' is invalid in C99 [-Werror,-Wimplicit-function-declaration] if (kvm_enabled()) { ^ Reviewed-by: Leif Lindholm <quic_llindhol@quicinc.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-Id: <20230405160454.97436-6-philmd@linaro.org>
Diffstat (limited to 'hw/arm')
-rw-r--r--hw/arm/sbsa-ref.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/arm/sbsa-ref.c b/hw/arm/sbsa-ref.c
index 66500a5..82a28b2 100644
--- a/hw/arm/sbsa-ref.c
+++ b/hw/arm/sbsa-ref.c
@@ -23,6 +23,7 @@
#include "qemu/error-report.h"
#include "qemu/units.h"
#include "sysemu/device_tree.h"
+#include "sysemu/kvm.h"
#include "sysemu/numa.h"
#include "sysemu/runstate.h"
#include "sysemu/sysemu.h"