Home
last modified time | relevance | path

Searched refs:kvm_sev_init (Results 1 – 5 of 5) sorted by relevance

/linux/tools/testing/selftests/kvm/x86/
H A Dsev_init2_tests.c50 static void test_init2(unsigned long vm_type, struct kvm_sev_init *init) in test_init2()
63 static void test_init2_invalid(unsigned long vm_type, struct kvm_sev_init *init, const char *msg) in test_init2_invalid()
78 test_init2(KVM_X86_SEV_VM, &(struct kvm_sev_init){}); in test_vm_types()
85 test_init2(KVM_X86_SEV_ES_VM, &(struct kvm_sev_init){}); in test_vm_types()
88 test_init2(KVM_X86_SNP_VM, &(struct kvm_sev_init){}); in test_vm_types()
90 test_init2_invalid(0, &(struct kvm_sev_init){}, in test_vm_types()
93 test_init2_invalid(KVM_X86_SW_PROTECTED_VM, &(struct kvm_sev_init){}, in test_vm_types()
103 &(struct kvm_sev_init){ .flags = BIT(i) }, in test_flags()
114 &(struct kvm_sev_init){ .vmsa_features = BIT_ULL(i) }, in test_features()
118 &(struct kvm_sev_init){ in test_features()
[all...]
/linux/tools/testing/selftests/kvm/lib/x86/
H A Dsev.c55 struct kvm_sev_init init = { 0 }; in sev_vm_init()
68 struct kvm_sev_init init = { 0 }; in sev_es_vm_init()
76 struct kvm_sev_init init = { 0 }; in snp_vm_init()
H A Dprocessor.c799 struct kvm_sev_init init = { 0 }; in kvm_arch_vm_post_create()
/linux/Documentation/virt/kvm/x86/
H A Damd-memory-encryption.rst89 Parameters: struct kvm_sev_init (in)
95 struct kvm_sev_init {
120 * the ``flags`` and ``vmsa_features`` fields of ``struct kvm_sev_init`` are
/linux/tools/arch/x86/include/uapi/asm/
H A Dkvm.h761 struct kvm_sev_init { struct