Re: [PATCH 1/2 V3] PCI: introduce device assignment interface and refactory related code

2014-07-21 Thread Alexander Duyck
On 07/11/2014 05:30 AM, Ethan Zhao wrote: > This patch introduces two new device assignment functions > > pci_iov_assign_device(), > pci_iov_deassign_device() > > along with the existed one > > pci_vfs_assigned() > > They construct the VFs assignment management interface, used to assign/ > deas

Re: [PATCH 1/2 V3] PCI: introduce device assignment interface and refactory related code

2014-07-11 Thread Alex Williamson
On Fri, 2014-07-11 at 07:13 -0600, Alex Williamson wrote: > On Fri, 2014-07-11 at 20:30 +0800, Ethan Zhao wrote: > > This patch introduces two new device assignment functions > > > > pci_iov_assign_device(), > > pci_iov_deassign_device() > > > > along with the existed one > > > > pci_vfs_assigne

Re: [PATCH 1/2 V3] PCI: introduce device assignment interface and refactory related code

2014-07-11 Thread Alex Williamson
On Fri, 2014-07-11 at 20:30 +0800, Ethan Zhao wrote: > This patch introduces two new device assignment functions > > pci_iov_assign_device(), > pci_iov_deassign_device() > > along with the existed one > > pci_vfs_assigned() > > They construct the VFs assignment management interface, used to ass

[PATCH 1/2 V3] PCI: introduce device assignment interface and refactory related code

2014-07-11 Thread Ethan Zhao
This patch introduces two new device assignment functions pci_iov_assign_device(), pci_iov_deassign_device() along with the existed one pci_vfs_assigned() They construct the VFs assignment management interface, used to assign/ deassign device to VM and query the VFs reference counter. instead o