Searched refs:KVM_X86_SEV_VM (Results 1 – 9 of 9) sorted by relevance
77 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()
127 uint32_t type = policy & SEV_POLICY_ES ? KVM_X86_SEV_ES_VM : KVM_X86_SEV_VM; in test_sev()
45 assert(vm->type == KVM_X86_SEV_VM); in sev_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
924 #define KVM_X86_SEV_VM 2 macro
408 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()
8970 #define KVM_X86_SEV_VM 2