OSDN Git Service

dump: Move the code to dump/
authorMarkus Armbruster <armbru@redhat.com>
Wed, 19 Jun 2019 20:10:48 +0000 (22:10 +0200)
committerMarkus Armbruster <armbru@redhat.com>
Tue, 2 Jul 2019 11:37:00 +0000 (13:37 +0200)
Cc: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20190619201050.19040-16-armbru@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
MAINTAINERS
Makefile.target
dump/Makefile.objs [new file with mode: 0644]
dump/dump.c [moved from dump.c with 100% similarity]
dump/win_dump.c [moved from win_dump.c with 100% similarity]
dump/win_dump.h [moved from win_dump.h with 100% similarity]

index 4dbc9c2..46a1134 100644 (file)
@@ -1850,7 +1850,7 @@ F: include/sysemu/device_tree.h
 Dump
 S: Supported
 M: Marc-André Lureau <marcandre.lureau@redhat.com>
-F: dump.c
+F: dump/dump.c
 F: hw/misc/vmcoreinfo.c
 F: include/hw/misc/vmcoreinfo.h
 F: include/sysemu/dump-arch.h
index 167ae21..a6919e0 100644 (file)
@@ -150,13 +150,12 @@ endif #CONFIG_BSD_USER
 ifdef CONFIG_SOFTMMU
 obj-y += arch_init.o cpus.o gdbstub.o balloon.o ioport.o
 obj-y += qtest.o
+obj-y += dump/
 obj-y += hw/
 obj-y += monitor/
 obj-y += qapi/
 obj-y += memory.o
 obj-y += memory_mapping.o
-obj-y += dump.o
-obj-$(TARGET_X86_64) += win_dump.o
 obj-y += migration/ram.o
 LIBS := $(libs_softmmu) $(LIBS)
 
diff --git a/dump/Makefile.objs b/dump/Makefile.objs
new file mode 100644 (file)
index 0000000..ea6b074
--- /dev/null
@@ -0,0 +1,2 @@
+obj-y += dump.o
+obj-$(TARGET_X86_64) += win_dump.o
similarity index 100%
rename from dump.c
rename to dump/dump.c
similarity index 100%
rename from win_dump.c
rename to dump/win_dump.c
similarity index 100%
rename from win_dump.h
rename to dump/win_dump.h