Home
last modified time | relevance | path

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

/arch/x86/kvm/vmx/
Dvmx.h195 struct loaded_vmcs vmcs02;
281 struct loaded_vmcs vmcs01;
282 struct loaded_vmcs *loaded_vmcs; member
366 struct loaded_vmcs *buddy);
493 if (vmx->loaded_vmcs->controls_shadow.lname != val) { \
495 vmx->loaded_vmcs->controls_shadow.lname = val; \
498 static inline u32 __##lname##_controls_get(struct loaded_vmcs *vmcs) \
504 return __##lname##_controls_get(vmx->loaded_vmcs); \
568 int alloc_loaded_vmcs(struct loaded_vmcs *loaded_vmcs);
569 void free_loaded_vmcs(struct loaded_vmcs *loaded_vmcs);
[all …]
Dvmx.c533 evmcs = (struct hv_enlightened_vmcs *)to_vmx(vcpu)->loaded_vmcs->vmcs; in hv_enable_direct_tlbflush()
678 struct loaded_vmcs *v; in crash_vmclear_local_loaded_vmcss()
688 struct loaded_vmcs *loaded_vmcs = arg; in __loaded_vmcs_clear() local
691 if (loaded_vmcs->cpu != cpu) in __loaded_vmcs_clear()
693 if (per_cpu(current_vmcs, cpu) == loaded_vmcs->vmcs) in __loaded_vmcs_clear()
696 vmcs_clear(loaded_vmcs->vmcs); in __loaded_vmcs_clear()
697 if (loaded_vmcs->shadow_vmcs && loaded_vmcs->launched) in __loaded_vmcs_clear()
698 vmcs_clear(loaded_vmcs->shadow_vmcs); in __loaded_vmcs_clear()
700 list_del(&loaded_vmcs->loaded_vmcss_on_cpu_link); in __loaded_vmcs_clear()
711 loaded_vmcs->cpu = -1; in __loaded_vmcs_clear()
[all …]
Dnested.c238 struct loaded_vmcs *prev) in vmx_sync_vmcs_host_state()
246 dest = &vmx->loaded_vmcs->host_state; in vmx_sync_vmcs_host_state()
256 static void vmx_switch_vmcs(struct kvm_vcpu *vcpu, struct loaded_vmcs *vmcs) in vmx_switch_vmcs()
259 struct loaded_vmcs *prev; in vmx_switch_vmcs()
262 if (WARN_ON_ONCE(vmx->loaded_vmcs == vmcs)) in vmx_switch_vmcs()
266 prev = vmx->loaded_vmcs; in vmx_switch_vmcs()
267 vmx->loaded_vmcs = vmcs; in vmx_switch_vmcs()
283 if (WARN_ON_ONCE(vmx->loaded_vmcs != &vmx->vmcs01)) in free_nested()
1549 vmcs_load(vmx->loaded_vmcs->vmcs); in copy_shadow_to_vmcs12()
1585 vmcs_load(vmx->loaded_vmcs->vmcs); in copy_vmcs12_to_shadow()
[all …]
Dvmcs.h60 struct loaded_vmcs { struct