Re: Query on VFIO in Virtual machine

2017-06-22 Thread Peter Xu
On Thu, Jun 22, 2017 at 11:27:09AM -0600, Alex Williamson wrote: > On Thu, 22 Jun 2017 22:42:19 +0530 > Nitin Saxena wrote: > > > Thanks Alex. > > > > >> Without an iommu in the VM, you'd be limited to no-iommu support for VM > > >> userspace, > > So are you trying to say VFIO NO-IOMMU should

Re: Query on VFIO in Virtual machine

2017-06-22 Thread Alex Williamson
On Thu, 22 Jun 2017 22:42:19 +0530 Nitin Saxena wrote: > Thanks Alex. > > >> Without an iommu in the VM, you'd be limited to no-iommu support for VM > >> userspace, > So are you trying to say VFIO NO-IOMMU should work inside VM. Does > that mean VFIO NO-IOMMU in VM and VFIO IOMMU in host for

Re: Query on VFIO in Virtual machine

2017-06-22 Thread Nitin Saxena
Thanks Alex. >> Without an iommu in the VM, you'd be limited to no-iommu support for VM >> userspace, So are you trying to say VFIO NO-IOMMU should work inside VM. Does that mean VFIO NO-IOMMU in VM and VFIO IOMMU in host for same device is a legitimate configuration? I did tried this configurati

Re: Query on VFIO in Virtual machine

2017-06-22 Thread Alex Williamson
[cc +qemu-devel, +peterx] On Thu, 22 Jun 2017 22:18:06 +0530 Nitin Saxena wrote: > Hi, > > I have a PCI device connected as an endpoint to Intel host machine. > The requirement is to run dpdk like user space data path application > in VM using PCI PF passthrough (SRIOV disabled). This applicati

Query on VFIO in Virtual machine

2017-06-22 Thread Nitin Saxena
Hi, I have a PCI device connected as an endpoint to Intel host machine. The requirement is to run dpdk like user space data path application in VM using PCI PF passthrough (SRIOV disabled). This application works fine on host kernel and uses VFIO to get MSIX interrupts from PCI device. We are tryi