[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v3 07/22] target/i386/sev_i386.h: Remove unused headers
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH v3 07/22] target/i386/sev_i386.h: Remove unused headers |
Date: |
Sat, 2 Oct 2021 14:53:02 +0200 |
Declarations don't require these headers, remove them.
Reviewed-by: Connor Kuehl <ckuehl@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
---
target/i386/sev_i386.h | 4 ----
target/i386/sev-stub.c | 1 +
2 files changed, 1 insertion(+), 4 deletions(-)
diff --git a/target/i386/sev_i386.h b/target/i386/sev_i386.h
index ae6d8404787..f4223f1febf 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
diff --git a/target/i386/sev-stub.c b/target/i386/sev-stub.c
index 0227cb51778..d91c2ece784 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)
--
2.31.1
- [PATCH v3 03/22] target/i386/kvm: Introduce i386_softmmu_kvm Meson source set, (continued)
- [PATCH v3 06/22] target/i386/cpu: Add missing 'qapi/error.h' header, Philippe Mathieu-Daudé, 2021/10/02
- [PATCH v3 07/22] target/i386/sev_i386.h: Remove unused headers,
Philippe Mathieu-Daudé <=
- [PATCH v3 09/22] target/i386/sev: Mark unreachable code with g_assert_not_reached(), Philippe Mathieu-Daudé, 2021/10/02
- [PATCH v3 08/22] target/i386/sev: Remove sev_get_me_mask(), Philippe Mathieu-Daudé, 2021/10/02
- [PATCH v3 10/22] target/i386/sev: sev_get_attestation_report use g_autofree, Philippe Mathieu-Daudé, 2021/10/02
- [PATCH v3 13/22] target/i386/sev: Remove stubs by using code elision, Philippe Mathieu-Daudé, 2021/10/02