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() 474 vm = vm_create_barebones_type(KVM_X86_SW_PROTECTED_VM); in test_add_private_memory_region() 483 vm2 = vm_create_barebones_type(KVM_X86_SW_PROTECTED_VM); in test_add_private_memory_region() 511 vm = vm_create_barebones_type(KVM_X86_SW_PROTECTED_VM); in test_add_overlapping_private_memory_regions() 645 (kvm_check_cap(KVM_CAP_VM_TYPES) & BIT(KVM_X86_SW_PROTECTED_VM))) { in main()
226 test_pre_fault_memory(KVM_X86_SW_PROTECTED_VM, false); in main() 227 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()
92 if (kvm_check_cap(KVM_CAP_VM_TYPES) & BIT(KVM_X86_SW_PROTECTED_VM)) in test_vm_types() 93 test_init2_invalid(KVM_X86_SW_PROTECTED_VM, &(struct kvm_sev_init){}, in test_vm_types() 94 "VM type is KVM_X86_SW_PROTECTED_VM"); in test_vm_types()
387 .type = KVM_X86_SW_PROTECTED_VM, in test_mem_conversions()457 TEST_REQUIRE(kvm_check_cap(KVM_CAP_VM_TYPES) & BIT(KVM_X86_SW_PROTECTED_VM)); in main()
969 #define KVM_X86_SW_PROTECTED_VM 1 macro
10186 kvm_caps.supported_vm_types |= BIT(KVM_X86_SW_PROTECTED_VM); in kvm_x86_vendor_init()13286 (type == KVM_X86_SW_PROTECTED_VM); in kvm_arch_init_vm()13289 type == KVM_X86_DEFAULT_VM || type == KVM_X86_SW_PROTECTED_VM; in kvm_arch_init_vm()
6513 vcpu->kvm->arch.vm_type == KVM_X86_SW_PROTECTED_VM && in kvm_mmu_page_fault()
9408 #define KVM_X86_SW_PROTECTED_VM 19414 Note, KVM_X86_SW_PROTECTED_VM is currently only for development and testing.9415 Do not use KVM_X86_SW_PROTECTED_VM for "real" VMs, and especially not in