]> xenbits.xensource.com Git - xenclient/toolstack.git/commitdiff
Never remove the device when we receive an unplug request.
authorJean Guyader <jean.guyader@eu.citrix.com>
Fri, 12 Jun 2009 17:22:59 +0000 (18:22 +0100)
committerJean Guyader <jean.guyader@eu.citrix.com>
Fri, 12 Jun 2009 17:22:59 +0000 (18:22 +0100)
xenvm/xenvm.ml

index ceacf6e5479e96eebc888c723c323643f8e86257..31fa386930b9a6887cd953cce8a99e866580ca0d 100644 (file)
@@ -287,7 +287,7 @@ let monitor_vm state =
                        in
                let do_devshutdowndone disk device =
                        let online = Hotplug.device_is_online ~xs device in
-                       if not online then (
+                       if false then (
                                Device.Vbd.release ~xs device;
                                Device.Generic.rm_device_state ~xs device;
                        )