We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51eb8da commit d84f8cbCopy full SHA for d84f8cb
xc/device.ml
@@ -743,13 +743,13 @@ let set_carrier ~xs (x: device) carrier =
743
744
let release (task: Xenops_task.t) ~xs (x: device) =
745
debug "Device.Vif.release %s" (string_of_device x);
746
- Hotplug.release task ~xs x;
747
748
if !Xenopsd.run_hotplug_scripts then begin
749
let tap = { x with backend = { x.backend with kind = Tap } } in
750
Hotplug.run_hotplug_script x [ "remove" ];
751
Hotplug.run_hotplug_script tap [ "remove" ];
752
- end
+ end;
+ Hotplug.release task ~xs x
753
754
755
let move ~xs (x: device) bridge =
0 commit comments