qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH for-next] dump: Move stubs into libqemustub.a
@ 2013-05-17  8:52 Andreas Färber
       [not found] ` <5195FA9C.5040002@redhat.com>
  0 siblings, 1 reply; 2+ messages in thread
From: Andreas Färber @ 2013-05-17  8:52 UTC (permalink / raw)
  To: qemu-devel
  Cc: qiaonuohan, rabin, jfrei, zhangxh, pbonzini, Andreas Färber

This allows us to drop CONFIG_NO_CORE_DUMP with its indirect dependency
on CONFIG_CORE_DUMP.

Signed-off-by: Andreas Färber <afaerber@suse.de>
---
 Makefile.target             | 2 --
 stubs/Makefile.objs         | 1 +
 dump-stub.c => stubs/dump.c | 0
 3 files changed, 1 insertion(+), 2 deletions(-)
 rename dump-stub.c => stubs/dump.c (100%)

diff --git a/Makefile.target b/Makefile.target
index ce4391f..1cafb17 100644
--- a/Makefile.target
+++ b/Makefile.target
@@ -64,7 +64,6 @@ CONFIG_NO_PCI = $(if $(subst n,,$(CONFIG_PCI)),n,y)
 CONFIG_NO_KVM = $(if $(subst n,,$(CONFIG_KVM)),n,y)
 CONFIG_NO_XEN = $(if $(subst n,,$(CONFIG_XEN)),n,y)
 CONFIG_NO_GET_MEMORY_MAPPING = $(if $(subst n,,$(CONFIG_HAVE_GET_MEMORY_MAPPING)),n,y)
-CONFIG_NO_CORE_DUMP = $(if $(subst n,,$(CONFIG_HAVE_CORE_DUMP)),n,y)
 
 #########################################################
 # cpu emulator library
@@ -114,7 +113,6 @@ obj-y += memory.o savevm.o cputlb.o
 obj-$(CONFIG_HAVE_GET_MEMORY_MAPPING) += memory_mapping.o
 obj-$(CONFIG_HAVE_CORE_DUMP) += dump.o
 obj-$(CONFIG_NO_GET_MEMORY_MAPPING) += memory_mapping-stub.o
-obj-$(CONFIG_NO_CORE_DUMP) += dump-stub.o
 LIBS+=$(libs_softmmu)
 
 # xen support
diff --git a/stubs/Makefile.objs b/stubs/Makefile.objs
index 03dff20..9b701b4 100644
--- a/stubs/Makefile.objs
+++ b/stubs/Makefile.objs
@@ -2,6 +2,7 @@ stub-obj-y += arch-query-cpu-def.o
 stub-obj-y += clock-warp.o
 stub-obj-y += cpu-get-clock.o
 stub-obj-y += cpu-get-icount.o
+stub-obj-y += dump.o
 stub-obj-y += fdset-add-fd.o
 stub-obj-y += fdset-find-fd.o
 stub-obj-y += fdset-get-fd.o
diff --git a/dump-stub.c b/stubs/dump.c
similarity index 100%
rename from dump-stub.c
rename to stubs/dump.c
-- 
1.8.1.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [Qemu-devel] [PATCH for-next] dump: Move stubs into libqemustub.a
       [not found] ` <5195FA9C.5040002@redhat.com>
@ 2013-05-17 14:29   ` Andreas Färber
  0 siblings, 0 replies; 2+ messages in thread
From: Andreas Färber @ 2013-05-17 14:29 UTC (permalink / raw)
  To: Paolo Bonzini; +Cc: qemu-devel

Am 17.05.2013 11:38, schrieb Paolo Bonzini:
> Il 17/05/2013 10:52, Andreas Färber ha scritto:
>> This allows us to drop CONFIG_NO_CORE_DUMP with its indirect dependency
>> on CONFIG_CORE_DUMP.
>>
>> Signed-off-by: Andreas Färber <afaerber@suse.de>
>> ---
>>  Makefile.target             | 2 --
>>  stubs/Makefile.objs         | 1 +
>>  dump-stub.c => stubs/dump.c | 0
>>  3 files changed, 1 insertion(+), 2 deletions(-)
>>  rename dump-stub.c => stubs/dump.c (100%)
[...]
> 
> ACK

Thanks, I'll queue it on qom-cpu-next for the follow-ups (with missing
HAVE_ added in the commit message):
https://github.com/afaerber/qemu-cpu/commits/qom-cpu-next

Andreas

-- 
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-05-17 14:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-17  8:52 [Qemu-devel] [PATCH for-next] dump: Move stubs into libqemustub.a Andreas Färber
     [not found] ` <5195FA9C.5040002@redhat.com>
2013-05-17 14:29   ` Andreas Färber

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).