From: David Gibson <david@gibson.dropbear.id.au>
To: mst@redhat.com, yamahata@valinux.co.jp
Cc: pbonzini@redhat.com, qemu-devel@nongnu.org,
David Gibson <david@gibson.dropbear.id.au>
Subject: [Qemu-devel] [PATCH] Make i82801b11 and ioh3420 x86 only by default
Date: Wed, 18 Feb 2015 15:59:56 +1100 [thread overview]
Message-ID: <1424235596-29024-1-git-send-email-david@gibson.dropbear.id.au> (raw)
As PCI devices, the i82801b11 and ioh3420 devices could theoretically exist
on any platform with a PCI bus. However in practice, they're Intel
specific devices, that are very unlikely to appear on anything other than
an x86. Therefore this patch gives them their own config options, enabled
only for x86 targets by default.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
---
default-configs/i386-softmmu.mak | 2 ++
hw/pci-bridge/Makefile.objs | 5 +++--
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/default-configs/i386-softmmu.mak b/default-configs/i386-softmmu.mak
index bd99af9..609c73a 100644
--- a/default-configs/i386-softmmu.mak
+++ b/default-configs/i386-softmmu.mak
@@ -43,3 +43,5 @@ CONFIG_IOAPIC=y
CONFIG_ICC_BUS=y
CONFIG_PVPANIC=y
CONFIG_MEM_HOTPLUG=y
+CONFIG_IOH3420=y
+CONFIG_I82801B11=y
diff --git a/hw/pci-bridge/Makefile.objs b/hw/pci-bridge/Makefile.objs
index 968b369..2715721 100644
--- a/hw/pci-bridge/Makefile.objs
+++ b/hw/pci-bridge/Makefile.objs
@@ -1,5 +1,6 @@
common-obj-y += pci_bridge_dev.o
-common-obj-y += ioh3420.o xio3130_upstream.o xio3130_downstream.o
-common-obj-y += i82801b11.o
+common-obj-y += xio3130_upstream.o xio3130_downstream.o
+common-obj-$(CONFIG_IOH3420) += ioh3420.o
+common-obj-$(CONFIG_I82801B11) += i82801b11.o
# NewWorld PowerMac
common-obj-$(CONFIG_DEC_PCI) += dec.o
--
2.1.0
next reply other threads:[~2015-02-18 5:00 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-18 4:59 David Gibson [this message]
2015-02-18 6:03 ` [Qemu-devel] [PATCH] Make i82801b11 and ioh3420 x86 only by default David Gibson
2015-02-18 7:57 ` Paolo Bonzini
2015-02-19 2:05 ` David Gibson
2015-02-19 3:45 ` Peter Maydell
2015-02-19 5:20 ` David Gibson
2015-02-19 10:30 ` Michael S. Tsirkin
2015-02-19 9:57 ` Paolo Bonzini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1424235596-29024-1-git-send-email-david@gibson.dropbear.id.au \
--to=david@gibson.dropbear.id.au \
--cc=mst@redhat.com \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=yamahata@valinux.co.jp \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).