OSDN Git Service

sysemu/kvm: Remove unused headers
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Wed, 5 Apr 2023 16:04:45 +0000 (18:04 +0200)
committerThomas Huth <thuth@redhat.com>
Tue, 16 May 2023 07:13:34 +0000 (09:13 +0200)
All types used are forward-declared in "qemu/typedefs.h".

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
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 <thuth@redhat.com>
include/sysemu/kvm.h
migration/dirtyrate.c

index c8281c0..88f5ccf 100644 (file)
@@ -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"
 
index c06f12c..0220db8 100644 (file)
@@ -13,6 +13,7 @@
 #include "qemu/osdep.h"
 #include "qemu/error-report.h"
 #include <zlib.h>
+#include "hw/core/cpu.h"
 #include "qapi/error.h"
 #include "exec/ramblock.h"
 #include "exec/target_page.h"