Home
last modified time | relevance | path

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

/Linux-v5.10/tools/testing/selftests/kvm/
Ddirty_log_perf_test.c236 struct guest_mode { struct
240 static struct guest_mode guest_modes[NUM_VM_MODES]; argument
243 guest_modes[mode] = (struct guest_mode){ supported, enabled }; \
Ddemand_paging_test.c372 struct guest_mode { struct
376 static struct guest_mode guest_modes[NUM_VM_MODES]; argument
379 guest_modes[mode] = (struct guest_mode){ supported, enabled }; \
Ddirty_log_test.c491 struct guest_mode { struct
495 static struct guest_mode guest_modes[NUM_VM_MODES]; argument
498 guest_modes[mode] = (struct guest_mode){ supported, enabled }; \
/Linux-v5.10/drivers/iommu/amd/
Damd_iommu_types.h841 guest_mode : 1, member
855 guest_mode : 1, member
Diommu.c3545 if (!irte->lo.fields_remap.guest_mode) { in irte_ga_set_affinity()
3909 !entry || entry->lo.fields_vapic.guest_mode) in amd_iommu_activate_guest_mode()
3918 entry->lo.fields_vapic.guest_mode = 1; in amd_iommu_activate_guest_mode()
3937 !entry || !entry->lo.fields_vapic.guest_mode) in amd_iommu_deactivate_guest_mode()
4105 !ref || !entry || !entry->lo.fields_vapic.guest_mode) in amd_iommu_update_ga()
4118 if (ref->lo.fields_vapic.guest_mode) { in amd_iommu_update_ga()
/Linux-v5.10/arch/x86/kvm/vmx/
Dvmx.h172 bool guest_mode; member
Dvmx.c7524 vmx->nested.smm.guest_mode = is_guest_mode(vcpu); in vmx_pre_enter_smm()
7525 if (vmx->nested.smm.guest_mode) in vmx_pre_enter_smm()
7544 if (vmx->nested.smm.guest_mode) { in vmx_pre_leave_smm()
7549 vmx->nested.smm.guest_mode = false; in vmx_pre_leave_smm()
Dnested.c6011 if (vmx->nested.smm.guest_mode) in vmx_get_nested_state()
6205 vmx->nested.smm.guest_mode = true; in vmx_set_nested_state()
/Linux-v5.10/arch/x86/include/asm/
Dkvm_host.h269 unsigned guest_mode:1; member
/Linux-v5.10/arch/x86/kvm/mmu/
Dmmu.c2251 child->role.guest_mode && !child->parent_ptes.val) in mmu_page_zap_pte()
4449 role.base.guest_mode = is_guest_mode(vcpu); in kvm_calc_mmu_role_common()
4628 role.base.guest_mode = true; in kvm_calc_shadow_ept_root_page_role()