X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?p=palacios.git;a=blobdiff_plain;f=palacios%2Finclude%2Fpalacios%2Fvmm_shadow_paging.h;h=cd0cb7a4596f4cf94950c0d489dd91b3dbe16e90;hp=e10615ac297ba17f2a8b93409dee2fa1bd673e63;hb=0e097100a26bc43eb8964734fa43130fc4c71429;hpb=b06d0d0e5e57f5c4163a69efcabe6f96594ad814 diff --git a/palacios/include/palacios/vmm_shadow_paging.h b/palacios/include/palacios/vmm_shadow_paging.h index e10615a..cd0cb7a 100644 --- a/palacios/include/palacios/vmm_shadow_paging.h +++ b/palacios/include/palacios/vmm_shadow_paging.h @@ -27,6 +27,7 @@ #include #include #include +#include struct shadow_page_state { @@ -34,18 +35,21 @@ struct shadow_page_state { // virtualized control registers v3_reg_t guest_cr3; v3_reg_t guest_cr0; + v3_msr_t guest_efer; // list of allocated shadow pages struct list_head page_list; -}; - +#ifdef CONFIG_SHADOW_PAGING_TELEMETRY + uint_t guest_faults; +#endif -struct guest_info; +}; +struct guest_info; int v3_init_shadow_page_state(struct guest_info * info);