Re: [Qemu-devel] [questions] about using vfio to assign sr-iov vf to vm

2014-08-18 Thread Alex Williamson
On Mon, 2014-08-18 at 17:49 +0800, Zhang Haoyu wrote: > >>> >> >> Hi, all > >>> >> >> I'm using VFIO to assign intel 82599 VF to VM, now I encounter a > >>> >> >> problem, > >>> >> >> 82599 PF and its VFs belong to the same iommu_group, but I only > >>> >> >> want to assign some VFs to one VM, an

Re: [Qemu-devel] [questions] about using vfio to assign sr-iov vf to vm

2014-08-18 Thread Zhang Haoyu
>>> >> >> Hi, all >>> >> >> I'm using VFIO to assign intel 82599 VF to VM, now I encounter a >>> >> >> problem, >>> >> >> 82599 PF and its VFs belong to the same iommu_group, but I only want >>> >> >> to assign some VFs to one VM, and some other VFs to another VM, >>> >> >> so how to only unbind

Re: [Qemu-devel] [questions] about using vfio to assign sr-iov vf to vm

2014-08-18 Thread Zhang Haoyu
>> >> >> Hi, all >> >> >> I'm using VFIO to assign intel 82599 VF to VM, now I encounter a >> >> >> problem, >> >> >> 82599 PF and its VFs belong to the same iommu_group, but I only want >> >> >> to assign some VFs to one VM, and some other VFs to another VM, >> >> >> so how to only unbind (part

Re: [Qemu-devel] [questions] about using vfio to assign sr-iov vf to vm

2014-08-17 Thread Alex Williamson
On Mon, 2014-08-18 at 09:00 +0800, Zhang Haoyu wrote: > >> >> Hi, all > >> >> I'm using VFIO to assign intel 82599 VF to VM, now I encounter a > >> >> problem, > >> >> 82599 PF and its VFs belong to the same iommu_group, but I only want to > >> >> assign some VFs to one VM, and some other VFs to

Re: [Qemu-devel] [questions] about using vfio to assign sr-iov vf to vm

2014-08-17 Thread Zhang Haoyu
>> >> Hi, all >> >> I'm using VFIO to assign intel 82599 VF to VM, now I encounter a problem, >> >> 82599 PF and its VFs belong to the same iommu_group, but I only want to >> >> assign some VFs to one VM, and some other VFs to another VM, ..., >> >> so how to only unbind (part of) the VFs but PF?

Re: [Qemu-devel] [questions] about using vfio to assign sr-iov vf to vm

2014-08-16 Thread Alex Williamson
On Sat, 2014-08-16 at 14:48 +0800, Zhang Haoyu wrote: > >> Hi, all > >> I'm using VFIO to assign intel 82599 VF to VM, now I encounter a problem, > >> 82599 PF and its VFs belong to the same iommu_group, but I only want to > >> assign some VFs to one VM, and some other VFs to another VM, ..., > >>

Re: [Qemu-devel] [questions] about using vfio to assign sr-iov vf to vm

2014-08-15 Thread Zhang Haoyu
>> Hi, all >> I'm using VFIO to assign intel 82599 VF to VM, now I encounter a problem, >> 82599 PF and its VFs belong to the same iommu_group, but I only want to >> assign some VFs to one VM, and some other VFs to another VM, ..., >> so how to only unbind (part of) the VFs but PF? >> I read the k

Re: [Qemu-devel] [questions] about using vfio to assign sr-iov vf to vm

2014-08-14 Thread Alex Williamson
On Thu, 2014-08-14 at 16:22 +0800, Zhang Haoyu wrote: > Hi, all > I'm using VFIO to assign intel 82599 VF to VM, now I encounter a problem, > 82599 PF and its VFs belong to the same iommu_group, but I only want to > assign some VFs to one VM, and some other VFs to another VM, ..., > so how to only

[Qemu-devel] [questions] about using vfio to assign sr-iov vf to vm

2014-08-14 Thread Zhang Haoyu
Hi, all I'm using VFIO to assign intel 82599 VF to VM, now I encounter a problem, 82599 PF and its VFs belong to the same iommu_group, but I only want to assign some VFs to one VM, and some other VFs to another VM, ..., so how to only unbind (part of) the VFs but PF? I read the kernel doc vfio.txt