From: Ethan Zhao Subject: [PATCH 0/4 v3] Introduce device assignment flag operation helper function Date: Tue, 29 Jul 2014 12:06:27 +0800 Message-ID: <1406606791-8834-1-git-send-email-ethan.zhao@oracle.com> Cc: alex.williamson@redhat.com, alexander.h.duyck@intel.com, ethan.kernel@gmail.com To: bhelgaas@google.com, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, gleb@kernel.org, pbonzini@redhat.com, kvm@vger.kernel.org, konrad.wilk@oracle.com, boris.ostrovsky@oracle.com, david.vrabel@citrix.com, xen-devel@lists.xenproject.org Return-path: Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org 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: amend helper function naming. Appreciate suggestion from alex.williamson@redhat.com, david.vrabel@citrix.com, alexander.h.duyck@intel.com BR, Ethan