qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] hw/arm/virt: Allow zero address for PCI IO space
@ 2015-10-12 20:55 Alexander Gordeev
  2015-10-12 21:03 ` Peter Maydell
  0 siblings, 1 reply; 18+ messages in thread
From: Alexander Gordeev @ 2015-10-12 20:55 UTC (permalink / raw)
  To: qemu-devel; +Cc: Peter Maydell, Andrew Jones, Alexander Gordeev

Currently PCI IO address 0 is not allowed even though
the IO space starts from 0. As result, PCI IO is not
possible to use at all.

CC: Peter Maydell <peter.maydell@linaro.org>
CC: Andrew Jones <drjones@redhat.com>
Signed-off-by: Alexander Gordeev <agordeev@redhat.com>
---
 hw/arm/virt.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/hw/arm/virt.c b/hw/arm/virt.c
index d25d6cf..3620489 100644
--- a/hw/arm/virt.c
+++ b/hw/arm/virt.c
@@ -1157,6 +1157,7 @@ static void virt_class_init(ObjectClass *oc, void *data)
     mc->has_dynamic_sysbus = true;
     mc->block_default_type = IF_VIRTIO;
     mc->no_cdrom = 1;
+    mc->pci_allow_0_address = true;
 }
 
 static const TypeInfo machvirt_info = {
-- 
1.8.3.1

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

end of thread, other threads:[~2015-10-16  9:59 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-12 20:55 [Qemu-devel] [PATCH] hw/arm/virt: Allow zero address for PCI IO space Alexander Gordeev
2015-10-12 21:03 ` Peter Maydell
2015-10-13  6:31   ` Alexander Gordeev
2015-10-13  8:16     ` Peter Maydell
2015-10-13 12:48       ` Alexander Gordeev
2015-10-13 12:33         ` Peter Maydell
2015-10-13 12:47           ` Laurent Vivier
2015-10-13 13:04             ` Michael S. Tsirkin
2015-10-13 13:12               ` Peter Maydell
2015-10-13 13:19                 ` Michael S. Tsirkin
2015-10-13 13:25                   ` Peter Maydell
2015-10-13 13:55                     ` Peter Maydell
2015-10-16  8:52                       ` Laurent Vivier
2015-10-16  9:13                         ` Michael S. Tsirkin
2015-10-16  9:32                         ` Peter Maydell
2015-10-16  9:59                           ` Laurent Vivier
2015-10-13 14:35       ` [Qemu-devel] [PATCH v2] " Alexander Gordeev
2015-10-13 17:36         ` Peter Maydell

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