Searched refs:KVM_X86_SW_PROTECTED_VM (Results 1 – 9 of 9) sorted by relevance
358 if (kvm_check_cap(KVM_CAP_VM_TYPES) & BIT(KVM_X86_SW_PROTECTED_VM)) in test_invalid_memory_region_flags()359 vm = vm_create_barebones_type(KVM_X86_SW_PROTECTED_VM); in test_invalid_memory_region_flags()482 vm = vm_create_barebones_type(KVM_X86_SW_PROTECTED_VM); in test_add_private_memory_region()491 vm2 = vm_create_barebones_type(KVM_X86_SW_PROTECTED_VM); in test_add_private_memory_region()519 vm = vm_create_barebones_type(KVM_X86_SW_PROTECTED_VM); in test_add_overlapping_private_memory_regions()579 (kvm_check_cap(KVM_CAP_VM_TYPES) & BIT(KVM_X86_SW_PROTECTED_VM))) { in main()
142 test_pre_fault_memory(KVM_X86_SW_PROTECTED_VM, false); in main()143 test_pre_fault_memory(KVM_X86_SW_PROTECTED_VM, true); in main()
44 .type = KVM_X86_SW_PROTECTED_VM,116 TEST_REQUIRE(kvm_check_cap(KVM_CAP_VM_TYPES) & BIT(KVM_X86_SW_PROTECTED_VM)); in main()
88 if (kvm_check_cap(KVM_CAP_VM_TYPES) & BIT(KVM_X86_SW_PROTECTED_VM)) in test_vm_types()89 test_init2_invalid(KVM_X86_SW_PROTECTED_VM, &(struct kvm_sev_init){}, in test_vm_types()
387 .type = KVM_X86_SW_PROTECTED_VM, in test_mem_conversions()460 TEST_REQUIRE(kvm_check_cap(KVM_CAP_VM_TYPES) & BIT(KVM_X86_SW_PROTECTED_VM)); in main()
923 #define KVM_X86_SW_PROTECTED_VM 1 macro
9786 kvm_caps.supported_vm_types |= BIT(KVM_X86_SW_PROTECTED_VM); in kvm_x86_vendor_init()12693 (type == KVM_X86_SW_PROTECTED_VM); in kvm_arch_init_vm()12696 type == KVM_X86_DEFAULT_VM || type == KVM_X86_SW_PROTECTED_VM; in kvm_arch_init_vm()
4970 type != KVM_X86_SW_PROTECTED_VM) { in svm_vm_init()