X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Finclude%2Fpalacios%2Fvm_guest.h;h=9871d3adee147f6b28649d7981b39fabe70be0d9;hb=13d8e5d4035b90bf1ab8b1da115c7d6310c76526;hp=7d8266069f4f459ded2af27b68ce531567647996;hpb=4731ff7dc97e42853546b38b4d441d793e7a4ec8;p=palacios-OLD.git diff --git a/palacios/include/palacios/vm_guest.h b/palacios/include/palacios/vm_guest.h index 7d82660..9871d3a 100644 --- a/palacios/include/palacios/vm_guest.h +++ b/palacios/include/palacios/vm_guest.h @@ -56,6 +56,8 @@ struct v3_intr_state; /* per-core state */ struct guest_info { + char exec_name[256]; + uint64_t rip; uint_t cpl; @@ -114,9 +116,13 @@ struct guest_info { struct v3_sym_core_state sym_core_state; #endif + /* Per-core config tree data. */ + v3_cfg_tree_t * core_cfg_data; struct v3_vm_info * vm_info; + v3_core_operating_mode_t core_run_state; + /* the logical cpu on which this core runs */ uint32_t cpu_id; }; @@ -125,6 +131,8 @@ struct guest_info { /* shared state across cores */ struct v3_vm_info { + char name[128]; + v3_vm_class_t vm_class; addr_t mem_size; /* In bytes for now */ @@ -169,12 +177,13 @@ struct v3_vm_info { uint64_t yield_cycle_period; - int num_cores; - struct guest_info cores[0]; - void * host_priv_data; + int num_cores; + + // JRL: This MUST be the last entry... + struct guest_info cores[0]; }; int v3_init_vm(struct v3_vm_info * vm);