Home
last modified time | relevance | path

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

/linux-6.14.4/tools/testing/selftests/kvm/x86/
Dsev_init2_tests.c84 test_init2(KVM_X86_SEV_ES_VM, &(struct kvm_sev_init){}); in test_vm_types()
137 TEST_ASSERT(have_sev_es == !!(kvm_check_cap(KVM_CAP_VM_TYPES) & BIT(KVM_X86_SEV_ES_VM)), in main()
139 kvm_check_cap(KVM_CAP_VM_TYPES), 1 << KVM_X86_SEV_ES_VM); in main()
145 test_flags(KVM_X86_SEV_ES_VM); in main()
149 test_features(KVM_X86_SEV_ES_VM, supported_vmsa_features); in main()
Dsev_smoke_test.c75 vm = vm_sev_create_with_one_vcpu(KVM_X86_SEV_ES_VM, guest_code_xsave, &vcpu); in test_sync_vmsa()
117 uint32_t type = policy & SEV_POLICY_ES ? KVM_X86_SEV_ES_VM : KVM_X86_SEV_VM; in test_sev()
169 uint32_t type = KVM_X86_SEV_ES_VM; in test_sev_es_shutdown()
/linux-6.14.4/tools/testing/selftests/kvm/lib/x86/
Dsev.c58 assert(vm->type == KVM_X86_SEV_ES_VM); in sev_es_vm_init()
Dprocessor.c642 if (vm->type == KVM_X86_SEV_VM || vm->type == KVM_X86_SEV_ES_VM) { in kvm_arch_vm_post_create()
1159 if (vm->type == KVM_X86_SEV_VM || vm->type == KVM_X86_SEV_ES_VM) { in kvm_init_vm_address_properties()
/linux-6.14.4/Documentation/virt/kvm/x86/
Damd-memory-encryption.rst85 For this command to be accepted, either KVM_X86_SEV_VM or KVM_X86_SEV_ES_VM
117 * the VM type is KVM_X86_SEV_VM for KVM_SEV_INIT, or KVM_X86_SEV_ES_VM for
/linux-6.14.4/arch/x86/include/uapi/asm/
Dkvm.h926 #define KVM_X86_SEV_ES_VM 3 macro
/linux-6.14.4/tools/arch/x86/include/uapi/asm/
Dkvm.h926 #define KVM_X86_SEV_ES_VM 3 macro
/linux-6.14.4/arch/x86/kvm/svm/
Dsev.c489 vm_type = (argp->id == KVM_SEV_INIT ? KVM_X86_SEV_VM : KVM_X86_SEV_ES_VM); in sev_guest_init()
495 if (vm_type == KVM_X86_SEV_ES_VM) in sev_guest_init()
510 kvm->arch.vm_type != KVM_X86_SEV_ES_VM && in sev_guest_init2()
2945 kvm_caps.supported_vm_types |= BIT(KVM_X86_SEV_ES_VM); in sev_set_cpu_caps()
Dsvm.c5019 (type == KVM_X86_SEV_ES_VM || type == KVM_X86_SNP_VM); in svm_vm_init()
/linux-6.14.4/Documentation/virt/kvm/
Dapi.rst9020 #define KVM_X86_SEV_ES_VM 3