diff options
author | Sairaj Kodilkar <sarunkod@amd.com> | 2025-08-01 11:35:04 +0530 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2025-08-01 10:23:50 -0400 |
commit | a7842d94067cddc80b47ac42fb6e49e2fc02a3c5 (patch) | |
tree | 61381976f8e88aa28e5b4ebe830ec1d7ee41bf3d /rust/qemu-api | |
parent | 47d50cc421b832650822d73431d920bb8a80bc38 (diff) | |
download | qemu-a7842d94067cddc80b47ac42fb6e49e2fc02a3c5.zip qemu-a7842d94067cddc80b47ac42fb6e49e2fc02a3c5.tar.gz qemu-a7842d94067cddc80b47ac42fb6e49e2fc02a3c5.tar.bz2 |
hw/i386/amd_iommu: Move IOAPIC memory region initialization to the end
Setting up IOAPIC memory region requires mr_sys and mr_ir. Currently
these two memory regions are setup after the initializing the IOAPIC
memory region, which cause `amdvi_host_dma_iommu()` to use unitialized
mr_sys and mr_ir.
Move the IOAPIC memory region initialization to the end in order to use
the mr_sys and mr_ir regions after they are fully initialized.
Fixes: 577c470f4326 ("x86_iommu/amd: Prepare for interrupt remap support")
Signed-off-by: Sairaj Kodilkar <sarunkod@amd.com>
Reviewed-by: Vasant Hegde <vasant.hegde@amd.com>
Message-Id: <20250801060507.3382-4-sarunkod@amd.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'rust/qemu-api')
0 files changed, 0 insertions, 0 deletions