summaryrefslogtreecommitdiffstats
path: root/target/i386
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé2021-10-07 18:17:01 +0200
committerPaolo Bonzini2021-10-13 10:47:49 +0200
commit40cbafe05bb8f463d9dc096985ceff5d2535dc56 (patch)
tree2947bfc34c0b367dc80e395c4af2c3578d39a470 /target/i386
parenttarget/i386/cpu: Add missing 'qapi/error.h' header (diff)
downloadqemu-40cbafe05bb8f463d9dc096985ceff5d2535dc56.tar.gz
qemu-40cbafe05bb8f463d9dc096985ceff5d2535dc56.tar.xz
qemu-40cbafe05bb8f463d9dc096985ceff5d2535dc56.zip
target/i386/sev_i386.h: Remove unused headers
Declarations don't require these headers, remove them. Reviewed-by: Connor Kuehl <ckuehl@redhat.com> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-Id: <20211007161716.453984-9-philmd@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'target/i386')
-rw-r--r--target/i386/sev-stub.c1
-rw-r--r--target/i386/sev_i386.h4
2 files changed, 1 insertions, 4 deletions
diff --git a/target/i386/sev-stub.c b/target/i386/sev-stub.c
index d8e6583171..408441768d 100644
--- a/target/i386/sev-stub.c
+++ b/target/i386/sev-stub.c
@@ -12,6 +12,7 @@
*/
#include "qemu/osdep.h"
+#include "qapi/error.h"
#include "sev_i386.h"
SevInfo *sev_get_info(void)
diff --git a/target/i386/sev_i386.h b/target/i386/sev_i386.h
index 2afe108069..9bf6cd1878 100644
--- a/target/i386/sev_i386.h
+++ b/target/i386/sev_i386.h
@@ -14,11 +14,7 @@
#ifndef QEMU_SEV_I386_H
#define QEMU_SEV_I386_H
-#include "qom/object.h"
-#include "qapi/error.h"
-#include "sysemu/kvm.h"
#include "sysemu/sev.h"
-#include "qemu/error-report.h"
#include "qapi/qapi-types-misc-target.h"
#define SEV_POLICY_NODBG 0x1