]> xenbits.xen.org Git - xenclient/toolstack.git/commitdiff
doflr even if already bound to pciback
authorJean Guyader <jean.guyader@eu.citrix.com>
Sun, 30 Aug 2009 05:47:31 +0000 (06:47 +0100)
committerJean Guyader <jean.guyader@eu.citrix.com>
Sun, 30 Aug 2009 05:47:31 +0000 (06:47 +0100)
Do a flr on the device even if is already bound into pciback.

xenops/device.ml

index 40fe994f43e133c8c3f8be5fa0df90578e88db24..5abd72758379f9d23767ac92dfa707a2a19a31a5 100644 (file)
@@ -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