Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix more and more bugs - Adrien
authoralebre <adrien.lebre@inria.fr>
Fri, 1 Feb 2013 08:29:09 +0000 (09:29 +0100)
committeralebre <adrien.lebre@inria.fr>
Fri, 1 Feb 2013 08:29:09 +0000 (09:29 +0100)
src/msg/msg_vm.c
src/simix/smx_user.c

index 71a614d..8831586 100644 (file)
@@ -3,11 +3,19 @@
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
-
-// TODO
+// QUESTIONS:
 // 1./ check how and where a new VM is added to the list of the hosts
 // 1./ check how and where a new VM is added to the list of the hosts
-// 2./ MSG_TRACE can be revisited in order to use  the host
+// 2./ Diff between SIMIX_Actions and SURF_Actions
+// => SIMIX_actions : point synchro entre processus de niveau (theoretically speaking I do not have to create such SIMIX_ACTION
+// =>  Surf_Actions
 
 
+// TODO
+//     MSG_TRACE can be revisited in order to use  the host
+//     To implement a mixed model between workstation and vm_workstation,
+//     please give a look at surf_model_private_t model_private at SURF Level and to the share resource functions
+//     double (*share_resources) (double now);
+//     For the action into the vm workstation model, we should be able to leverage the usual one (and if needed, look at
+//             the workstation model.
 
 #include "msg_private.h"
 #include "xbt/sysdep.h"
 
 #include "msg_private.h"
 #include "xbt/sysdep.h"
index 6743b04..0c163da 100644 (file)
@@ -287,7 +287,6 @@ void* simcall_vm_ws_create(const char *name, smx_host_t phys_host){
 }
 
 void simcall_vm_start(smx_host_t vm) {
 }
 
 void simcall_vm_start(smx_host_t vm) {
-{
   simcall_BODY_set_vm_state(vm, msg_vm_state_running);
 }
 
   simcall_BODY_set_vm_state(vm, msg_vm_state_running);
 }