diff options
author | Greg Rose <[email protected]> | 2011-10-14 02:57:14 +0000 |
---|---|---|
committer | Jeff Kirsher <[email protected]> | 2011-10-17 05:08:13 -0700 |
commit | 0224d663063d542b3d829706f3fcbd0f640f19b3 (patch) | |
tree | ffdcb4a4f95e499424ad01d9436b993720bfeb48 /lib/cpu-notifier-error-inject.c | |
parent | 4d2d55ac94f52ea8787270ec29579ced83f5f96b (diff) |
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 <[email protected]>
Cc: Christian Benvenuti <[email protected]>
Cc: Sathya Perla <[email protected]>
Cc: Dimitris Michailidis <[email protected]>
Cc: Jon Mason <[email protected]>
Cc: James Smart <[email protected]>
Signed-off-by: Greg Rose <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions