Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
fix msg_vm_shutdown
[simgrid.git] / src / simix / smx_user.c
index f9cad2c..79a9fb1 100644 (file)
@@ -292,6 +292,12 @@ void simcall_vm_start(smx_host_t vm)
   simcall_BODY_set_vm_state(vm, msg_vm_state_running);
 }
 
+void simcall_vm_shutdown(smx_host_t vm)
+{
+  /* will jump to SIMIX_pre_vm_shutdown */
+  simcall_BODY_vm_shutdown(vm);
+}
+
 void simcall_vm_destroy(smx_host_t vm)
 {
   /* will jump to SIMIX_pre_vm_destroy */