X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Finclude%2Fpalacios%2Fvm_guest.h;h=b13f462d31805a8166c9154dfb2cf84aa702a2f4;hb=d25220596e7ceb6b06a4b715f722a47afd8b48bb;hp=041b75509547ee8531e1fbff975c31c8c6ff8035;hpb=1b72cd1ffc37529af00e7e0a04034a67dad0c786;p=palacios.releases.git diff --git a/palacios/include/palacios/vm_guest.h b/palacios/include/palacios/vm_guest.h index 041b755..b13f462 100644 --- a/palacios/include/palacios/vm_guest.h +++ b/palacios/include/palacios/vm_guest.h @@ -24,6 +24,7 @@ #include #include +#include #include #include #include @@ -53,7 +54,7 @@ struct v3_intr_state; - +/* per-core state */ struct guest_info { uint64_t rip; @@ -105,19 +106,21 @@ struct guest_info { struct v3_vm_info * vm_info; - // the logical cpu this guest context is executing on - int cpu_id; -}; + // the logical cpu on which this core runs + uint32_t cpu_id; +}; +/* shared state across cores */ struct v3_vm_info { v3_vm_class_t vm_class; addr_t mem_size; // In bytes for now struct v3_mem_map mem_map; + struct v3_mem_hooks mem_hooks; struct v3_shdw_impl_state shdw_impl;