From: Greg Rose Date: Fri, 14 Oct 2011 02:57:14 +0000 (+0000) Subject: igb: Check if subordinate VFs are assigned to virtual machines X-Git-Tag: v3.2-rc1~182^2~95^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0224d663063d542b3d829706f3fcbd0f640f19b3;p=pandora-kernel.git igb: Check if subordinate VFs are assigned to virtual machines Kvm and the Xen pci-back driver will set a flag in the virtual function pci device dev_flags when the VF is assigned to a guest VM. Before destroying subordinate VFs check to see if the flag is set and if so skip the call to pci_disable_sriov() to avoid system crashes. Copy the maintainer for the Xen pci-back driver. Also CC'ing maintainers of all drivers found to call pci_disable_sriov(). V2 - Fix uninitialized variable warning Cc: Konrad Rzeszutek Wilk Cc: Christian Benvenuti Cc: Sathya Perla Cc: Dimitris Michailidis Cc: Jon Mason Cc: James Smart Signed-off-by: Greg Rose Signed-off-by: Jeff Kirsher --- Reading git-diff-tree failed