Home
last modified time | relevance | path

Searched refs:KVM_X86_SW_PROTECTED_VM (Results 1 – 9 of 9) sorted by relevance

/linux/tools/testing/selftests/kvm/
H A Dset_memory_region_test.c358 if (kvm_check_cap(KVM_CAP_VM_TYPES) & BIT(KVM_X86_SW_PROTECTED_VM)) in test_invalid_memory_region_flags()
359 vm = vm_create_barebones_type(KVM_X86_SW_PROTECTED_VM); in test_invalid_memory_region_flags()
482 vm = vm_create_barebones_type(KVM_X86_SW_PROTECTED_VM); in test_add_private_memory_region()
491 vm2 = vm_create_barebones_type(KVM_X86_SW_PROTECTED_VM); in test_add_private_memory_region()
519 vm = vm_create_barebones_type(KVM_X86_SW_PROTECTED_VM); in test_add_overlapping_private_memory_regions()
579 (kvm_check_cap(KVM_CAP_VM_TYPES) & BIT(KVM_X86_SW_PROTECTED_VM))) { in main()
H A Dpre_fault_memory_test.c142 test_pre_fault_memory(KVM_X86_SW_PROTECTED_VM, false); in main()
143 test_pre_fault_memory(KVM_X86_SW_PROTECTED_VM, true); in main()
/linux/tools/testing/selftests/kvm/x86_64/
H A Dprivate_mem_kvm_exits_test.c44 .type = KVM_X86_SW_PROTECTED_VM,
116 TEST_REQUIRE(kvm_check_cap(KVM_CAP_VM_TYPES) & BIT(KVM_X86_SW_PROTECTED_VM)); in main()
H A Dsev_init2_tests.c88 if (kvm_check_cap(KVM_CAP_VM_TYPES) & BIT(KVM_X86_SW_PROTECTED_VM)) in test_vm_types()
89 test_init2_invalid(KVM_X86_SW_PROTECTED_VM, &(struct kvm_sev_init){}, in test_vm_types()
H A Dprivate_mem_conversions_test.c387 .type = KVM_X86_SW_PROTECTED_VM, in test_mem_conversions()
460 TEST_REQUIRE(kvm_check_cap(KVM_CAP_VM_TYPES) & BIT(KVM_X86_SW_PROTECTED_VM)); in main()
/linux/arch/x86/include/uapi/asm/
H A Dkvm.h923 #define KVM_X86_SW_PROTECTED_VM 1 macro
/linux/tools/arch/x86/include/uapi/asm/
H A Dkvm.h923 #define KVM_X86_SW_PROTECTED_VM 1 macro
/linux/arch/x86/kvm/
H A Dx86.c9786 kvm_caps.supported_vm_types |= BIT(KVM_X86_SW_PROTECTED_VM); in kvm_x86_vendor_init()
12693 (type == KVM_X86_SW_PROTECTED_VM); in kvm_arch_init_vm()
12696 type == KVM_X86_DEFAULT_VM || type == KVM_X86_SW_PROTECTED_VM; in kvm_arch_init_vm()
/linux/arch/x86/kvm/svm/
H A Dsvm.c4970 type != KVM_X86_SW_PROTECTED_VM) { in svm_vm_init()