diff options
author | Joao Martins <joao.m.martins@oracle.com> | 2022-07-19 18:00:11 +0100 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2022-07-26 10:40:58 -0400 |
commit | 8288a8286d00e074b765f1d47ee61159ed5291fd (patch) | |
tree | 77c56cc68388820452b3b628383bfa580f68c24d /util/coroutine-sigaltstack.c | |
parent | 1065b21993628a00066a2ab1439bfff5d186c12d (diff) | |
download | qemu-8288a8286d00e074b765f1d47ee61159ed5291fd.zip qemu-8288a8286d00e074b765f1d47ee61159ed5291fd.tar.gz qemu-8288a8286d00e074b765f1d47ee61159ed5291fd.tar.bz2 |
i386/pc: factor out device_memory base/size to helper
Move obtaining hole64_start from device_memory memory region base/size
into an helper alongside correspondent getters in pc_memory_init() when
the hotplug range is unitialized. While doing that remove the memory
region based logic from this newly added helper.
This is the final step that allows pc_pci_hole64_start() to be callable
at the beginning of pc_memory_init() before any memory regions are
initialized.
Cc: Jonathan Cameron <jonathan.cameron@huawei.com>
Signed-off-by: Joao Martins <joao.m.martins@oracle.com>
Acked-by: Igor Mammedov <imammedo@redhat.com>
Message-Id: <20220719170014.27028-9-joao.m.martins@oracle.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'util/coroutine-sigaltstack.c')
0 files changed, 0 insertions, 0 deletions