CPU_BASED_TPR_SHADOW
return vmcs_config.cpu_based_exec_ctrl & CPU_BASED_TPR_SHADOW;
CPU_BASED_TPR_SHADOW | \
exec_control &= ~CPU_BASED_TPR_SHADOW;
if (exec_control & CPU_BASED_TPR_SHADOW)
if ((exec_controls_get(to_vmx(vcpu)) & CPU_BASED_TPR_SHADOW) &&
nested_cpu_has(vmcs12, CPU_BASED_TPR_SHADOW) &&
if (nested_cpu_has(vmcs12, CPU_BASED_TPR_SHADOW)) {
exec_controls_clearbit(vmx, CPU_BASED_TPR_SHADOW);
if (!nested_cpu_has(vmcs12, CPU_BASED_TPR_SHADOW))
return nested_cpu_has(vmcs12, CPU_BASED_TPR_SHADOW);
CPU_BASED_TPR_SHADOW | CPU_BASED_ACTIVATE_SECONDARY_CONTROLS;
if (CC(!nested_cpu_has(vmcs12, CPU_BASED_TPR_SHADOW)))
_cpu_based_exec_control &= ~CPU_BASED_TPR_SHADOW;
if (!(_cpu_based_exec_control & CPU_BASED_TPR_SHADOW))
exec_control &= ~CPU_BASED_TPR_SHADOW;
if (exec_control & CPU_BASED_TPR_SHADOW)
if (cpu_based_exec_ctrl & CPU_BASED_TPR_SHADOW) {
nested_cpu_has(vmcs12, CPU_BASED_TPR_SHADOW))
CPU_BASED_TPR_SHADOW | \