diff options
| author | Bernhard Beschow <shentey@gmail.com> | 2023-02-13 17:19:57 +0100 |
|---|---|---|
| committer | Michael S. Tsirkin <mst@redhat.com> | 2023-05-19 10:30:46 -0400 |
| commit | 67b4a74a0743c4cdb78bf884cea2407645530af3 (patch) | |
| tree | 3f6760b9660dbfd4f248d35897c52e9972416aff /hw/pci-host/pam.c | |
| parent | 273d65020b04f8a01e4b5cd543aeef1624b17001 (diff) | |
| download | focaccia-qemu-67b4a74a0743c4cdb78bf884cea2407645530af3.tar.gz focaccia-qemu-67b4a74a0743c4cdb78bf884cea2407645530af3.zip | |
hw/pci-host/q35: Inline sysbus_add_io()
sysbus_add_io() just wraps memory_region_add_subregion() while also obscuring where the memory is attached. So use memory_region_add_subregion() directly and attach it to the existing memory region s->mch.address_space_io which is set as an alias to get_system_io() by the q35 machine. Signed-off-by: Bernhard Beschow <shentey@gmail.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Message-Id: <20230213162004.2797-3-shentey@gmail.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/pci-host/pam.c')
0 files changed, 0 insertions, 0 deletions