On 15/4/25 11:30, Paolo Bonzini wrote:
On 4/15/25 08:18, CLEMENT MATHIEU--DRIF wrote:
Address space creation might end up being called without holding the
bql as it is exposed through the IOMMU ops.

Signed-off-by: Clement Mathieu--Drif <clement.mathieu--d...@eviden.com>

Please use a separate lock instead of the BQL.

There is already a IntelIOMMUState::iommu_lock with
vtd_iommu_lock() / vtd_iommu_unlock() helpers.


Paolo

---
  hw/i386/intel_iommu.c | 10 ++++++++++
  1 file changed, 10 insertions(+)


Reply via email to