Lines Matching refs:exec_control
2369 u32 exec_control; in prepare_vmcs02_early() local
2378 exec_control = __pin_controls_get(vmcs01); in prepare_vmcs02_early()
2379 exec_control |= (vmcs12->pin_based_vm_exec_control & in prepare_vmcs02_early()
2388 exec_control &= ~PIN_BASED_POSTED_INTR; in prepare_vmcs02_early()
2390 pin_controls_set(vmx, exec_control); in prepare_vmcs02_early()
2395 exec_control = __exec_controls_get(vmcs01); /* L0's desires */ in prepare_vmcs02_early()
2396 exec_control &= ~CPU_BASED_INTR_WINDOW_EXITING; in prepare_vmcs02_early()
2397 exec_control &= ~CPU_BASED_NMI_WINDOW_EXITING; in prepare_vmcs02_early()
2398 exec_control &= ~CPU_BASED_TPR_SHADOW; in prepare_vmcs02_early()
2399 exec_control |= vmcs12->cpu_based_vm_exec_control; in prepare_vmcs02_early()
2401 if (exec_control & CPU_BASED_TPR_SHADOW) in prepare_vmcs02_early()
2405 exec_control |= CPU_BASED_CR8_LOAD_EXITING | in prepare_vmcs02_early()
2413 exec_control |= CPU_BASED_UNCOND_IO_EXITING; in prepare_vmcs02_early()
2414 exec_control &= ~CPU_BASED_USE_IO_BITMAPS; in prepare_vmcs02_early()
2422 exec_control &= ~CPU_BASED_USE_MSR_BITMAPS; in prepare_vmcs02_early()
2423 exec_control |= exec_controls_get(vmx) & CPU_BASED_USE_MSR_BITMAPS; in prepare_vmcs02_early()
2425 exec_controls_set(vmx, exec_control); in prepare_vmcs02_early()
2431 exec_control = __secondary_exec_controls_get(vmcs01); in prepare_vmcs02_early()
2434 exec_control &= ~(SECONDARY_EXEC_VIRTUALIZE_APIC_ACCESSES | in prepare_vmcs02_early()
2447 exec_control |= vmcs12->secondary_vm_exec_control; in prepare_vmcs02_early()
2450 exec_control &= ~SECONDARY_EXEC_ENABLE_PML; in prepare_vmcs02_early()
2453 exec_control &= ~SECONDARY_EXEC_SHADOW_VMCS; in prepare_vmcs02_early()
2460 exec_control |= SECONDARY_EXEC_DESC; in prepare_vmcs02_early()
2462 if (exec_control & SECONDARY_EXEC_VIRTUAL_INTR_DELIVERY) in prepare_vmcs02_early()
2467 exec_control &= ~SECONDARY_EXEC_UNRESTRICTED_GUEST; in prepare_vmcs02_early()
2469 if (exec_control & SECONDARY_EXEC_ENCLS_EXITING) in prepare_vmcs02_early()
2472 secondary_exec_controls_set(vmx, exec_control); in prepare_vmcs02_early()
2487 exec_control = __vm_entry_controls_get(vmcs01); in prepare_vmcs02_early()
2488 exec_control |= (vmcs12->vm_entry_controls & in prepare_vmcs02_early()
2490 exec_control &= ~(VM_ENTRY_IA32E_MODE | VM_ENTRY_LOAD_IA32_EFER); in prepare_vmcs02_early()
2493 exec_control |= VM_ENTRY_IA32E_MODE; in prepare_vmcs02_early()
2495 exec_control |= VM_ENTRY_LOAD_IA32_EFER; in prepare_vmcs02_early()
2497 vm_entry_controls_set(vmx, exec_control); in prepare_vmcs02_early()
2506 exec_control = __vm_exit_controls_get(vmcs01); in prepare_vmcs02_early()
2508 exec_control |= VM_EXIT_LOAD_IA32_EFER; in prepare_vmcs02_early()
2510 exec_control &= ~VM_EXIT_LOAD_IA32_EFER; in prepare_vmcs02_early()
2511 vm_exit_controls_set(vmx, exec_control); in prepare_vmcs02_early()