From: Jean Guyader Date: Sun, 30 Aug 2009 05:47:31 +0000 (+0100) Subject: doflr even if already bound to pciback X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=94ad575d0a37a01db8e76feb20ad012cd174695f;p=xenclient%2Ftoolstack.git doflr even if already bound to pciback Do a flr on the device even if is already bound into pciback. --- diff --git a/xenops/device.ml b/xenops/device.ml index 40fe994..5abd727 100644 --- a/xenops/device.ml +++ b/xenops/device.ml @@ -998,7 +998,8 @@ let bind pcidevs = | None -> bind_to_pciback devstr | Some "pciback" -> - debug "pci: device %s already bounded to pciback" devstr + debug "pci: device %s already bounded to pciback" devstr; + do_flr devstr | Some d -> debug "pci: unbounding device %s from driver %s" devstr d; let f = s ^ "/driver/unbind" in