On Fri, Oct 02, 2020 at 09:59:05AM -0500, Wei Huang wrote:
> +static void amdvi_address_space_unmap(AMDVIAddressSpace *as, IOMMUNotifier
> *n)
> +{
> +IOMMUTLBEntry entry;
> +hwaddr start = n->start;
> +hwaddr end = n->end;
> +hwaddr size = end - start + 1;
> +
> +entry.target_
Currently the emulated amd-iommu device does not support memory address
space notifier and replay. These two functions are required to have I/O
devices supported inside guest VMs as passthru devices. This patch adds
basic as_notifier infrastructure and replay function in amd_iommu.
Co-developed-by