Home
last modified time | relevance | path

Searched refs:guest_mode (Results 1 – 8 of 8) sorted by relevance

/linux/tools/testing/selftests/kvm/include/
H A Dguest_modes.h7 struct guest_mode { struct
12 extern struct guest_mode guest_modes[NUM_VM_MODES]; argument
15 guest_modes[mode] = (struct guest_mode){ (enabled), (enabled) }; \
/linux/arch/x86/kvm/
H A Dtrace.h1562 TP_PROTO(u64 processor_mask, u64 address_space, u64 flags, bool guest_mode),
1563 TP_ARGS(processor_mask, address_space, flags, guest_mode),
1569 __field(bool, guest_mode)
1576 __entry->guest_mode = guest_mode;
1581 __entry->flags, __entry->guest_mode ? "(L2)" : "")
1588 TP_PROTO(u64 valid_bank_mask, u64 format, u64 address_space, u64 flags, bool guest_mode),
1589 TP_ARGS(valid_bank_mask, format, address_space, flags, guest_mode),
1596 __field(bool, guest_mode)
1604 __entry->guest_mode = guest_mode;
1611 __entry->guest_mode ? "(L2)" : "")
H A Ddebugfs.c27 *val = vcpu->stat.guest_mode; in vcpu_get_guest_mode()
H A Dx86.c292 STATS_DESC_IBOOLEAN(VCPU, guest_mode),
/linux/tools/testing/selftests/kvm/lib/
H A Dguest_modes.c12 struct guest_mode guest_modes[NUM_VM_MODES];
/linux/arch/x86/kvm/mmu/
H A Dmmu.c2412 child->role.guest_mode && !child->parent_ptes.val) in mmu_page_zap_pte()
3617 WARN_ON_ONCE(mmu->root_role.guest_mode); in kvm_mmu_free_guest_mode_roots()
3625 if (!sp || sp->role.guest_mode) in kvm_mmu_free_guest_mode_roots()
5353 role.base.guest_mode = is_guest_mode(vcpu); in kvm_calc_cpu_role()
5429 role.guest_mode = cpu_role.base.guest_mode; in kvm_calc_tdp_mmu_root_page_role()
5555 role.base.guest_mode = true; in kvm_calc_shadow_ept_root_page_role()
6771 if (WARN_ON_ONCE(!sp->role.guest_mode)) in shadow_mmu_try_split_huge_pages()
/linux/drivers/iommu/amd/
H A Diommu.c3311 if (!irte->lo.fields_remap.guest_mode) { in irte_ga_set_affinity()
3660 entry->lo.fields_vapic.guest_mode = 1; in amd_iommu_activate_guest_mode()
3679 !entry || !entry->lo.fields_vapic.guest_mode) in amd_iommu_deactivate_guest_mode()
3850 !entry || !entry->lo.fields_vapic.guest_mode) in amd_iommu_update_ga()
/linux/Documentation/virt/kvm/x86/
H A Dmmu.rst205 role.guest_mode: