Home
last modified time | relevance | path

Searched refs:KVM_X86_SW_PROTECTED_VM (Results 1 – 9 of 9) sorted by relevance

/linux/tools/testing/selftests/kvm/
H A Dset_memory_region_test.c358 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()
H A Dpre_fault_memory_test.c226 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()
/linux/tools/testing/selftests/kvm/x86/
H A Dprivate_mem_kvm_exits_test.c44 .type = KVM_X86_SW_PROTECTED_VM,
116 TEST_REQUIRE(kvm_check_cap(KVM_CAP_VM_TYPES) & BIT(KVM_X86_SW_PROTECTED_VM)); in main()
H A Dsev_init2_tests.c92 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()
H A Dprivate_mem_conversions_test.c387 .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()
/linux/tools/arch/x86/include/uapi/asm/
H A Dkvm.h969 #define KVM_X86_SW_PROTECTED_VM 1 macro
/linux/arch/x86/kvm/
H A Dx86.c10186 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()
/linux/arch/x86/kvm/mmu/
H A Dmmu.c6513 vcpu->kvm->arch.vm_type == KVM_X86_SW_PROTECTED_VM && in kvm_mmu_page_fault()
/linux/Documentation/virt/kvm/
H A Dapi.rst9408 #define KVM_X86_SW_PROTECTED_VM 1
9414 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