qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] virtio: unbreak virtio-pci with IOMMU after cac


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH] virtio: unbreak virtio-pci with IOMMU after caching ring translations
Date: Thu, 2 Mar 2017 11:30:37 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0


On 02/03/2017 08:47, Jason Wang wrote:
>>>
>>> Fixes: c611c76417f5 ("virtio: add MemoryListener to cache ring
>>> translations")
>>> Cc: Paolo Bonzini <address@hidden>
>>> Signed-off-by: Jason Wang <address@hidden>
>> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]