diff mbox series

[32/32] monitor: Rename misc.c to hmp-target.c

Message ID 20230124121946.1139465-33-armbru@redhat.com (mailing list archive)
State New, archived
Headers show
Series Move and clean up monitor command code | expand

Commit Message

Markus Armbruster Jan. 24, 2023, 12:19 p.m. UTC
What's left in misc.c is exactly the target-dependent part of the HMP
core.  Rename accordingly.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
---
 monitor/{misc.c => hmp-target.c} | 2 +-
 monitor/meson.build              | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
 rename monitor/{misc.c => hmp-target.c} (99%)
diff mbox series

Patch

diff --git a/monitor/misc.c b/monitor/hmp-target.c
similarity index 99%
rename from monitor/misc.c
rename to monitor/hmp-target.c
index 99317a8ff4..1eb72ac1bf 100644
--- a/monitor/misc.c
+++ b/monitor/hmp-target.c
@@ -1,5 +1,5 @@ 
 /*
- * QEMU monitor
+ * QEMU monitor, target-dependent part
  *
  * Copyright (c) 2003-2004 Fabrice Bellard
  *
diff --git a/monitor/meson.build b/monitor/meson.build
index 795a271545..ccb4d1a8e6 100644
--- a/monitor/meson.build
+++ b/monitor/meson.build
@@ -8,4 +8,4 @@  softmmu_ss.add(files(
 softmmu_ss.add([spice_headers, files('qmp-cmds.c')])
 
 specific_ss.add(when: 'CONFIG_SOFTMMU',
-		if_true: [files( 'hmp-cmds-target.c', 'misc.c'), spice])
+		if_true: [files( 'hmp-cmds-target.c', 'hmp-target.c'), spice])