X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?p=palacios.git;a=blobdiff_plain;f=palacios%2Finclude%2Fpalacios%2Fvmx.h;h=70e877faf759ebf4733396f58a9642aa408429bc;hp=a34cd46ca5a7eaf6980e34bc5a96c59d542355b1;hb=5bf6d0c260240e314876a2fca8e3fd56bd6a1029;hpb=3373500a962dba67f09d120d7db3c2ea1d4beee2 diff --git a/palacios/include/palacios/vmx.h b/palacios/include/palacios/vmx.h index a34cd46..70e877f 100644 --- a/palacios/include/palacios/vmx.h +++ b/palacios/include/palacios/vmx.h @@ -214,6 +214,10 @@ struct vmcs_host_state { struct v3_segment tr; }; + + + + struct vmx_data { vmx_state_t state; struct vmcs_host_state host_state; @@ -222,6 +226,9 @@ struct vmx_data { uint8_t ia32e_avail; + v3_reg_t guest_cr4; /// corresponds to the CR4 Read shadow + + /* VMX Control Fields */ struct vmx_pin_ctrls pin_ctrls; struct vmx_pri_proc_ctrls pri_proc_ctrls; @@ -232,7 +239,9 @@ struct vmx_data { int v3_is_vmx_capable(); void v3_init_vmx_cpu(int cpu_id); +int v3_start_vmx_guest(struct guest_info* info); +int v3_init_vmx_vmcs(struct guest_info * info, v3_vm_class_t vm_class); #endif // ! __V3VEE__