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=f6bd9cb0e08abffed17c70f06952e1c08541c3ca;hpb=b93aeabee44c82139a9afd065dfcaca8ac6688ad;p=palacios.releases.git diff --git a/palacios/include/palacios/vm_guest.h b/palacios/include/palacios/vm_guest.h index f6bd9cb..b13f462 100644 --- a/palacios/include/palacios/vm_guest.h +++ b/palacios/include/palacios/vm_guest.h @@ -54,7 +54,7 @@ struct v3_intr_state; - +/* per-core state */ struct guest_info { uint64_t rip; @@ -106,13 +106,14 @@ 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;