Closed tmakatos closed 3 years ago
In the unmap_dma callback, because the DMA region was removed, so we will set the queue state to VFIO_USER_QPAIR_INACTIVE, and in the map_dma callback, we don't know the queue's physical address belong to this region or not, so just try to map the queue's physical address.
It's an error log but doesn't affect anything for now.
Then I suppose it's trivial to check whether the queue's address is within the DMA region being added and avoid attempting to map it if it isn't right?
Then I suppose it's trivial to check whether the queue's address is within the DMA region being added and avoid attempting to map it if it isn't right?
Yeah, you can check the address is in the map_dma range or not to avoid attempting to map it.
After the guest boots I see the following
Full log: nvmf_tgt.zip.