]> xenbits.xensource.com Git - libvirt.git/commit
util: new function virPCIDeviceRebind()
authorLaine Stump <laine@laine.org>
Tue, 7 Mar 2017 17:58:15 +0000 (12:58 -0500)
committerLaine Stump <laine@laine.org>
Fri, 24 Mar 2017 04:38:21 +0000 (00:38 -0400)
commit251d179bf2c10c7d7fb594c68f1aac56a9b0d932
tree6a04bf6653af3da6f7e8cdbc294980d0e7e00bd8
parent9a238c16b382f3366bf474a648ff0e4b777b0af8
util: new function virPCIDeviceRebind()

This function unbinds a device from its driver, then immediately
rebinds it to its driver again. The code for this new function is just
the 2nd half of virPCIDeviceBindWithDriverOverride(), so that
function's 2nd half is replaced with a call to virPCIDeviceRebind().
src/libvirt_private.syms
src/util/virpci.c
src/util/virpci.h