[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 05/11] hw/core: Cleanup unused included headers in machine-qmp-cm
|
From: |
Zhao Liu |
|
Subject: |
[PATCH 05/11] hw/core: Cleanup unused included headers in machine-qmp-cmds.c |
|
Date: |
Mon, 15 Jan 2024 17:48:46 +0800 |
From: Zhao Liu <zhao1.liu@intel.com>
Remove unused headers in machine-qmp-cmds.c:
* qemu/main-loop.h
* qemu/uuid.h
* sysemu/hostmem.h
Tested by "./configure" and then "make".
Signed-off-by: Zhao Liu <zhao1.liu@intel.com>
---
hw/core/machine-qmp-cmds.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/hw/core/machine-qmp-cmds.c b/hw/core/machine-qmp-cmds.c
index 3860a50c3b7b..1b2b4cce5386 100644
--- a/hw/core/machine-qmp-cmds.c
+++ b/hw/core/machine-qmp-cmds.c
@@ -8,6 +8,7 @@
*/
#include "qemu/osdep.h"
+
#include "hw/acpi/vmgenid.h"
#include "hw/boards.h"
#include "hw/intc/intc.h"
@@ -19,10 +20,7 @@
#include "qapi/qmp/qobject.h"
#include "qapi/qobject-input-visitor.h"
#include "qapi/type-helpers.h"
-#include "qemu/main-loop.h"
-#include "qemu/uuid.h"
#include "qom/qom-qobject.h"
-#include "sysemu/hostmem.h"
#include "sysemu/hw_accel.h"
#include "sysemu/numa.h"
#include "sysemu/runstate.h"
--
2.34.1
- [PATCH 02/11] hw/core: Cleanup unused included headers in cpu-common.c, (continued)
[PATCH 04/11] hw/core: Reorder included headers in cpu-sysemu.c, Zhao Liu, 2024/01/15
[PATCH 03/11] hw/core: Reorder included headers in cpu-common.c, Zhao Liu, 2024/01/15
[PATCH 06/11] hw/core: Cleanup unused included header in machine.c, Zhao Liu, 2024/01/15
[PATCH 08/11] hw/core: Cleanup unnecessary included header in null-machine.c, Zhao Liu, 2024/01/15
[PATCH 09/11] hw/core: Reorder included headers in null-machine.c, Zhao Liu, 2024/01/15
[PATCH 05/11] hw/core: Cleanup unused included headers in machine-qmp-cmds.c,
Zhao Liu <=
[PATCH 07/11] hw/core: Reorder included header in machine.c, Zhao Liu, 2024/01/15
[PATCH 10/11] hw/core: Cleanup unused included headers in numa.c, Zhao Liu, 2024/01/15
[PATCH 11/11] hw/core: Reorder included headers in numa.c, Zhao Liu, 2024/01/15