get_casted_host(host)->setParams(params);
}
-void surf_vm_destroy(sg_host_t vm){
+void surf_vm_destroy(sg_host_t vm){ // FIXME:DEADCODE
vm->p_cpu = nullptr;
- delete vm->p_netcard;
+ vm->p_netcard = nullptr;
}
void surf_vm_suspend(sg_host_t vm){
return action->getRemains();
}
-void surf_action_unref(surf_action_t action){
- action->unref();
-}
-
void surf_action_suspend(surf_action_t action){
action->suspend();
}