summaryrefslogtreecommitdiffstats
path: root/drivers/watchdog/acquirewdt.c
diff options
context:
space:
mode:
authorJan Beulich2014-12-03 22:40:33 +0100
committerDavid Vrabel2014-12-04 13:42:03 +0100
commit6945c59c772be5edd578b12831dee3f7c8576103 (patch)
treefcb7b811cf33cfe11dfdf1a334cb99b2af445ed1 /drivers/watchdog/acquirewdt.c
parentxen/pciback: Restore configuration space when detaching from a guest. (diff)
downloadkernel-qcow2-linux-6945c59c772be5edd578b12831dee3f7c8576103.tar.gz
kernel-qcow2-linux-6945c59c772be5edd578b12831dee3f7c8576103.tar.xz
kernel-qcow2-linux-6945c59c772be5edd578b12831dee3f7c8576103.zip
xen-pciback: drop SR-IOV VFs when PF driver unloads
When a PF driver unloads, it may find it necessary to leave the VFs around simply because of pciback having marked them as assigned to a guest. Utilize a suitable notification to let go of the VFs, thus allowing the PF to go back into the state it was before its driver loaded (which in particular allows the driver to be loaded again with it being able to create the VFs anew, but which also allows to then pass through the PF instead of the VFs). Don't do this however for any VFs currently in active use by a guest. Signed-off-by: Jan Beulich <jbeulich@suse.com> [v2: Removed the switch statement, moved it about] [v3: Redid it a bit differently] Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Diffstat (limited to 'drivers/watchdog/acquirewdt.c')
0 files changed, 0 insertions, 0 deletions