Home
last modified time | relevance | path

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

/Linux-v4.19/arch/x86/kvm/
Dvmx.c406 struct vmcs_host_state host_state; member
2866 struct vmcs_host_state *host_state; in vmx_prepare_switch_to_guest() local
2880 host_state = &vmx->loaded_cpu_state->host_state; in vmx_prepare_switch_to_guest()
2886 host_state->ldt_sel = kvm_read_ldt(); in vmx_prepare_switch_to_guest()
2889 savesegment(ds, host_state->ds_sel); in vmx_prepare_switch_to_guest()
2890 savesegment(es, host_state->es_sel); in vmx_prepare_switch_to_guest()
2914 if (unlikely(fs_sel != host_state->fs_sel)) { in vmx_prepare_switch_to_guest()
2919 host_state->fs_sel = fs_sel; in vmx_prepare_switch_to_guest()
2921 if (unlikely(gs_sel != host_state->gs_sel)) { in vmx_prepare_switch_to_guest()
2926 host_state->gs_sel = gs_sel; in vmx_prepare_switch_to_guest()
[all …]