Lines Matching defs:msrs
1799 * msrs. Don't touch the 64-bit msrs if the guest is in legacy
1800 * mode, as fiddling with msrs is very expensive.
1957 if (vmx_get_vmx_msr(&vmx->nested.msrs, msr_info->index,
4297 vmx->nested.msrs.secondary_ctls_high |= control;
4299 vmx->nested.msrs.secondary_ctls_high &= ~control;
6685 struct perf_guest_switch_msr *msrs;
6687 msrs = perf_guest_get_msrs(&nr_msrs);
6689 if (!msrs)
6693 if (msrs[i].host == msrs[i].guest)
6694 clear_atomic_switch_msr(vmx, msrs[i].msr);
6696 add_atomic_switch_msr(vmx, msrs[i].msr, msrs[i].guest,
6697 msrs[i].host, false);
7115 memcpy(&vmx->nested.msrs, &vmcs_config.nested, sizeof(vmx->nested.msrs));
7117 memset(&vmx->nested.msrs, 0, sizeof(vmx->nested.msrs));
7283 vmx->nested.msrs.cr0_fixed1 = 0xffffffff;
7284 vmx->nested.msrs.cr4_fixed1 = X86_CR4_PCE;
7288 vmx->nested.msrs.cr4_fixed1 |= (_cr4_mask); \
7326 vmx->nested.msrs.entry_ctls_high |= VM_ENTRY_LOAD_BNDCFGS;
7327 vmx->nested.msrs.exit_ctls_high |= VM_EXIT_CLEAR_BNDCFGS;
7329 vmx->nested.msrs.entry_ctls_high &= ~VM_ENTRY_LOAD_BNDCFGS;
7330 vmx->nested.msrs.exit_ctls_high &= ~VM_EXIT_CLEAR_BNDCFGS;