Searched refs:KVM_X86_SEV_ES_VM (Results 1 – 9 of 9) sorted by relevance
84 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()
80 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()
58 assert(vm->type == KVM_X86_SEV_ES_VM); in sev_es_vm_init()
628 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()
85 For this command to be accepted, either KVM_X86_SEV_VM or KVM_X86_SEV_ES_VM117 * the VM type is KVM_X86_SEV_VM for KVM_SEV_INIT, or KVM_X86_SEV_ES_VM for
925 #define KVM_X86_SEV_ES_VM 3 macro
486 vm_type = (argp->id == KVM_SEV_INIT ? KVM_X86_SEV_VM : KVM_X86_SEV_ES_VM); in sev_guest_init()492 if (vm_type == KVM_X86_SEV_ES_VM) in sev_guest_init()507 kvm->arch.vm_type != KVM_X86_SEV_ES_VM && in sev_guest_init2()2955 kvm_caps.supported_vm_types |= BIT(KVM_X86_SEV_ES_VM); in sev_set_cpu_caps()
4972 (type == KVM_X86_SEV_ES_VM || type == KVM_X86_SNP_VM); in svm_vm_init()