summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/kvm/lib/x86_64
AgeCommit message (Expand)AuthorFilesLines
2024-06-05KVM: selftests: x86: Prioritize getting max_gfn from GuestPhysBitsTao Su1-2/+13
2024-04-29KVM: selftests: Drop @selector from segment helpersSean Christopherson1-15/+14
2024-04-29KVM: selftests: Init x86's segments during VM creationSean Christopherson1-48/+20
2024-04-29KVM: selftests: Add macro for TSS selector, rename up code/data macrosSean Christopherson1-9/+9
2024-04-29KVM: selftests: Allocate x86's TSS at VM creationSean Christopherson1-3/+2
2024-04-29KVM: selftests: Fold x86's descriptor tables helpers into vcpu_init_sregs()Sean Christopherson1-25/+5
2024-04-29KVM: selftests: Drop superfluous switch() on vm->mode in vcpu_init_sregs()Sean Christopherson1-16/+11
2024-04-29KVM: selftests: Allocate x86's GDT during VM creationSean Christopherson1-3/+1
2024-04-29KVM: selftests: Map x86's exception_handlers at VM creation, not vCPU setupSean Christopherson1-1/+2
2024-04-29KVM: selftests: Init IDT and exception handlers for all VMs/vCPUs on x86Sean Christopherson1-2/+6
2024-04-29KVM: selftests: Rename x86's vcpu_setup() to vcpu_init_sregs()Sean Christopherson1-2/+2
2024-04-29KVM: selftests: Move x86's descriptor table helpers "up" in processor.cSean Christopherson1-96/+95
2024-04-29KVM: selftests: Fix off-by-one initialization of GDT limitAckerley Tng1-1/+1
2024-04-29KVM: selftests: Move GDT, IDT, and TSS fields to x86's kvm_vm_archSean Christopherson1-11/+11
2024-04-29KVM: selftests: Add global snapshot of kvm_is_forced_emulation_enabled()Sean Christopherson1-0/+3
2024-04-29KVM: selftests: Define _GNU_SOURCE for all selftests codeSean Christopherson1-1/+0
2024-04-11selftests: kvm: split "launch" phase of SEV VM creationPaolo Bonzini1-6/+10
2024-04-11selftests: kvm: switch to using KVM_X86_*_VMPaolo Bonzini2-8/+36
2024-03-11Merge tag 'kvm-x86-pmu-6.9' of https://github.com/kvm-x86/linux into HEADPaolo Bonzini2-3/+43
2024-03-11Merge tag 'kvm-x86-selftests-6.9' of https://github.com/kvm-x86/linux into HEADPaolo Bonzini2-4/+155
2024-02-29KVM: selftests: Add a basic SEV-ES smoke testSean Christopherson2-2/+6
2024-02-29KVM: selftests: Add library for creating and interacting with SEV guestsPeter Gonda2-0/+127
2024-02-29KVM: selftests: Allow tagging protected memory in guest page tablesPeter Gonda1-1/+14
2024-02-28KVM: selftests: Move setting a vCPU's entry point to a dedicated APISean Christopherson1-3/+10
2024-02-01KVM: selftests: Run clocksource dependent tests with hyperv_clocksource_tsc_p...Vitaly Kuznetsov1-2/+3
2024-02-01KVM: selftests: Generalize check_clocksource() from kvm_clock_testVitaly Kuznetsov1-0/+10
2024-01-31KVM: selftests: Add pmu.h and lib/pmu.c for common PMU assetsJinrong Liang1-0/+31
2024-01-31KVM: selftests: Add vcpu_set_cpuid_property() to set propertiesJinrong Liang1-3/+12
2024-01-30KVM: selftests: x86_64: Remove redundant newlinesAndrew Jones2-8/+8
2023-10-04KVM: selftests: Remove obsolete and incorrect test case metadataLike Xu1-2/+0
2023-08-03KVM: selftests: Print out guest RIP on unhandled exceptionSean Christopherson1-12/+6
2023-08-03KVM: selftests: Add arch ucall.h and inline simple arch hooksSean Christopherson1-4/+0
2023-08-03KVM: selftests: Add a shameful hack to preserve/clobber GPRs across ucallSean Christopherson1-2/+30
2023-04-14KVM: selftests: Fix spelling mistake "perrmited" -> "permitted"Colin Ian King1-1/+1
2023-04-11KVM: selftests: Rework dynamic XFeature helper to take mask, not bitSean Christopherson1-7/+10
2023-03-25KVM: selftests: Add 'malloc' failure check in vcpu_save_stateIvan Orlov1-0/+1
2023-03-25KVM: selftests: Adjust VM's initial stack address to align with SysV ABI specAckerley Tng1-1/+17
2023-03-14KVM: selftests: Add helpers to make Xen-style VMCALL/VMMCALL hypercallsSean Christopherson1-0/+10
2023-03-14KVM: selftests: Move the guts of kvm_hypercall() to a separate macroSean Christopherson1-12/+17
2023-01-24KVM: selftests: x86: Use host's native hypercall instruction in kvm_hypercall()Vishal Annapurve1-2/+8
2023-01-24KVM: selftests: x86: Cache host CPU vendor (AMD vs. Intel)Vishal Annapurve1-2/+12
2023-01-24KVM: selftests: x86: Use "this_cpu" prefix for cpu vendor queriesVishal Annapurve1-24/+2
2022-12-27KVM: selftests: Fix a typo in x86-64's kvm_get_cpu_address_width()Sean Christopherson1-1/+1
2022-12-12Merge remote-tracking branch 'kvm/queue' into HEADPaolo Bonzini1-40/+44
2022-12-09Merge tag 'kvmarm-6.2' of https://git.kernel.org/pub/scm/linux/kernel/git/kvm...Paolo Bonzini1-6/+7
2022-12-02KVM: selftests: Disallow "get supported CPUID" before REQ_XCOMP_GUEST_PERMSean Christopherson1-6/+12
2022-12-02KVM: selftests: Move __vm_xsave_require_permission() below CPUID helpersSean Christopherson1-32/+32
2022-12-02KVM: selftests: Move XFD CPUID checking out of __vm_xsave_require_permission()Lei Wang1-2/+0
2022-11-21KVM: selftests: Allocate Hyper-V partition assist pageVitaly Kuznetsov1-0/+5
2022-11-21KVM: selftests: Create a vendor independent helper to allocate Hyper-V specif...Vitaly Kuznetsov2-12/+20