Searched refs:guest_mode (Results 1 – 8 of 8) sorted by relevance
/linux/tools/testing/selftests/kvm/include/ |
H A D | guest_modes.h | 7 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 D | trace.h | 1562 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 D | debugfs.c | 27 *val = vcpu->stat.guest_mode; in vcpu_get_guest_mode()
|
H A D | x86.c | 292 STATS_DESC_IBOOLEAN(VCPU, guest_mode),
|
/linux/tools/testing/selftests/kvm/lib/ |
H A D | guest_modes.c | 12 struct guest_mode guest_modes[NUM_VM_MODES];
|
/linux/arch/x86/kvm/mmu/ |
H A D | mmu.c | 2412 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 D | iommu.c | 3311 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 D | mmu.rst | 205 role.guest_mode:
|