diff options
author | Alexander Gordeev <agordeev@redhat.com> | 2015-10-16 11:14:54 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2015-10-16 13:34:02 +0100 |
commit | 74de8c356844080fcabc3a44b08b9d22feda691f (patch) | |
tree | e99898bcbc19c900a9d547879e4727223de43d44 | |
parent | 14cc7b54372995a6ba72c7719372e4f710fc9b5a (diff) | |
download | qemu-74de8c356844080fcabc3a44b08b9d22feda691f.tar.gz qemu-74de8c356844080fcabc3a44b08b9d22feda691f.tar.bz2 qemu-74de8c356844080fcabc3a44b08b9d22feda691f.zip |
hw/arm/virt: Allow zero address for PCI IO space
Currently PCI IO address 0 is not allowed even though
the IO space starts from 0. This update makes PCI IO
address 0 usable.
CC: Peter Maydell <peter.maydell@linaro.org>
CC: Andrew Jones <drjones@redhat.com>
Signed-off-by: Alexander Gordeev <agordeev@redhat.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
-rw-r--r-- | hw/arm/virt.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/arm/virt.c b/hw/arm/virt.c index 5ac5178b71..4e7160ce96 100644 --- a/hw/arm/virt.c +++ b/hw/arm/virt.c @@ -1162,6 +1162,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 = { |