mirror of
https://github.com/mborgerson/xemu.git
synced 2026-03-15 03:57:15 +00:00
hw/i386/amd_iommu: Support MMIO writes to the status register
Support the writes to the status register so that guest can reset the EventOverflow, EventLogInt, ComWaitIntr, etc bits after servicing the respective interrupt. Signed-off-by: Sairaj Kodilkar <sarunkod@amd.com> Reviewed-by: Vasant Hegde <vasant.hegde@amd.com> Message-Id: <20250801060507.3382-6-sarunkod@amd.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
This commit is contained in:
committed by
Michael S. Tsirkin
parent
47d3b32d6f
commit
10690920b0
@ -862,6 +862,9 @@ static void amdvi_mmio_write(void *opaque, hwaddr addr, uint64_t val,
|
||||
amdvi_mmio_reg_write(s, size, val, addr);
|
||||
amdvi_handle_pprtail_write(s);
|
||||
break;
|
||||
case AMDVI_MMIO_STATUS:
|
||||
amdvi_mmio_reg_write(s, size, val, addr);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user