Home
last modified time | relevance | path

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

/linux-6.12.1/tools/testing/selftests/kvm/x86_64/
Dsev_init2_tests.c77 test_init2(KVM_X86_SEV_VM, &(struct kvm_sev_init){}); in test_vm_types()
130 TEST_ASSERT(have_sev == !!(kvm_check_cap(KVM_CAP_VM_TYPES) & BIT(KVM_X86_SEV_VM)), in main()
132 kvm_check_cap(KVM_CAP_VM_TYPES), 1 << KVM_X86_SEV_VM); in main()
134 TEST_REQUIRE(kvm_check_cap(KVM_CAP_VM_TYPES) & BIT(KVM_X86_SEV_VM)); in main()
143 test_flags(KVM_X86_SEV_VM); in main()
147 test_features(KVM_X86_SEV_VM, 0); in main()
Dsev_smoke_test.c127 uint32_t type = policy & SEV_POLICY_ES ? KVM_X86_SEV_ES_VM : KVM_X86_SEV_VM; in test_sev()
/linux-6.12.1/tools/testing/selftests/kvm/lib/x86_64/
Dsev.c45 assert(vm->type == KVM_X86_SEV_VM); in sev_vm_init()
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-6.12.1/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.12.1/arch/x86/include/uapi/asm/
Dkvm.h924 #define KVM_X86_SEV_VM 2 macro
/linux-6.12.1/tools/arch/x86/include/uapi/asm/
Dkvm.h924 #define KVM_X86_SEV_VM 2 macro
/linux-6.12.1/arch/x86/kvm/svm/
Dsev.c408 bool es_active = vm_type != KVM_X86_SEV_VM; in __sev_guest_init()
489 vm_type = (argp->id == KVM_SEV_INIT ? KVM_X86_SEV_VM : KVM_X86_SEV_ES_VM); in sev_guest_init()
509 if (kvm->arch.vm_type != KVM_X86_SEV_VM && in sev_guest_init2()
2954 kvm_caps.supported_vm_types |= BIT(KVM_X86_SEV_VM); in sev_set_cpu_caps()
/linux-6.12.1/Documentation/virt/kvm/
Dapi.rst8970 #define KVM_X86_SEV_VM 2