X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Finclude%2Fpalacios%2Fvmcs.h;h=9719c9d3cd8efae2d20e305ba48e698d4630e45f;hb=f1d8183ae8c4390dfc74cb2780dd2058c569fc57;hp=b3e1bb83e4d4165de682d70ce552f8f3a472a38b;hpb=35d5ebaeb1c4b9dfb37fdfa14e462f1c162a7714;p=palacios.git diff --git a/palacios/include/palacios/vmcs.h b/palacios/include/palacios/vmcs.h index b3e1bb8..9719c9d 100644 --- a/palacios/include/palacios/vmcs.h +++ b/palacios/include/palacios/vmcs.h @@ -202,6 +202,9 @@ typedef enum { } vmcs_field_t; int v3_vmcs_get_field_len(vmcs_field_t field); +const char* v3_vmcs_field_to_str(vmcs_field_t field); +void v3_print_vmcs_guest_state(); +void v3_print_vmcs_host_state(); /* VMCS Exit QUALIFICATIONs */ @@ -287,7 +290,7 @@ struct vmcs_segment_access { uint32_t rsvd1 : 4; uint32_t avail : 1; uint32_t long_mode : 1; // CS only (64 bit active), reserved otherwise - uint32_t DB : 1; + uint32_t db : 1; uint32_t granularity : 1; uint32_t unusable : 1; uint32_t rsvd2 : 15;