Home
last modified time | relevance | path

Searched refs:host_state (Results 1 – 3 of 3) sorted by relevance

/linux/arch/x86/kvm/vmx/
A Dvmx.c1285 struct vmcs_host_state *host_state; in vmx_prepare_switch_to_guest() local
1316 host_state = &vmx->loaded_vmcs->host_state; in vmx_prepare_switch_to_guest()
1325 savesegment(ds, host_state->ds_sel); in vmx_prepare_switch_to_guest()
1326 savesegment(es, host_state->es_sel); in vmx_prepare_switch_to_guest()
1356 struct vmcs_host_state *host_state; in vmx_prepare_switch_to_host() local
1361 host_state = &vmx->loaded_vmcs->host_state; in vmx_prepare_switch_to_host()
1368 if (host_state->ldt_sel || (host_state->gs_sel & 7)) { in vmx_prepare_switch_to_host()
1369 kvm_load_ldt(host_state->ldt_sel); in vmx_prepare_switch_to_host()
1371 load_gs_index(host_state->gs_sel); in vmx_prepare_switch_to_host()
1376 if (host_state->fs_sel & 7) in vmx_prepare_switch_to_host()
[all …]
A Dvmcs.h74 struct vmcs_host_state host_state; member
A Dnested.c284 src = &prev->host_state; in vmx_sync_vmcs_host_state()
285 dest = &vmx->loaded_vmcs->host_state; in vmx_sync_vmcs_host_state()
3218 if (unlikely(cr3 != vmx->loaded_vmcs->host_state.cr3)) { in nested_vmx_check_vmentry_hw()
3220 vmx->loaded_vmcs->host_state.cr3 = cr3; in nested_vmx_check_vmentry_hw()
3224 if (unlikely(cr4 != vmx->loaded_vmcs->host_state.cr4)) { in nested_vmx_check_vmentry_hw()
3226 vmx->loaded_vmcs->host_state.cr4 = cr4; in nested_vmx_check_vmentry_hw()

Completed in 27 milliseconds