Lines Matching refs:exec_control
2213 u32 exec_control; in prepare_vmcs02_early() local
2222 exec_control = __pin_controls_get(vmcs01); in prepare_vmcs02_early()
2223 exec_control |= (vmcs12->pin_based_vm_exec_control & in prepare_vmcs02_early()
2231 exec_control &= ~PIN_BASED_POSTED_INTR; in prepare_vmcs02_early()
2232 pin_controls_set(vmx, exec_control); in prepare_vmcs02_early()
2237 exec_control = __exec_controls_get(vmcs01); /* L0's desires */ in prepare_vmcs02_early()
2238 exec_control &= ~CPU_BASED_INTR_WINDOW_EXITING; in prepare_vmcs02_early()
2239 exec_control &= ~CPU_BASED_NMI_WINDOW_EXITING; in prepare_vmcs02_early()
2240 exec_control &= ~CPU_BASED_TPR_SHADOW; in prepare_vmcs02_early()
2241 exec_control |= vmcs12->cpu_based_vm_exec_control; in prepare_vmcs02_early()
2244 if (exec_control & CPU_BASED_TPR_SHADOW) in prepare_vmcs02_early()
2248 exec_control |= CPU_BASED_CR8_LOAD_EXITING | in prepare_vmcs02_early()
2256 exec_control |= CPU_BASED_UNCOND_IO_EXITING; in prepare_vmcs02_early()
2257 exec_control &= ~CPU_BASED_USE_IO_BITMAPS; in prepare_vmcs02_early()
2265 exec_control &= ~CPU_BASED_USE_MSR_BITMAPS; in prepare_vmcs02_early()
2266 exec_control |= exec_controls_get(vmx) & CPU_BASED_USE_MSR_BITMAPS; in prepare_vmcs02_early()
2268 exec_controls_set(vmx, exec_control); in prepare_vmcs02_early()
2274 exec_control = __secondary_exec_controls_get(vmcs01); in prepare_vmcs02_early()
2277 exec_control &= ~(SECONDARY_EXEC_VIRTUALIZE_APIC_ACCESSES | in prepare_vmcs02_early()
2291 exec_control |= vmcs12->secondary_vm_exec_control; in prepare_vmcs02_early()
2294 exec_control &= ~SECONDARY_EXEC_ENABLE_PML; in prepare_vmcs02_early()
2297 exec_control &= ~SECONDARY_EXEC_SHADOW_VMCS; in prepare_vmcs02_early()
2305 exec_control |= SECONDARY_EXEC_DESC; in prepare_vmcs02_early()
2307 if (exec_control & SECONDARY_EXEC_VIRTUAL_INTR_DELIVERY) in prepare_vmcs02_early()
2312 exec_control &= ~SECONDARY_EXEC_UNRESTRICTED_GUEST; in prepare_vmcs02_early()
2314 if (exec_control & SECONDARY_EXEC_ENCLS_EXITING) in prepare_vmcs02_early()
2317 secondary_exec_controls_set(vmx, exec_control); in prepare_vmcs02_early()
2328 exec_control = __vm_entry_controls_get(vmcs01); in prepare_vmcs02_early()
2329 exec_control |= vmcs12->vm_entry_controls; in prepare_vmcs02_early()
2330 exec_control &= ~(VM_ENTRY_IA32E_MODE | VM_ENTRY_LOAD_IA32_EFER); in prepare_vmcs02_early()
2333 exec_control |= VM_ENTRY_IA32E_MODE; in prepare_vmcs02_early()
2335 exec_control |= VM_ENTRY_LOAD_IA32_EFER; in prepare_vmcs02_early()
2337 vm_entry_controls_set(vmx, exec_control); in prepare_vmcs02_early()
2346 exec_control = __vm_exit_controls_get(vmcs01); in prepare_vmcs02_early()
2348 exec_control |= VM_EXIT_LOAD_IA32_EFER; in prepare_vmcs02_early()
2350 exec_control &= ~VM_EXIT_LOAD_IA32_EFER; in prepare_vmcs02_early()
2351 vm_exit_controls_set(vmx, exec_control); in prepare_vmcs02_early()