[Qemu-devel] [PATCH v2] vmxnet3: Fix reading/writing guest memory specially when behind an IOMMU

2016-06-20 Thread KarimAllah Ahmed
u.org Cc: Anthony Liguori Signed-off-by: KarimAllah Ahmed --- v2: rebase on current master and fix a conflict since some change to switch pci_dma_* is in master now. --- hw/net/vmware_utils.h | 55 -- hw/net/vmxnet3.c | 197 +++---

[Qemu-devel] [PATCH] vmxnet3: Fix reading/writing guest memory specially when behind an IOMMU

2016-06-18 Thread KarimAllah Ahmed
u.org Cc: Anthony Liguori Signed-off-by: KarimAllah Ahmed --- hw/net/vmware_utils.h | 55 +++-- hw/net/vmxnet3.c | 207 +++-- hw/net/vmxnet_tx_pkt.c | 19 ++--- hw/net/vmxnet_tx_pkt.h | 8 +- 4 files changed, 161 insertions(+), 128 deletions(-)