From b51e654b7a3eaee99205c5051de0bdccf8fe7632 Mon Sep 17 00:00:00 2001 From: alebre Date: Fri, 1 Feb 2013 09:29:09 +0100 Subject: [PATCH] Fix more and more bugs - Adrien --- src/msg/msg_vm.c | 14 +++++++++++--- src/simix/smx_user.c | 1 - 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/src/msg/msg_vm.c b/src/msg/msg_vm.c index 71a614db5d..8831586c36 100644 --- a/src/msg/msg_vm.c +++ b/src/msg/msg_vm.c @@ -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. */ - -// TODO +// QUESTIONS: // 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" diff --git a/src/simix/smx_user.c b/src/simix/smx_user.c index 6743b04973..0c163da302 100644 --- a/src/simix/smx_user.c +++ b/src/simix/smx_user.c @@ -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) { -{ simcall_BODY_set_vm_state(vm, msg_vm_state_running); } -- 2.20.1