- /* created, but not yet started */
- SURF_VM_STATE_CREATED,
-
- SURF_VM_STATE_RUNNING,
- SURF_VM_STATE_MIGRATING,
-
- /* Suspend/resume does not involve disk I/O, so we assume there is no transition states. */
- SURF_VM_STATE_SUSPENDED,
-
- /* Save/restore involves disk I/O, so there should be transition states. */
- SURF_VM_STATE_SAVING,
- SURF_VM_STATE_SAVED,
- SURF_VM_STATE_RESTORING,
-
-} e_surf_vm_state_t;
-
-typedef struct ws_params {
- int ncpus;
- long ramsize;
- int overcommit;
-
- /* The size of other states than memory pages, which is out-of-scope of dirty
- * page tracking. */
- long devsize;
- int skip_stage1;
- int skip_stage2;
- double max_downtime;
-
- double dp_rate;
- double dp_cap; /* bytes per 1 flop execution */
-
- double xfer_cpu_overhead;
- double dpt_cpu_overhead;
+ SURF_CLUSTER_FAT_TREE=2,
+ SURF_CLUSTER_FLAT = 1,
+ SURF_CLUSTER_TORUS = 0
+} e_surf_cluster_topology_t;