summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Armbruster2019-06-19 22:10:48 +0200
committerMarkus Armbruster2019-07-02 13:37:00 +0200
commitc2a8714801821f8e4b7ef9b81b4f0e3a6e64ae2f (patch)
tree641681430ccee877ff5c6488fdb02c92819a8c03
parentqapi: Split dump.json off misc.json (diff)
downloadqemu-c2a8714801821f8e4b7ef9b81b4f0e3a6e64ae2f.tar.gz
qemu-c2a8714801821f8e4b7ef9b81b4f0e3a6e64ae2f.tar.xz
qemu-c2a8714801821f8e4b7ef9b81b4f0e3a6e64ae2f.zip
dump: Move the code to dump/
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>
-rw-r--r--MAINTAINERS2
-rw-r--r--Makefile.target3
-rw-r--r--dump/Makefile.objs2
-rw-r--r--dump/dump.c (renamed from dump.c)0
-rw-r--r--dump/win_dump.c (renamed from win_dump.c)0
-rw-r--r--dump/win_dump.h (renamed from win_dump.h)0
6 files changed, 4 insertions, 3 deletions
diff --git a/MAINTAINERS b/MAINTAINERS
index 4dbc9c212c..46a1134202 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -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
diff --git a/Makefile.target b/Makefile.target
index 167ae2174e..a6919e0caf 100644
--- a/Makefile.target
+++ b/Makefile.target
@@ -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
index 0000000000..ea6b074967
--- /dev/null
+++ b/dump/Makefile.objs
@@ -0,0 +1,2 @@
+obj-y += dump.o
+obj-$(TARGET_X86_64) += win_dump.o
diff --git a/dump.c b/dump/dump.c
index c7b2301652..c7b2301652 100644
--- a/dump.c
+++ b/dump/dump.c
diff --git a/win_dump.c b/dump/win_dump.c
index 0142655d3d..0142655d3d 100644
--- a/win_dump.c
+++ b/dump/win_dump.c
diff --git a/win_dump.h b/dump/win_dump.h
index b8c25348f4..b8c25348f4 100644
--- a/win_dump.h
+++ b/dump/win_dump.h