Searched refs:guest_mode (Results 1 - 14 of 14) sorted by path

/linux-master/arch/x86/include/asm/
H A Dkvm_host.h351 unsigned guest_mode:1; member in struct:kvm_mmu_page_role::__anon68
1580 u64 guest_mode; member in struct:kvm_vcpu_stat
/linux-master/arch/x86/kvm/
H A Ddebugfs.c27 *val = vcpu->stat.guest_mode;
61 debugfs_create_file("guest_mode", 0444, debugfs_dentry, vcpu,
H A Dkvm_cache_regs.h211 vcpu->stat.guest_mode = 1;
223 vcpu->stat.guest_mode = 0;
H A Dtrace.h1556 TP_PROTO(u64 processor_mask, u64 address_space, u64 flags, bool guest_mode),
1557 TP_ARGS(processor_mask, address_space, flags, guest_mode),
1563 __field(bool, guest_mode)
1570 __entry->guest_mode = guest_mode;
1575 __entry->flags, __entry->guest_mode ? "(L2)" : "")
1582 TP_PROTO(u64 valid_bank_mask, u64 format, u64 address_space, u64 flags, bool guest_mode),
1583 TP_ARGS(valid_bank_mask, format, address_space, flags, guest_mode),
1590 __field(bool, guest_mode)
1598 __entry->guest_mode
[all...]
H A Dx86.c307 STATS_DESC_IBOOLEAN(VCPU, guest_mode),
6247 /* nested_run_pending implies guest_mode. */
/linux-master/arch/x86/kvm/mmu/
H A Dmmu.c2470 child->role.guest_mode && !child->parent_ptes.val)
3634 WARN_ON_ONCE(mmu->root_role.guest_mode);
3642 if (!sp || sp->role.guest_mode)
5258 role.base.guest_mode = is_guest_mode(vcpu);
5334 role.guest_mode = cpu_role.base.guest_mode;
5460 role.base.guest_mode = true;
6629 if (WARN_ON_ONCE(!sp->role.guest_mode))
H A Dmmu_internal.h158 return kvm_x86_ops.cpu_dirty_log_size && sp->role.guest_mode;
/linux-master/arch/x86/kvm/vmx/
H A Dnested.c1174 * guest_mode is part of kvm_mmu_page_role. Thus, TLB entries
6512 if (vmx->nested.smm.guest_mode)
6717 vmx->nested.smm.guest_mode = true;
H A Dvmx.c8234 vmx->nested.smm.guest_mode = is_guest_mode(vcpu);
8235 if (vmx->nested.smm.guest_mode)
8254 if (vmx->nested.smm.guest_mode) {
8260 vmx->nested.smm.guest_mode = false;
H A Dvmx.h244 bool guest_mode; member in struct:nested_vmx::__anon128
/linux-master/drivers/iommu/amd/
H A Damd_iommu_types.h1002 guest_mode : 1, member in struct:irte_ga_lo::__anon180
1016 guest_mode : 1, member in struct:irte_ga_lo::__anon181
H A Diommu.c3281 if (!irte->lo.fields_remap.guest_mode) {
3630 entry->lo.fields_vapic.guest_mode = 1;
3649 !entry || !entry->lo.fields_vapic.guest_mode)
3833 !entry || !entry->lo.fields_vapic.guest_mode)
/linux-master/tools/testing/selftests/kvm/include/
H A Dguest_modes.h7 struct guest_mode { struct
12 extern struct guest_mode guest_modes[NUM_VM_MODES];
15 guest_modes[mode] = (struct guest_mode){ (enabled), (enabled) }; \
/linux-master/tools/testing/selftests/kvm/lib/
H A Dguest_modes.c12 struct guest_mode guest_modes[NUM_VM_MODES];

Completed in 518 milliseconds