Home
last modified time | relevance | path

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

/arch/x86/kvm/vmx/
Dvmx.h147 struct loaded_vmcs vmcs02;
225 struct loaded_vmcs vmcs01;
226 struct loaded_vmcs *loaded_vmcs; member
407 if (vmx->loaded_vmcs->controls_shadow.lname != val) { \
409 vmx->loaded_vmcs->controls_shadow.lname = val; \
414 return vmx->loaded_vmcs->controls_shadow.lname; \
477 int alloc_loaded_vmcs(struct loaded_vmcs *loaded_vmcs);
478 void free_loaded_vmcs(struct loaded_vmcs *loaded_vmcs);
479 void loaded_vmcs_init(struct loaded_vmcs *loaded_vmcs);
480 void loaded_vmcs_clear(struct loaded_vmcs *loaded_vmcs);
Dvmx.c551 evmcs = (struct hv_enlightened_vmcs *)to_vmx(vcpu)->loaded_vmcs->vmcs; in hv_enable_direct_tlbflush()
641 void loaded_vmcs_init(struct loaded_vmcs *loaded_vmcs) in loaded_vmcs_init() argument
643 vmcs_clear(loaded_vmcs->vmcs); in loaded_vmcs_init()
644 if (loaded_vmcs->shadow_vmcs && loaded_vmcs->launched) in loaded_vmcs_init()
645 vmcs_clear(loaded_vmcs->shadow_vmcs); in loaded_vmcs_init()
646 loaded_vmcs->cpu = -1; in loaded_vmcs_init()
647 loaded_vmcs->launched = 0; in loaded_vmcs_init()
676 struct loaded_vmcs *v; in crash_vmclear_local_loaded_vmcss()
692 struct loaded_vmcs *loaded_vmcs = arg; in __loaded_vmcs_clear() local
695 if (loaded_vmcs->cpu != cpu) in __loaded_vmcs_clear()
[all …]
Dnested.c275 struct loaded_vmcs *prev) in vmx_sync_vmcs_host_state()
283 dest = &vmx->loaded_vmcs->host_state; in vmx_sync_vmcs_host_state()
293 static void vmx_switch_vmcs(struct kvm_vcpu *vcpu, struct loaded_vmcs *vmcs) in vmx_switch_vmcs()
296 struct loaded_vmcs *prev; in vmx_switch_vmcs()
299 if (vmx->loaded_vmcs == vmcs) in vmx_switch_vmcs()
303 prev = vmx->loaded_vmcs; in vmx_switch_vmcs()
304 vmx->loaded_vmcs = vmcs; in vmx_switch_vmcs()
1388 vmcs_load(vmx->loaded_vmcs->vmcs); in copy_shadow_to_vmcs12()
1424 vmcs_load(vmx->loaded_vmcs->vmcs); in copy_vmcs12_to_shadow()
2184 vmx->loaded_vmcs->nmi_known_unmasked = in prepare_vmcs02_early()
[all …]
Dvmcs.h58 struct loaded_vmcs { struct