Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/kvm/x86_64/
H A 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()
H A Dsev_smoke_test.c80 vm = vm_sev_create_with_one_vcpu(KVM_X86_SEV_ES_VM, guest_code_xsave, &vcpu); in test_sync_vmsa()
127 uint32_t type = policy & SEV_POLICY_ES ? KVM_X86_SEV_ES_VM : KVM_X86_SEV_VM; in test_sev()
179 uint32_t type = KVM_X86_SEV_ES_VM; in test_sev_es_shutdown()
/linux/tools/testing/selftests/kvm/lib/x86_64/
H A Dsev.c58 assert(vm->type == KVM_X86_SEV_ES_VM); in sev_es_vm_init()
H A Dprocessor.c628 if (vm->type == KVM_X86_SEV_VM || vm->type == KVM_X86_SEV_ES_VM) { in kvm_arch_vm_post_create()
1137 if (vm->type == KVM_X86_SEV_VM || vm->type == KVM_X86_SEV_ES_VM) { in kvm_init_vm_address_properties()
/linux/Documentation/virt/kvm/x86/
H A 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/arch/x86/include/uapi/asm/
H A Dkvm.h925 #define KVM_X86_SEV_ES_VM 3 macro
/linux/tools/arch/x86/include/uapi/asm/
H A Dkvm.h925 #define KVM_X86_SEV_ES_VM 3 macro
/linux/arch/x86/kvm/svm/
H A 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()
2958 kvm_caps.supported_vm_types |= BIT(KVM_X86_SEV_ES_VM); in sev_set_cpu_caps()
H A Dsvm.c4972 (type == KVM_X86_SEV_ES_VM || type == KVM_X86_SNP_VM); in svm_vm_init()