Symbol: to_vmx
arch/x86/kvm/vmx/hyperv.c
202
struct vcpu_vmx *vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/hyperv.c
215
struct vcpu_vmx *vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/hyperv.c
42
(!vcpu || to_vmx(vcpu)->nested.enlightened_vmcs_enabled))
arch/x86/kvm/vmx/hyperv.h
52
to_vmx(vcpu)->nested.enlightened_vmcs_enabled;
arch/x86/kvm/vmx/nested.c
1140
struct vcpu_vmx *vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/nested.c
1286
(nested_cpu_has_vpid(vmcs12) && to_vmx(vcpu)->nested.vpid02);
arch/x86/kvm/vmx/nested.c
1293
struct vcpu_vmx *vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/nested.c
1545
struct vcpu_vmx *vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/nested.c
188
if (nested_vmx_is_evmptr12_set(to_vmx(vcpu)))
arch/x86/kvm/vmx/nested.c
189
to_vmx(vcpu)->nested.need_vmcs12_to_shadow_sync = true;
arch/x86/kvm/vmx/nested.c
196
struct vcpu_vmx *vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/nested.c
2188
struct vcpu_vmx *vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/nested.c
2276
struct vcpu_vmx *vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/nested.c
2300
struct vcpu_vmx *vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/nested.c
2317
struct vcpu_vmx *vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/nested.c
237
struct vcpu_vmx *vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/nested.c
254
struct vcpu_vmx *vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/nested.c
2764
struct vcpu_vmx *vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/nested.c
2923
struct vcpu_vmx *vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/nested.c
2972
struct vcpu_vmx *vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/nested.c
299
struct vcpu_vmx *vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/nested.c
3035
struct vcpu_vmx *vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/nested.c
3052
struct vcpu_vmx *vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/nested.c
324
struct vcpu_vmx *vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/nested.c
3271
struct vcpu_vmx *vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/nested.c
338
struct vcpu_vmx *vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/nested.c
3415
struct vcpu_vmx *vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/nested.c
3445
struct vcpu_vmx *vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/nested.c
3560
struct vcpu_vmx *vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/nested.c
3603
if (!to_vmx(vcpu)->nested.vmxon) {
arch/x86/kvm/vmx/nested.c
3632
struct vcpu_vmx *vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/nested.c
3788
struct vcpu_vmx *vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/nested.c
4023
struct vcpu_vmx *vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/nested.c
4169
to_vmx(vcpu)->nested.preemption_timer_expired;
arch/x86/kvm/vmx/nested.c
4174
struct vcpu_vmx *vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/nested.c
425
struct vcpu_vmx *vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/nested.c
4300
struct vcpu_vmx *vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/nested.c
4511
hrtimer_get_remaining(&to_vmx(vcpu)->nested.preemption_timer);
arch/x86/kvm/vmx/nested.c
4572
struct vcpu_vmx *vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/nested.c
4617
struct vcpu_vmx *vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/nested.c
4645
struct vcpu_vmx *vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/nested.c
4704
(vm_entry_controls_get(to_vmx(vcpu)) & VM_ENTRY_IA32E_MODE);
arch/x86/kvm/vmx/nested.c
4953
struct vcpu_vmx *vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/nested.c
505
struct vcpu_vmx *vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/nested.c
5067
struct vcpu_vmx *vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/nested.c
5102
hrtimer_cancel(&to_vmx(vcpu)->nested.preemption_timer);
arch/x86/kvm/vmx/nested.c
5388
struct vcpu_vmx *vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/nested.c
5411
struct vcpu_vmx *vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/nested.c
5464
struct vcpu_vmx *vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/nested.c
5552
struct vcpu_vmx *vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/nested.c
5594
struct vcpu_vmx *vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/nested.c
5652
struct vcpu_vmx *vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/nested.c
5758
struct vcpu_vmx *vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/nested.c
5875
struct vcpu_vmx *vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/nested.c
5947
gpa_t current_vmptr = to_vmx(vcpu)->nested.current_vmptr;
arch/x86/kvm/vmx/nested.c
5955
if (unlikely(nested_vmx_is_evmptr12_valid(to_vmx(vcpu))))
arch/x86/kvm/vmx/nested.c
5973
struct vcpu_vmx *vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/nested.c
6053
struct vcpu_vmx *vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/nested.c
6185
struct vcpu_vmx *vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/nested.c
6694
struct vcpu_vmx *vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/nested.c
6765
vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/nested.c
6902
struct vcpu_vmx *vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/nested.c
707
struct vcpu_vmx *vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/nested.c
737
struct vcpu_vmx *vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/nested.c
857
struct vcpu_vmx *vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/nested.c
876
struct vcpu_vmx *vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/nested.c
959
struct vcpu_vmx *vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/nested.h
125
return vmx_misc_cr3_count(to_vmx(vcpu)->nested.msrs.misc_low);
arch/x86/kvm/vmx/nested.h
135
return to_vmx(vcpu)->nested.msrs.misc_low &
arch/x86/kvm/vmx/nested.h
141
return to_vmx(vcpu)->nested.msrs.misc_low & VMX_MISC_ZERO_LEN_INS;
arch/x86/kvm/vmx/nested.h
146
return to_vmx(vcpu)->nested.msrs.procbased_ctls_high &
arch/x86/kvm/vmx/nested.h
152
return to_vmx(vcpu)->nested.msrs.secondary_ctls_high &
arch/x86/kvm/vmx/nested.h
283
u64 fixed0 = to_vmx(vcpu)->nested.msrs.cr0_fixed0;
arch/x86/kvm/vmx/nested.h
284
u64 fixed1 = to_vmx(vcpu)->nested.msrs.cr0_fixed1;
arch/x86/kvm/vmx/nested.h
287
if (to_vmx(vcpu)->nested.msrs.secondary_ctls_high &
arch/x86/kvm/vmx/nested.h
297
u64 fixed0 = to_vmx(vcpu)->nested.msrs.cr0_fixed0;
arch/x86/kvm/vmx/nested.h
298
u64 fixed1 = to_vmx(vcpu)->nested.msrs.cr0_fixed1;
arch/x86/kvm/vmx/nested.h
305
u64 fixed0 = to_vmx(vcpu)->nested.msrs.cr4_fixed0;
arch/x86/kvm/vmx/nested.h
306
u64 fixed1 = to_vmx(vcpu)->nested.msrs.cr4_fixed1;
arch/x86/kvm/vmx/nested.h
314
return to_vmx(vcpu)->nested.msrs.basic & VMX_BASIC_NO_HW_ERROR_CODE_CC;
arch/x86/kvm/vmx/nested.h
40
if (to_vmx(vcpu)->fail || vm_exit_reason == -1 ||
arch/x86/kvm/vmx/nested.h
63
return to_vmx(vcpu)->nested.cached_vmcs12;
arch/x86/kvm/vmx/nested.h
71
return to_vmx(vcpu)->nested.cached_shadow_vmcs12;
arch/x86/kvm/vmx/nested.h
81
struct vcpu_vmx *vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/nested.h
90
struct vcpu_vmx *vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/pmu_intel.c
45
return &to_vmx(vcpu)->lbr_desc;
arch/x86/kvm/vmx/pmu_intel.c
53
return &to_vmx(vcpu)->lbr_desc.records;
arch/x86/kvm/vmx/sgx.c
301
struct vcpu_vmx *vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/sgx.c
379
return (to_vmx(vcpu)->msr_ia32_feature_control & bits) == bits;
arch/x86/kvm/vmx/sgx.c
431
struct vcpu_vmx *vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/vmx.c
1322
struct vcpu_vmx *vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/vmx.c
1467
struct vcpu_vmx *vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/vmx.c
1483
struct vcpu_vmx *vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/vmx.c
1499
struct vcpu_vmx *vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/vmx.c
1571
vmx_prepare_switch_to_host(to_vmx(vcpu));
arch/x86/kvm/vmx/vmx.c
1577
struct vcpu_vmx *vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/vmx.c
1588
struct vcpu_vmx *vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/vmx.c
1604
vmx_switch_loaded_vmcs(vcpu, &to_vmx(vcpu)->nested.vmcs02);
arch/x86/kvm/vmx/vmx.c
1616
struct vcpu_vmx *vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/vmx.c
1634
struct vcpu_vmx *vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/vmx.c
1697
struct vcpu_vmx *vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/vmx.c
1784
if ((to_vmx(vcpu)->idt_vectoring_info & VECTORING_INFO_VALID_MASK) &&
arch/x86/kvm/vmx/vmx.c
1862
struct vcpu_vmx *vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/vmx.c
1913
struct vcpu_vmx *vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/vmx.c
2115
struct vcpu_vmx *vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/vmx.c
2149
msr_info->data = to_vmx(vcpu)->spec_ctrl;
arch/x86/kvm/vmx/vmx.c
2181
msr_info->data = to_vmx(vcpu)->msr_ia32_sgxlepubkeyhash
arch/x86/kvm/vmx/vmx.c
2321
struct vcpu_vmx *vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/vmx.c
2394
if (intel_pmu_lbr_is_enabled(vcpu) && !to_vmx(vcpu)->lbr_desc.event &&
arch/x86/kvm/vmx/vmx.c
2473
!(to_vmx(vcpu)->msr_ia32_feature_control &
arch/x86/kvm/vmx/vmx.c
2650
if (!(exec_controls_get(to_vmx(vcpu)) & CPU_BASED_CR3_LOAD_EXITING))
arch/x86/kvm/vmx/vmx.c
3121
struct vcpu_vmx *vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/vmx.c
3191
struct vcpu_vmx *vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/vmx.c
3238
struct vcpu_vmx *vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/vmx.c
3265
vmx_segment_cache_clear(to_vmx(vcpu));
arch/x86/kvm/vmx/vmx.c
3287
struct vcpu_vmx *vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/vmx.c
3312
return to_vmx(vcpu)->vpid;
arch/x86/kvm/vmx/vmx.c
3419
if (to_vmx(vcpu)->nested.vmxon)
arch/x86/kvm/vmx/vmx.c
3427
struct vcpu_vmx *vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/vmx.c
3560
if (to_vmx(vcpu)->nested.vmxon && !nested_cr4_valid(vcpu, cr4))
arch/x86/kvm/vmx/vmx.c
3569
struct vcpu_vmx *vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/vmx.c
3632
struct vcpu_vmx *vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/vmx.c
3670
if (to_vmx(vcpu)->rmode.vm86_active) {
arch/x86/kvm/vmx/vmx.c
3674
return vmx_read_guest_seg_base(to_vmx(vcpu), seg);
arch/x86/kvm/vmx/vmx.c
3679
struct vcpu_vmx *vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/vmx.c
3721
struct vcpu_vmx *vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/vmx.c
3760
to_vmx(vcpu)->vt.emulation_required = vmx_emulation_required(vcpu);
arch/x86/kvm/vmx/vmx.c
3765
u32 ar = vmx_read_guest_seg_ar(to_vmx(vcpu), VCPU_SREG_CS);
arch/x86/kvm/vmx/vmx.c
4111
struct vcpu_vmx *vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/vmx.c
4143
struct vcpu_vmx *vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/vmx.c
4195
struct vcpu_vmx *vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/vmx.c
4215
struct vcpu_vmx *vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/vmx.c
4300
!to_vmx(vcpu)->spec_ctrl);
arch/x86/kvm/vmx/vmx.c
4341
exec_controls_changebit(to_vmx(vcpu), CPU_BASED_RDPMC_EXITING,
arch/x86/kvm/vmx/vmx.c
4354
struct vcpu_vmx *vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/vmx.c
4605
struct vcpu_vmx *vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/vmx.c
4993
struct vcpu_vmx *vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/vmx.c
5025
struct vcpu_vmx *vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/vmx.c
5092
exec_controls_setbit(to_vmx(vcpu), CPU_BASED_INTR_WINDOW_EXITING);
arch/x86/kvm/vmx/vmx.c
5103
exec_controls_setbit(to_vmx(vcpu), CPU_BASED_NMI_WINDOW_EXITING);
arch/x86/kvm/vmx/vmx.c
5108
struct vcpu_vmx *vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/vmx.c
5136
struct vcpu_vmx *vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/vmx.c
5167
struct vcpu_vmx *vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/vmx.c
5181
struct vcpu_vmx *vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/vmx.c
5204
if (!enable_vnmi && to_vmx(vcpu)->loaded_vmcs->soft_vnmi_blocked)
arch/x86/kvm/vmx/vmx.c
5288
to_vmx(vcpu)->vcpu.arch.event_exit_inst_len =
arch/x86/kvm/vmx/vmx.c
5411
struct vcpu_vmx *vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/vmx.c
5773
exec_controls_clearbit(to_vmx(vcpu), CPU_BASED_MOV_DR_EXITING);
arch/x86/kvm/vmx/vmx.c
5806
exec_controls_setbit(to_vmx(vcpu), CPU_BASED_MOV_DR_EXITING);
arch/x86/kvm/vmx/vmx.c
5828
exec_controls_clearbit(to_vmx(vcpu), CPU_BASED_INTR_WINDOW_EXITING);
arch/x86/kvm/vmx/vmx.c
5895
struct vcpu_vmx *vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/vmx.c
5961
if (!(to_vmx(vcpu)->idt_vectoring_info & VECTORING_INFO_VALID_MASK) &&
arch/x86/kvm/vmx/vmx.c
6009
exec_controls_clearbit(to_vmx(vcpu), CPU_BASED_NMI_WINDOW_EXITING);
arch/x86/kvm/vmx/vmx.c
6023
struct vcpu_vmx *vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/vmx.c
6050
struct vcpu_vmx *vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/vmx.c
6173
if (!(to_vmx(vcpu)->idt_vectoring_info & VECTORING_INFO_VALID_MASK) &&
arch/x86/kvm/vmx/vmx.c
6189
struct vcpu_vmx *vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/vmx.c
6382
struct vcpu_vmx *vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/vmx.c
6419
struct vcpu_vmx *vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/vmx.c
642
evmcs = (struct hv_enlightened_vmcs *)to_vmx(vcpu)->loaded_vmcs->vmcs;
arch/x86/kvm/vmx/vmx.c
6458
struct vcpu_vmx *vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/vmx.c
6493
struct vcpu_vmx *vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/vmx.c
6698
struct vcpu_vmx *vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/vmx.c
6889
struct vcpu_vmx *vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/vmx.c
6960
if (!(secondary_exec_controls_get(to_vmx(vcpu)) &
arch/x86/kvm/vmx/vmx.c
7374
struct vcpu_vmx *vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/vmx.c
7396
struct vcpu_vmx *vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/vmx.c
7470
struct vcpu_vmx *vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/vmx.c
7508
struct vcpu_vmx *vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/vmx.c
7660
struct vcpu_vmx *vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/vmx.c
7677
vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/vmx.c
7860
struct vcpu_vmx *vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/vmx.c
7905
struct vcpu_vmx *vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/vmx.c
7974
struct vcpu_vmx *vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/vmx.c
8321
vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/vmx.c
8356
to_vmx(vcpu)->hv_deadline_tsc = -1;
arch/x86/kvm/vmx/vmx.c
8362
struct vcpu_vmx *vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/vmx.c
8383
to_vmx(vcpu)->msr_ia32_feature_control_valid_bits |=
arch/x86/kvm/vmx/vmx.c
8386
to_vmx(vcpu)->msr_ia32_feature_control_valid_bits &=
arch/x86/kvm/vmx/vmx.c
8401
struct vcpu_vmx *vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/vmx.c
8422
struct vcpu_vmx *vmx = to_vmx(vcpu);
arch/x86/kvm/vmx/vmx.c
8453
return to_vmx(vcpu)->nested.vmxon && !is_guest_mode(vcpu);
arch/x86/kvm/vmx/vmx.c
8459
struct hrtimer *timer = &to_vmx(vcpu)->nested.preemption_timer;
arch/x86/kvm/vmx/vmx.c
922
if (to_vmx(vcpu)->rmode.vm86_active)
arch/x86/kvm/vmx/vmx.h
700
(secondary_exec_controls_get(to_vmx(vcpu)) &