hw/isa/vt82c686: Prefer pci_address_space() over get_system_memory()
authorBernhard Beschow <shentey@gmail.com>
Thu, 1 Sep 2022 11:41:17 +0000 (13:41 +0200)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 31 Oct 2022 10:32:07 +0000 (11:32 +0100)
commitdd28cc87aa0295743b577145a8afc76cc9292618
tree80653ef9e722fba399bb7b9a1aea3b54cac0a72e
parent91ba92d1a33e5a9ded66bfbaa14a98938165934f
hw/isa/vt82c686: Prefer pci_address_space() over get_system_memory()

Unlike get_system_memory(), pci_address_space() respects the memory tree
available to the parent device.

Signed-off-by: Bernhard Beschow <shentey@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20220901114127.53914-4-shentey@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
hw/isa/vt82c686.c