From 1e05888ab5e0f78adb29c4344586fb7a6df572c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Date: Wed, 5 Apr 2023 18:04:45 +0200 Subject: [PATCH] sysemu/kvm: Remove unused headers MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit All types used are forward-declared in "qemu/typedefs.h". Signed-off-by: Philippe Mathieu-Daudé Message-Id: <20230405160454.97436-2-philmd@linaro.org> [thuth: Add hw/core/cpu.h to migration/dirtyrate.c to fix compile failure] Signed-off-by: Thomas Huth --- include/sysemu/kvm.h | 3 --- migration/dirtyrate.c | 1 + 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/include/sysemu/kvm.h b/include/sysemu/kvm.h index c8281c07a7..88f5ccfbce 100644 --- a/include/sysemu/kvm.h +++ b/include/sysemu/kvm.h @@ -14,9 +14,6 @@ #ifndef QEMU_KVM_H #define QEMU_KVM_H -#include "qemu/queue.h" -#include "hw/core/cpu.h" -#include "exec/memattrs.h" #include "qemu/accel.h" #include "qom/object.h" diff --git a/migration/dirtyrate.c b/migration/dirtyrate.c index c06f12c39d..0220db82ec 100644 --- a/migration/dirtyrate.c +++ b/migration/dirtyrate.c @@ -13,6 +13,7 @@ #include "qemu/osdep.h" #include "qemu/error-report.h" #include +#include "hw/core/cpu.h" #include "qapi/error.h" #include "exec/ramblock.h" #include "exec/target_page.h"