On 2017年03月02日 18:30, Paolo Bonzini wrote:
On 02/03/2017 08:47, Jason Wang wrote:
Fixes: c611c76417f5 ("virtio: add MemoryListener to cache ring
translations")
Cc: Paolo Bonzini <pbonz...@redhat.com>
Signed-off-by: Jason Wang <jasow...@redhat.com>
This is very ugly. I guess it's better than broken IOMMU ...
Paolo?
Maybe we can delay the registering of memory listener on bus master
enabling or status setting.
Can we add a callback to PCIDeviceClass, and invoke it from
pci_init_bus_master?
Paolo
This looks pci specific, I post a fix that reset the dma_as during
status set which can solve this issue too. Please have a look.
Thanks