X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Finclude%2Fpalacios%2Fvm_guest.h;h=9871d3adee147f6b28649d7981b39fabe70be0d9;hb=0acab7cc621777394096377d6412e7f796e41769;hp=04a56325503eb14deb43dd586c2c911b97c4cd0d;hpb=964e7836a6227341b5d895a830b7e36ad6debffb;p=palacios.git diff --git a/palacios/include/palacios/vm_guest.h b/palacios/include/palacios/vm_guest.h index 04a5632..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; @@ -119,6 +121,8 @@ struct guest_info { 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; }; @@ -127,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 */ @@ -171,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);