Searched refs:host_state (Results 1 - 6 of 6) sorted by relevance
/kernel/linux/linux-5.10/arch/x86/kvm/vmx/ |
H A D | vmcs.h | 71 struct vmcs_host_state host_state; member
|
H A D | vmx.c | 1275 struct vmcs_host_state *host_state; in vmx_prepare_switch_to_guest() local 1305 host_state = &vmx->loaded_vmcs->host_state; in vmx_prepare_switch_to_guest() 1311 host_state->ldt_sel = kvm_read_ldt(); in vmx_prepare_switch_to_guest() 1314 savesegment(ds, host_state->ds_sel); in vmx_prepare_switch_to_guest() 1315 savesegment(es, host_state->es_sel); in vmx_prepare_switch_to_guest() 1339 vmx_set_host_fs_gs(host_state, fs_sel, gs_sel, fs_base, gs_base); in vmx_prepare_switch_to_guest() 1345 struct vmcs_host_state *host_state; in vmx_prepare_switch_to_host() local 1350 host_state = &vmx->loaded_vmcs->host_state; in vmx_prepare_switch_to_host() [all...] |
H A D | nested.c | 245 src = &prev->host_state; in vmx_sync_vmcs_host_state() 246 dest = &vmx->loaded_vmcs->host_state; in vmx_sync_vmcs_host_state() 3090 if (unlikely(cr3 != vmx->loaded_vmcs->host_state.cr3)) { in nested_vmx_check_vmentry_hw() 3092 vmx->loaded_vmcs->host_state.cr3 = cr3; in nested_vmx_check_vmentry_hw() 3096 if (unlikely(cr4 != vmx->loaded_vmcs->host_state.cr4)) { in nested_vmx_check_vmentry_hw() 3098 vmx->loaded_vmcs->host_state.cr4 = cr4; in nested_vmx_check_vmentry_hw()
|
/kernel/linux/linux-6.6/arch/x86/kvm/vmx/ |
H A D | vmcs.h | 74 struct vmcs_host_state host_state; member
|
H A D | vmx.c | 1292 struct vmcs_host_state *host_state; in vmx_prepare_switch_to_guest() local 1325 host_state = &vmx->loaded_vmcs->host_state; in vmx_prepare_switch_to_guest() 1331 host_state->ldt_sel = kvm_read_ldt(); in vmx_prepare_switch_to_guest() 1334 savesegment(ds, host_state->ds_sel); in vmx_prepare_switch_to_guest() 1335 savesegment(es, host_state->es_sel); in vmx_prepare_switch_to_guest() 1359 vmx_set_host_fs_gs(host_state, fs_sel, gs_sel, fs_base, gs_base); in vmx_prepare_switch_to_guest() 1365 struct vmcs_host_state *host_state; in vmx_prepare_switch_to_host() local 1370 host_state = &vmx->loaded_vmcs->host_state; in vmx_prepare_switch_to_host() [all...] |
H A D | nested.c | 254 src = &prev->host_state; in vmx_sync_vmcs_host_state() 255 dest = &vmx->loaded_vmcs->host_state; in vmx_sync_vmcs_host_state() 3113 if (unlikely(cr3 != vmx->loaded_vmcs->host_state.cr3)) { in nested_vmx_check_vmentry_hw() 3115 vmx->loaded_vmcs->host_state.cr3 = cr3; in nested_vmx_check_vmentry_hw() 3119 if (unlikely(cr4 != vmx->loaded_vmcs->host_state.cr4)) { in nested_vmx_check_vmentry_hw() 3121 vmx->loaded_vmcs->host_state.cr4 = cr4; in nested_vmx_check_vmentry_hw()
|
Completed in 25 milliseconds