Lines Matching refs:enable_unrestricted_guest
87 static bool __read_mostly enable_unrestricted_guest = 1; variable
89 enable_unrestricted_guest, bool, S_IRUGO);
3654 if (enable_unrestricted_guest) in nested_vmx_setup_ctls_msrs()
5152 if (enable_unrestricted_guest || (enable_ept && is_paging(vcpu))) in vmx_decache_cr3()
5268 if (enable_unrestricted_guest) in vmx_set_cr0()
5289 if (enable_ept && !enable_unrestricted_guest) in vmx_set_cr0()
5340 if (enable_unrestricted_guest || is_paging(vcpu) || in vmx_set_cr3()
5361 if (enable_unrestricted_guest) in vmx_set_cr4()
5396 if (!enable_unrestricted_guest) { in vmx_set_cr4()
5538 if (enable_unrestricted_guest && (seg != VCPU_SREG_LDTR)) in vmx_set_segment()
5729 if (enable_unrestricted_guest) in guest_state_valid()
6440 enable_unrestricted_guest = 0; in vmx_compute_secondary_exec_control()
6442 if (!enable_unrestricted_guest) in vmx_compute_secondary_exec_control()
6938 if (enable_unrestricted_guest) in vmx_set_tss_addr()
7266 WARN_ON_ONCE(enable_unrestricted_guest); in handle_cr()
7299 WARN_ON_ONCE(enable_unrestricted_guest); in handle_cr()
7905 enable_unrestricted_guest = 0; in hardware_setup()
10467 return enable_unrestricted_guest || emulate_invalid_guest_state; in vmx_has_emulated_msr()
11055 if (enable_ept && !enable_unrestricted_guest) { in vmx_create_vcpu()