Symbol: KVM_X86_SW_PROTECTED_VM
arch/x86/kvm/mmu/mmu.c
6417
vcpu->kvm->arch.vm_type == KVM_X86_SW_PROTECTED_VM &&
arch/x86/kvm/svm/svm.c
5096
type != KVM_X86_SW_PROTECTED_VM) {
arch/x86/kvm/x86.c
10168
kvm_caps.supported_vm_types |= BIT(KVM_X86_SW_PROTECTED_VM);
arch/x86/kvm/x86.c
13230
(type == KVM_X86_SW_PROTECTED_VM);
arch/x86/kvm/x86.c
13233
type == KVM_X86_DEFAULT_VM || type == KVM_X86_SW_PROTECTED_VM;
tools/testing/selftests/kvm/pre_fault_memory_test.c
235
test_pre_fault_memory(KVM_X86_SW_PROTECTED_VM, false);
tools/testing/selftests/kvm/pre_fault_memory_test.c
236
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
481
vm = vm_create_barebones_type(KVM_X86_SW_PROTECTED_VM);
tools/testing/selftests/kvm/set_memory_region_test.c
490
vm2 = vm_create_barebones_type(KVM_X86_SW_PROTECTED_VM);
tools/testing/selftests/kvm/set_memory_region_test.c
518
vm = vm_create_barebones_type(KVM_X86_SW_PROTECTED_VM);
tools/testing/selftests/kvm/set_memory_region_test.c
629
(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){},