Re: [RFC v3 25/29] vhost: Add custom IOTLB translations to SVQ

2021-06-04 Thread Eugenio Perez Martin
On Thu, Jun 3, 2021 at 5:39 AM Jason Wang wrote: > > > 在 2021/6/3 上午1:51, Eugenio Perez Martin 写道: > > On Wed, Jun 2, 2021 at 11:52 AM Jason Wang wrote: > >> > >> 在 2021/5/20 上午12:28, Eugenio Pérez 写道: > >>> Use translations added in IOVAReverseMaps in SVQ if the vhost device > >>> does not suppo

Re: [RFC v3 25/29] vhost: Add custom IOTLB translations to SVQ

2021-06-02 Thread Jason Wang
在 2021/6/3 上午1:51, Eugenio Perez Martin 写道: On Wed, Jun 2, 2021 at 11:52 AM Jason Wang wrote: 在 2021/5/20 上午12:28, Eugenio Pérez 写道: Use translations added in IOVAReverseMaps in SVQ if the vhost device does not support the mapping of the full qemu's virtual address space. In other cases, Sh

Re: [RFC v3 25/29] vhost: Add custom IOTLB translations to SVQ

2021-06-02 Thread Eugenio Perez Martin
On Wed, Jun 2, 2021 at 11:52 AM Jason Wang wrote: > > > 在 2021/5/20 上午12:28, Eugenio Pérez 写道: > > Use translations added in IOVAReverseMaps in SVQ if the vhost device > > does not support the mapping of the full qemu's virtual address space. > > In other cases, Shadow Virtqueue still uses the qem

Re: [RFC v3 25/29] vhost: Add custom IOTLB translations to SVQ

2021-06-02 Thread Jason Wang
在 2021/5/20 上午12:28, Eugenio Pérez 写道: Use translations added in IOVAReverseMaps in SVQ if the vhost device does not support the mapping of the full qemu's virtual address space. In other cases, Shadow Virtqueue still uses the qemu's virtual address of the buffer pointed by the descriptor, whic

[RFC v3 25/29] vhost: Add custom IOTLB translations to SVQ

2021-05-19 Thread Eugenio Pérez
Use translations added in IOVAReverseMaps in SVQ if the vhost device does not support the mapping of the full qemu's virtual address space. In other cases, Shadow Virtqueue still uses the qemu's virtual address of the buffer pointed by the descriptor, which has been translated already by qemu's Vir