qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] Make "platform-bus" enabled only on E500 by default
@ 2015-02-18  5:28 David Gibson
  2015-02-18  6:49 ` Alexander Graf
  2015-02-18  7:53 ` Paolo Bonzini
  0 siblings, 2 replies; 3+ messages in thread
From: David Gibson @ 2015-02-18  5:28 UTC (permalink / raw)
  To: agraf, scottwood; +Cc: qemu-ppc, qemu-devel, David Gibson

Despite the name, "platform-bus" is used only by PPC E500 targets.  This
patch alters the default config to include it in the build only when E500
is enabled.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
---
 hw/core/Makefile.objs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hw/core/Makefile.objs b/hw/core/Makefile.objs
index 9dce1bc..2c46edc 100644
--- a/hw/core/Makefile.objs
+++ b/hw/core/Makefile.objs
@@ -14,4 +14,4 @@ common-obj-$(CONFIG_SOFTMMU) += machine.o
 common-obj-$(CONFIG_SOFTMMU) += null-machine.o
 common-obj-$(CONFIG_SOFTMMU) += loader.o
 common-obj-$(CONFIG_SOFTMMU) += qdev-properties-system.o
-common-obj-$(CONFIG_SOFTMMU) += platform-bus.o
+common-obj-$(CONFIG_E500) += platform-bus.o
-- 
2.1.0

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

* Re: [Qemu-devel] [PATCH] Make "platform-bus" enabled only on E500 by default
  2015-02-18  5:28 [Qemu-devel] [PATCH] Make "platform-bus" enabled only on E500 by default David Gibson
@ 2015-02-18  6:49 ` Alexander Graf
  2015-02-18  7:53 ` Paolo Bonzini
  1 sibling, 0 replies; 3+ messages in thread
From: Alexander Graf @ 2015-02-18  6:49 UTC (permalink / raw)
  To: David Gibson
  Cc: scottwood@freescale.com, qemu-ppc@nongnu.org,
	qemu-devel@nongnu.org




> Am 18.02.2015 um 06:28 schrieb David Gibson <david@gibson.dropbear.id.au>:
> 
> Despite the name, "platform-bus" is used only by PPC E500 targets.  This
> patch alters the default config to include it in the build only when E500
> is enabled.
> 
> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>

It's not e500 specific though. I'm hoping to see it used on more machines that need dynamic sysbus device creation. The ARM "virt" machine is definitely next on the list.

Alex

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

* Re: [Qemu-devel] [PATCH] Make "platform-bus" enabled only on E500 by default
  2015-02-18  5:28 [Qemu-devel] [PATCH] Make "platform-bus" enabled only on E500 by default David Gibson
  2015-02-18  6:49 ` Alexander Graf
@ 2015-02-18  7:53 ` Paolo Bonzini
  1 sibling, 0 replies; 3+ messages in thread
From: Paolo Bonzini @ 2015-02-18  7:53 UTC (permalink / raw)
  To: David Gibson, agraf, scottwood; +Cc: qemu-ppc, qemu-devel



On 18/02/2015 06:28, David Gibson wrote:
> Despite the name, "platform-bus" is used only by PPC E500 targets.  This
> patch alters the default config to include it in the build only when E500
> is enabled.
> 
> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
> ---
>  hw/core/Makefile.objs | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Can you instead give it its own symbol in default-configs/?  I think
ARM's -M virt wants to use it too.

Paolo

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

end of thread, other threads:[~2015-02-18  7:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-18  5:28 [Qemu-devel] [PATCH] Make "platform-bus" enabled only on E500 by default David Gibson
2015-02-18  6:49 ` Alexander Graf
2015-02-18  7:53 ` Paolo Bonzini

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).