xbt_dynar_t vms; // vms on this hypervisor
msg_host_t host; // physical host of this hypervisor
- /* The hypervisor object does not have parameters like the number of CPU
- Ê * cores and the size of memory. These parameters come from those of the
- Ê * physical host.
- Ê **/
+/* The hypervisor object does not have parameters like the number of CPU
+* cores and the size of memory. These parameters come from those of the
+* physical host.
+**/
int overcommit;
} s_msg_hypervisor_t;
/* ******************************** VM ************************************* */
typedef msg_host_t msg_vm_t;
+typedef msg_host_priv_t msg_vm_priv_t;
typedef enum {
msg_vm_state_created,
msg_vm_state_restoring,
} e_msg_vm_state_t;
+static inline msg_vm_priv_t MSG_vm_priv(msg_vm_t vm){
+ return xbt_lib_get_level(vm, MSG_HOST_LEVEL);
+}
/* ******************************** File ************************************ */