Home
last modified time | relevance | path

Searched refs:KVM_X86_SNP_VM (Results 1 – 7 of 7) sorted by relevance

/linux/tools/testing/selftests/kvm/x86/
H A Dsev_init2_tests.c84 test_init2(KVM_X86_SNP_VM, &(struct kvm_sev_init){}); in test_vm_types()
146 have_snp = kvm_check_cap(KVM_CAP_VM_TYPES) & BIT(KVM_X86_SNP_VM); in main()
156 test_flags(KVM_X86_SNP_VM); in main()
162 test_features(KVM_X86_SNP_VM, supported_vmsa_features); in main()
H A Dsev_smoke_test.c225 if (type == KVM_X86_SNP_VM) in test_sev_smoke()
239 if (type == KVM_X86_SNP_VM) in test_sev_smoke()
262 if (kvm_check_cap(KVM_CAP_VM_TYPES) & BIT(KVM_X86_SNP_VM)) in main()
263 test_sev_smoke(guest_snp_code, KVM_X86_SNP_VM, snp_default_policy()); in main()
H A Dsev_migrate_tests.c321 src_vm = vm_create_barebones_type(KVM_X86_SNP_VM); in test_sev_snp_migrate_reject()
326 dst_vm = vm_create_barebones_type(KVM_X86_SNP_VM); in test_sev_snp_migrate_reject()
343 src_vm = vm_create_barebones_type(KVM_X86_SNP_VM); in test_sev_snp_mirror_reject()
/linux/tools/testing/selftests/kvm/include/x86/
H A Dsev.h36 return vm->type == KVM_X86_SNP_VM; in is_sev_snp_vm()
/linux/tools/testing/selftests/kvm/lib/x86/
H A Dsev.c78 TEST_ASSERT_EQ(vm->type, KVM_X86_SNP_VM); in snp_vm_init()
/linux/tools/arch/x86/include/uapi/asm/
H A Dkvm.h974 #define KVM_X86_SNP_VM 4 macro
/linux/tools/testing/selftests/kvm/lib/
H A Dkvm_util.c481 return shape.type == KVM_X86_SNP_VM; in __vm_create()