Skip to content
  • Charlie Jacobsen's avatar
    Finished lcd_vmx_create and its dependencies (untested). · 7607ec9a
    Charlie Jacobsen authored and Vikram Narayanan's avatar Vikram Narayanan committed
    vmx_setup_vmcs ==> vmx_setup_vmcs_guest_settings and
    vmx_setup_vmcs_host.
    
    vmx_setup_vmcs_guest_settings
    -- execution control (e.g., interrupt handling)
    -- ept pointer
    -- %cr0 and %cr4 access control
    
    vmx_setup_vmcs_guest_regs
    -- initial %cr0, %cr4
    -- segmentation--bases, limits, selectors
    -- guest EFER (long mode enabled, no syscall/sysret)
    -- initial activity and interrupt state
    
    vmx_setup_vmcs_host
    -- control and segmentation regs
    -- host EFER
    -- no saving of syscall/sysret msrs since these are
       disabled in guest
    -- no page attribute table
    7607ec9a