diff options
| author | Alexey Kardashevskiy <aik@ozlabs.ru> | 2019-09-27 12:26:51 +1000 |
|---|---|---|
| committer | David Gibson <david@gibson.dropbear.id.au> | 2019-10-04 19:08:21 +1000 |
| commit | c4ec08ab70bab90685d1443d6da47293e3aa312a (patch) | |
| tree | 579ac8283c54db6c5ca8ec9fc2aae2d2b709e34f /hw/timer/lm32_timer.c | |
| parent | f6d4c423a222f02bfa84a49c3d306d7341ec9bab (diff) | |
| download | focaccia-qemu-c4ec08ab70bab90685d1443d6da47293e3aa312a.tar.gz focaccia-qemu-c4ec08ab70bab90685d1443d6da47293e3aa312a.zip | |
spapr-pci: Stop providing assigned-addresses
QEMU does not allocate PCI resources (BARs) in any case - coldplug devices are configured by the firmware and hotplug devices rely on the guest system to do the assignment via the PCI rescan mechanism. Also in order to create non empty "assigned-addresses", the device has to be enabled (i.e. PCI_COMMAND needs the MMIO bit set) first as otherwise io_regions[i].addr are -1, and devices are not enabled at this point. This removes "assigned-addresses" and leaves it to those who actually do resource allocation. Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru> Message-Id: <20190927022651.71642-1-aik@ozlabs.ru> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'hw/timer/lm32_timer.c')
0 files changed, 0 insertions, 0 deletions