Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/kvm/include/
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){ supported, enabled }; \
/linux/arch/x86/kvm/
A Dkvm_cache_regs.h177 vcpu->stat.guest_mode = 1; in enter_guest_mode()
189 vcpu->stat.guest_mode = 0; in leave_guest_mode()
A Ddebugfs.c25 *val = vcpu->stat.guest_mode; in vcpu_get_guest_mode()
A Dx86.c282 STATS_DESC_ICOUNTER(VCPU, guest_mode)
/linux/tools/testing/selftests/kvm/lib/
A Dguest_modes.c7 struct guest_mode guest_modes[NUM_VM_MODES];
/linux/drivers/iommu/amd/
A Damd_iommu_types.h870 guest_mode : 1, member
884 guest_mode : 1, member
A Diommu.c2997 if (!irte->lo.fields_remap.guest_mode) { in irte_ga_set_affinity()
3340 !entry || entry->lo.fields_vapic.guest_mode) in amd_iommu_activate_guest_mode()
3349 entry->lo.fields_vapic.guest_mode = 1; in amd_iommu_activate_guest_mode()
3368 !entry || !entry->lo.fields_vapic.guest_mode) in amd_iommu_deactivate_guest_mode()
3536 !ref || !entry || !entry->lo.fields_vapic.guest_mode) in amd_iommu_update_ga()
3549 if (ref->lo.fields_vapic.guest_mode) { in amd_iommu_update_ga()
/linux/arch/x86/kvm/vmx/
A Dvmx.h229 bool guest_mode; member
A Dvmx.c7487 vmx->nested.smm.guest_mode = is_guest_mode(vcpu); in vmx_enter_smm()
7488 if (vmx->nested.smm.guest_mode) in vmx_enter_smm()
7507 if (vmx->nested.smm.guest_mode) { in vmx_leave_smm()
7512 vmx->nested.smm.guest_mode = false; in vmx_leave_smm()
A Dnested.c6137 if (vmx->nested.smm.guest_mode) in vmx_get_nested_state()
6342 vmx->nested.smm.guest_mode = true; in vmx_set_nested_state()
/linux/arch/x86/include/asm/
A Dkvm_host.h322 unsigned guest_mode:1; member
1279 u64 guest_mode; member
/linux/arch/x86/kvm/mmu/
A Dmmu.c2295 child->role.guest_mode && !child->parent_ptes.val) in mmu_page_zap_pte()
3321 WARN_ON_ONCE(mmu->mmu_role.base.guest_mode); in kvm_mmu_free_guest_mode_roots()
3329 to_shadow_page(root_hpa)->role.guest_mode) in kvm_mmu_free_guest_mode_roots()
4738 role.base.guest_mode = is_guest_mode(vcpu); in kvm_calc_mmu_role_common()
4917 role.base.guest_mode = true; in kvm_calc_shadow_ept_root_page_role()

Completed in 79 milliseconds