msg_vm_state_restoring,
} e_msg_vm_state_t;
-static inline msg_vm_priv_t MSG_vm_priv(msg_vm_t vm){
+static inline msg_vm_priv_t field_of(msg_vm_t vm){
return xbt_lib_get_level(vm, MSG_HOST_LEVEL);
}
*
* \param h the host to destroy (a smx_host_t)
*/
-void SIMIX_vm_host_destroy(void *h)
+void SIMIX_vm_host_destroy()
{
smx_host_priv_t host = (smx_host_priv_t) h;
- smx_host_t
- xbt_lib_(host_lib,name,SIMIX_HOST_LEVEL,smx_host);
+ vm_ws = xbt_lib_(host_lib,name,SURF_WKS_LEVEL,smx_host);
/* jump to vm_ws_destroy() */
surf_vm_workstation_model->extension.vm_workstation.destroy(name);