Home
last modified time | relevance | path

Searched refs:KVM_X86_SW_PROTECTED_VM (Results 1 – 6 of 6) 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()
474 vm = vm_create_barebones_type(KVM_X86_SW_PROTECTED_VM); in test_add_private_memory_region()
483 vm2 = vm_create_barebones_type(KVM_X86_SW_PROTECTED_VM); in test_add_private_memory_region()
511 vm = vm_create_barebones_type(KVM_X86_SW_PROTECTED_VM); in test_add_overlapping_private_memory_regions()
645 (kvm_check_cap(KVM_CAP_VM_TYPES) & BIT(KVM_X86_SW_PROTECTED_VM))) { in main()
H A Dpre_fault_memory_test.c226 test_pre_fault_memory(KVM_X86_SW_PROTECTED_VM, false); in main()
227 test_pre_fault_memory(KVM_X86_SW_PROTECTED_VM, true); in main()
/linux/tools/testing/selftests/kvm/x86/
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.c92 if (kvm_check_cap(KVM_CAP_VM_TYPES) & BIT(KVM_X86_SW_PROTECTED_VM)) in test_vm_types()
93 test_init2_invalid(KVM_X86_SW_PROTECTED_VM, &(struct kvm_sev_init){}, in test_vm_types()
94 "VM type is KVM_X86_SW_PROTECTED_VM"); in test_vm_types()
H A Dprivate_mem_conversions_test.c387 .type = KVM_X86_SW_PROTECTED_VM, in test_mem_conversions()
457 TEST_REQUIRE(kvm_check_cap(KVM_CAP_VM_TYPES) & BIT(KVM_X86_SW_PROTECTED_VM)); in main()
/linux/tools/arch/x86/include/uapi/asm/
H A Dkvm.h969 #define KVM_X86_SW_PROTECTED_VM 1 macro