]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
monitor: Rename misc.c to hmp-target.c
authorMarkus Armbruster <armbru@redhat.com>
Tue, 24 Jan 2023 12:19:46 +0000 (13:19 +0100)
committerMarkus Armbruster <armbru@redhat.com>
Sat, 4 Feb 2023 06:56:54 +0000 (07:56 +0100)
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>
Message-Id: <20230124121946.1139465-33-armbru@redhat.com>

monitor/hmp-target.c [moved from monitor/misc.c with 99% similarity]
monitor/meson.build

similarity index 99%
rename from monitor/misc.c
rename to monitor/hmp-target.c
index 99317a8ff4f31940fbc9baf3ce44b6c1536b7800..1eb72ac1bf5daf281c2450f7af45ef019a609b44 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * QEMU monitor
+ * QEMU monitor, target-dependent part
  *
  * Copyright (c) 2003-2004 Fabrice Bellard
  *
index 795a27154572f49a1b8f45b14d6a737caae54472..ccb4d1a8e60cd0e4f67e35ccbe2b51fb5d09045f 100644 (file)
@@ -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])