aboutsummaryrefslogtreecommitdiff
path: root/hw/core
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2022-11-30 14:56:41 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2023-01-06 00:50:32 +0100
commitcc6ff741123216550997b12cdd991beeed47bd0d (patch)
tree5aeba3a926053bdb841efead73d77cd8e0d23593 /hw/core
parent3d277871f39d4de42f56b7b0cef5721e525b2d31 (diff)
downloadqemu-cc6ff741123216550997b12cdd991beeed47bd0d.zip
qemu-cc6ff741123216550997b12cdd991beeed47bd0d.tar.gz
qemu-cc6ff741123216550997b12cdd991beeed47bd0d.tar.bz2
hw: Reduce "qemu/accel.h" inclusion
Move "qemu/accel.h" include from the heavily included "hw/boards.h" to hw/core/machine.c, the single file using the AccelState definition. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Fabiano Rosas <farosas@suse.de> Message-Id: <20221130135641.85328-3-philmd@linaro.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/core')
-rw-r--r--hw/core/machine.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/core/machine.c b/hw/core/machine.c
index f589b92..616f3a2 100644
--- a/hw/core/machine.c
+++ b/hw/core/machine.c
@@ -12,6 +12,7 @@
#include "qemu/osdep.h"
#include "qemu/option.h"
+#include "qemu/accel.h"
#include "qapi/qmp/qerror.h"
#include "sysemu/replay.h"
#include "qemu/units.h"