+ argvF = xbt_new(char*, 2);
+ argvF[0] = xbt_strdup("process_daemon");
+ daemon = MSG_process_create_with_arguments("process_daemon", process_daemon, NULL, vm0, 1, argvF);
+
+ argvF = xbt_new(char*, 2);
+ argvF[0] = xbt_strdup("process_daemonJUPI");
+ MSG_process_create_with_arguments("process_daemonJUPI", process_daemon, NULL, jupiter, 1, argvF);
+
+ MSG_process_suspend(daemon);
+ MSG_vm_set_bound(vm0, 90);
+ MSG_process_resume(daemon);
+
+ MSG_process_sleep(10);
+
+ XBT_INFO(" Turn Jupiter off");
+ MSG_host_off(jupiter);
+ XBT_INFO(" Shutdown vm0");
+ MSG_vm_shutdown(vm0);
+ XBT_INFO(" Destroy vm0");
+ MSG_vm_destroy(vm0);
+ XBT_INFO("Test 6 is also weird: when the node Jupiter is turned off once again, the VM and its daemon are not killed. However, the issue regarding the shutdown of hosted VMs can be seen a feature not a bug ;)");