hw/pci-host/bonito.c: Add PCI mem region mapped at the correct address
commitf7cf2219c52f3d0f173b5b03aa193ff0efd73e9c
authorBALATON Zoltan <balaton@eik.bme.hu>
Thu, 21 Feb 2019 12:25:00 +0000 (21 13:25 +0100)
committerAleksandar Markovic <amarkovic@wavecomp.com>
Thu, 21 Feb 2019 18:36:47 +0000 (21 19:36 +0100)
treed85ecdb4fc38129e1a85c8053aa9d390a2df593c
parent535db74413755701d62a49466139a6ef37ad65f4
hw/pci-host/bonito.c: Add PCI mem region mapped at the correct address

Stop using system memory as PCI memory otherwise devices such as VGA
that have regions mapped to PCI memory clash with RAM. Use a separate
memory region for PCI memory and map it to the correct address in
system memory which allows PCI mem regions to show at the correct
address where clients expect them.

Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Signed-off-by: Aleksandar Markovic <amarkovic@wavecomp.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
hw/pci-host/bonito.c