Lines Matching refs:exec_control

2242 	u32 exec_control;  in prepare_vmcs02_early()  local
2251 exec_control = __pin_controls_get(vmcs01); in prepare_vmcs02_early()
2252 exec_control |= (vmcs12->pin_based_vm_exec_control & in prepare_vmcs02_early()
2260 exec_control &= ~PIN_BASED_POSTED_INTR; in prepare_vmcs02_early()
2261 pin_controls_set(vmx, exec_control); in prepare_vmcs02_early()
2266 exec_control = __exec_controls_get(vmcs01); /* L0's desires */ in prepare_vmcs02_early()
2267 exec_control &= ~CPU_BASED_INTR_WINDOW_EXITING; in prepare_vmcs02_early()
2268 exec_control &= ~CPU_BASED_NMI_WINDOW_EXITING; in prepare_vmcs02_early()
2269 exec_control &= ~CPU_BASED_TPR_SHADOW; in prepare_vmcs02_early()
2270 exec_control |= vmcs12->cpu_based_vm_exec_control; in prepare_vmcs02_early()
2273 if (exec_control & CPU_BASED_TPR_SHADOW) in prepare_vmcs02_early()
2277 exec_control |= CPU_BASED_CR8_LOAD_EXITING | in prepare_vmcs02_early()
2285 exec_control |= CPU_BASED_UNCOND_IO_EXITING; in prepare_vmcs02_early()
2286 exec_control &= ~CPU_BASED_USE_IO_BITMAPS; in prepare_vmcs02_early()
2294 exec_control &= ~CPU_BASED_USE_MSR_BITMAPS; in prepare_vmcs02_early()
2295 exec_control |= exec_controls_get(vmx) & CPU_BASED_USE_MSR_BITMAPS; in prepare_vmcs02_early()
2297 exec_controls_set(vmx, exec_control); in prepare_vmcs02_early()
2303 exec_control = __secondary_exec_controls_get(vmcs01); in prepare_vmcs02_early()
2306 exec_control &= ~(SECONDARY_EXEC_VIRTUALIZE_APIC_ACCESSES | in prepare_vmcs02_early()
2319 exec_control |= vmcs12->secondary_vm_exec_control; in prepare_vmcs02_early()
2322 exec_control &= ~SECONDARY_EXEC_ENABLE_PML; in prepare_vmcs02_early()
2325 exec_control &= ~SECONDARY_EXEC_SHADOW_VMCS; in prepare_vmcs02_early()
2332 exec_control |= SECONDARY_EXEC_DESC; in prepare_vmcs02_early()
2334 if (exec_control & SECONDARY_EXEC_VIRTUAL_INTR_DELIVERY) in prepare_vmcs02_early()
2339 exec_control &= ~SECONDARY_EXEC_UNRESTRICTED_GUEST; in prepare_vmcs02_early()
2341 if (exec_control & SECONDARY_EXEC_ENCLS_EXITING) in prepare_vmcs02_early()
2344 secondary_exec_controls_set(vmx, exec_control); in prepare_vmcs02_early()
2359 exec_control = __vm_entry_controls_get(vmcs01); in prepare_vmcs02_early()
2360 exec_control |= (vmcs12->vm_entry_controls & in prepare_vmcs02_early()
2362 exec_control &= ~(VM_ENTRY_IA32E_MODE | VM_ENTRY_LOAD_IA32_EFER); in prepare_vmcs02_early()
2365 exec_control |= VM_ENTRY_IA32E_MODE; in prepare_vmcs02_early()
2367 exec_control |= VM_ENTRY_LOAD_IA32_EFER; in prepare_vmcs02_early()
2369 vm_entry_controls_set(vmx, exec_control); in prepare_vmcs02_early()
2378 exec_control = __vm_exit_controls_get(vmcs01); in prepare_vmcs02_early()
2380 exec_control |= VM_EXIT_LOAD_IA32_EFER; in prepare_vmcs02_early()
2382 exec_control &= ~VM_EXIT_LOAD_IA32_EFER; in prepare_vmcs02_early()
2383 vm_exit_controls_set(vmx, exec_control); in prepare_vmcs02_early()