|
From: | Jason Wang |
Subject: | Re: [Qemu-devel] [PATCH v2] vmxnet3: Fix reading/writing guest memory specially when behind an IOMMU |
Date: | Wed, 22 Jun 2016 13:50:18 +0800 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0 |
On 2016年06月21日 14:21, Dmitry Fleytman wrote:
On 20 Jun 2016, at 16:50 PM, KarimAllah Ahmed <address@hidden <mailto:address@hidden>> wrote:When a PCI device lives behind an IOMMU, it should use 'pci_dma_*' family offunctions when any transfer from/to guest memory is required while'cpu_physical_memory_*' family of functions completely bypass any MMU/IOMMU inthe system.vmxnet3 in some places was using 'cpu_physical_memory_*' family of functions which works fine with the default QEMU setup where IOMMU is not enabled but fails miserably when IOMMU is enabled. This commit converts all such instancesin favor of 'pci_dma_*’Acked-by: Dmitry Fleytman <address@hidden <mailto:address@hidden>>
Applied to -net. Thanks
Cc: Dmitry Fleytman <address@hidden <mailto:address@hidden>> Cc: Jason Wang <address@hidden <mailto:address@hidden>> Cc: address@hidden <mailto:address@hidden> Cc: Anthony Liguori <address@hidden <mailto:address@hidden>>Signed-off-by: KarimAllah Ahmed <address@hidden <mailto:address@hidden>>—...
[Prev in Thread] | Current Thread | [Next in Thread] |