Re: [Qemu-devel] [PATCH] vhost: skip RAM device memory sections

2017-04-07 Thread Paolo Bonzini
On 08/04/2017 09:16, Wang guang wrote: > From: ZhiPeng Lu > > A RAM device represents a mapping to a physical device, such as to a PCI > * MMIO BAR of an vfio-pci assigned device. > Vhost listens to this region,and increases the region's reference count > while passthrough?for?network adapters

Re: [Qemu-devel] [PATCH] vhost: skip RAM device memory sections

2017-04-07 Thread Michael S. Tsirkin
On Sat, Apr 08, 2017 at 09:24:10AM +0800, ZhiPeng Lu wrote: > A RAM device represents a mapping to a physical device, such as to a PCI > * MMIO BAR of an vfio-pci assigned device. > Vhost listens to this region,and increases the region's reference count > while passthrough?for?network adapters (Phy

[Qemu-devel] [PATCH] vhost: skip RAM device memory sections

2017-04-07 Thread ZhiPeng Lu
A RAM device represents a mapping to a physical device, such as to a PCI * MMIO BAR of an vfio-pci assigned device. Vhost listens to this region,and increases the region's reference count while passthrough?for?network adapters (Physical Function, PF or Virtual Function, VF). After detaching netw

[Qemu-devel] [PATCH] vhost: skip RAM device memory sections

2017-04-07 Thread Wang guang
From: ZhiPeng Lu A RAM device represents a mapping to a physical device, such as to a PCI * MMIO BAR of an vfio-pci assigned device. Vhost listens to this region,and increases the region's reference count while passthrough?for?network adapters (Physical Function, PF or Virtual Function, VF). Aft