X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Finclude%2Fpalacios%2Fvm_guest.h;h=1819fa839fe6f84131c5e92fc3abe43b97a79667;hb=a4fd5bcc79e7cdf9a3bd879294566bff0666ced7;hp=4a9d07572a53456f557278bbc411ef05cb1f3f6a;hpb=d3d6d09894dba66f4e2361bb2f903139a2d83684;p=palacios.git diff --git a/palacios/include/palacios/vm_guest.h b/palacios/include/palacios/vm_guest.h index 4a9d075..1819fa8 100644 --- a/palacios/include/palacios/vm_guest.h +++ b/palacios/include/palacios/vm_guest.h @@ -86,9 +86,12 @@ struct guest_info { void * sched_priv_data; v3_paging_mode_t shdw_pg_mode; + // arch-independent state of shadow pager struct v3_shdw_pg_state shdw_pg_state; - //struct v3_nested_pg_state nested_pg_state; + // arch-indepedent state of the passthrough pager addr_t direct_map_pt; + // arch-independent state of the nested pager (currently none) + // struct v3_nested_pg_state nested_pg_state; union { @@ -120,6 +123,7 @@ struct guest_info { struct v3_fp_state fp_state; + // the arch-dependent state (SVM or VMX) void * vmm_data; uint64_t yield_start_cycle; @@ -179,8 +183,12 @@ struct v3_vm_info { struct v3_mem_hooks mem_hooks; + // arch-indepentent state of shadow pager struct v3_shdw_impl_state shdw_impl; - //struct v3_nested_impl_state nested_impl; + // arch-independent state of passthrough pager (currently none) + struct v3_passthrough_impl_state passthrough_impl; + // arch-independent state of the nested pager + struct v3_nested_impl_state nested_impl; void * sched_priv_data; struct v3_io_map io_map;