Symbol: KVM_X86_SW_PROTECTED_VM
arch/x86/kvm/mmu/mmu.c
6535
vcpu->kvm->arch.vm_type == KVM_X86_SW_PROTECTED_VM &&
arch/x86/kvm/svm/sev.c
2929
case KVM_X86_SW_PROTECTED_VM:
arch/x86/kvm/x86.c
10186
kvm_caps.supported_vm_types |= BIT(KVM_X86_SW_PROTECTED_VM);
arch/x86/kvm/x86.c
13286
(type == KVM_X86_SW_PROTECTED_VM);
arch/x86/kvm/x86.c
13289
type == KVM_X86_DEFAULT_VM || type == KVM_X86_SW_PROTECTED_VM;
tools/testing/selftests/kvm/pre_fault_memory_test.c
226
test_pre_fault_memory(KVM_X86_SW_PROTECTED_VM, false);
tools/testing/selftests/kvm/pre_fault_memory_test.c
227
test_pre_fault_memory(KVM_X86_SW_PROTECTED_VM, true);
tools/testing/selftests/kvm/set_memory_region_test.c
358
if (kvm_check_cap(KVM_CAP_VM_TYPES) & BIT(KVM_X86_SW_PROTECTED_VM))
tools/testing/selftests/kvm/set_memory_region_test.c
359
vm = vm_create_barebones_type(KVM_X86_SW_PROTECTED_VM);
tools/testing/selftests/kvm/set_memory_region_test.c
474
vm = vm_create_barebones_type(KVM_X86_SW_PROTECTED_VM);
tools/testing/selftests/kvm/set_memory_region_test.c
483
vm2 = vm_create_barebones_type(KVM_X86_SW_PROTECTED_VM);
tools/testing/selftests/kvm/set_memory_region_test.c
511
vm = vm_create_barebones_type(KVM_X86_SW_PROTECTED_VM);
tools/testing/selftests/kvm/set_memory_region_test.c
645
(kvm_check_cap(KVM_CAP_VM_TYPES) & BIT(KVM_X86_SW_PROTECTED_VM))) {
tools/testing/selftests/kvm/x86/private_mem_conversions_test.c
387
.type = KVM_X86_SW_PROTECTED_VM,
tools/testing/selftests/kvm/x86/private_mem_conversions_test.c
457
TEST_REQUIRE(kvm_check_cap(KVM_CAP_VM_TYPES) & BIT(KVM_X86_SW_PROTECTED_VM));
tools/testing/selftests/kvm/x86/private_mem_kvm_exits_test.c
116
TEST_REQUIRE(kvm_check_cap(KVM_CAP_VM_TYPES) & BIT(KVM_X86_SW_PROTECTED_VM));
tools/testing/selftests/kvm/x86/private_mem_kvm_exits_test.c
44
.type = KVM_X86_SW_PROTECTED_VM,
tools/testing/selftests/kvm/x86/sev_init2_tests.c
92
if (kvm_check_cap(KVM_CAP_VM_TYPES) & BIT(KVM_X86_SW_PROTECTED_VM))
tools/testing/selftests/kvm/x86/sev_init2_tests.c
93
test_init2_invalid(KVM_X86_SW_PROTECTED_VM, &(struct kvm_sev_init){},