From 94d643ab681c71a4b5c3c3db13235d6744187d5c Mon Sep 17 00:00:00 2001 From: Takahiro Hirofuchi Date: Fri, 8 Mar 2013 12:25:48 +0100 Subject: [PATCH] Comment out the line deleting a SURF_STORAGE object A VM does not have a storage object at now. --- src/surf/vm_workstation.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/surf/vm_workstation.c b/src/surf/vm_workstation.c index 571caa14b6..496754add5 100644 --- a/src/surf/vm_workstation.c +++ b/src/surf/vm_workstation.c @@ -158,9 +158,11 @@ static void vm_ws_destroy(void *ind_vm_workstation) */ xbt_lib_unset(host_lib, name, SURF_CPU_LEVEL, 0); xbt_lib_unset(host_lib, name, ROUTING_HOST_LEVEL, 0); - xbt_lib_unset(host_lib, name, SURF_STORAGE_LEVEL, 0); xbt_lib_unset(host_lib, name, SURF_WKS_LEVEL, 0); + /* TODO: comment out when VM stroage is implemented. */ + // xbt_lib_unset(host_lib, name, SURF_STORAGE_LEVEL, 0); + /* Free the cpu_action of the VM. */ int ret = surf_cpu_model_pm->action_unref(vm_ws->cpu_action); -- 2.20.1