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

2014-09-16 Thread Bjorn Helgaas
On Tue, Sep 09, 2014 at 10:21:24AM +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

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

2014-09-16 Thread Bjorn Helgaas
On Tue, Sep 09, 2014 at 10:21:24AM +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

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

2014-09-08 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:

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

2014-09-08 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: