Re: [PATCH v3 0/4 resend] Introduce device assignment flag operation helper function

2014-09-08 Thread ethan zhao
Bjorn, Thanks, will fix the building issue for new version and resend. Ethan On 2014/9/9 1:08, Bjorn Helgaas wrote: On Fri, Sep 05, 2014 at 11:15:22AM -0600, Bjorn Helgaas wrote: On Fri, Aug 08, 2014 at 01:36:03PM +0800, Ethan Zhao wrote: This patch set introduces three PCI device flag ope

Re: [PATCH v3 0/4 resend] Introduce device assignment flag operation helper function

2014-09-08 Thread Bjorn Helgaas
On Fri, Sep 05, 2014 at 11:15:22AM -0600, Bjorn Helgaas wrote: > On Fri, Aug 08, 2014 at 01:36:03PM +0800, Ethan Zhao wrote: > > This patch set introduces three PCI device flag operation helper functions > > when set pci device PF/VF to assigned or deassigned status also check it. > > and patch 2,3

Re: [PATCH v3 0/4 resend] Introduce device assignment flag operation helper function

2014-09-05 Thread Bjorn Helgaas
On Fri, Aug 08, 2014 at 01:36:03PM +0800, Ethan Zhao wrote: > This patch set introduces three PCI device flag operation helper functions > when set pci device PF/VF to assigned or deassigned status also check it. > and patch 2,3,4 apply these helper functions to KVM,XEN and PCI. > > v2: simplify u

[PATCH v3 0/4 resend] Introduce device assignment flag operation helper function

2014-08-07 Thread Ethan Zhao
This patch set introduces three PCI device flag operation helper functions when set pci device PF/VF to assigned or deassigned status also check it. and patch 2,3,4 apply these helper functions to KVM,XEN and PCI. v2: simplify unnecessory ternary operation in function pci_is_dev_assigned(). v3: am