aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Expand)AuthorFilesLines
2020-03-18kvm-unit-test: nSVM: Test SVME.EFER on VMRUN of nested guestssvmKrish Sadhukhan1-0/+22
2020-03-18kvm-unit-test: nSVM: Add alternative (v2) test format for nested guestsKrish Sadhukhan3-18/+64
2020-03-18svm: move VMCB out of struct svm_testPaolo Bonzini3-89/+89
2020-03-18Merge branch 'restructure-svm' into HEADPaolo Bonzini4-1651/+1703
2020-03-18kvm-unit-test: nSVM: Restructure nSVM test codeKrish Sadhukhan4-1499/+1551
2020-03-18x86: vmx: Expect multiple error codes on HOST_EFER corruptionNadav Amit1-1/+23
2020-03-17kvm-unit-test: VMX: Add enum for GUEST_BNDCFGS field and LOAD_BNDCFGS vmentry...Krish Sadhukhan1-0/+2
2020-03-17x86: Fix the logical destination mode testNitesh Narayan Lal2-5/+8
2020-03-14nVMX: Pass exit reason enum to print_vmexit_info()Sean Christopherson3-29/+28
2020-03-14nVMX: Pass exit reason union to is_hypercall()Sean Christopherson1-12/+7
2020-03-14nVMX: Pass exit reason union to v1 exit handlersSean Christopherson3-115/+88
2020-03-14nVMX: Expose __enter_guest() and consolidate guest state test codeSean Christopherson3-92/+40
2020-03-14nVMX: Drop redundant check for guest terminationSean Christopherson1-10/+0
2020-03-14nVMX: Consolidate non-canonical code in test_canonical()Sean Christopherson1-23/+17
2020-03-14nVMX: Refactor VM-Entry "failure" struct into "result"Sean Christopherson3-79/+112
2020-03-14nVMX: Eliminate superfluous entry_failure_handler() wrapperSean Christopherson1-16/+3
2020-03-05x86: Move definition of some exception vectors into processor.hXiaoyao Li4-5/+5
2020-03-05svm: Add test cases around interrupt injection and haltingCathy Avery1-0/+141
2020-03-05svm: rename and comment the pending_event_vmask testPaolo Bonzini1-9/+16
2020-03-05svm: allow specifying the tests to be runPaolo Bonzini1-1/+45
2020-02-28x86: VMX: the "noclone" attribute is not neededPaolo Bonzini1-1/+1
2020-02-28svm: change operand to output-only for matching constraintBill Wendling1-2/+2
2020-02-28x86: realmode: syscall: add explicit size suffix to ambiguous instructionsBill Wendling2-4/+4
2020-02-28pci: use uint32_t for unsigned long valuesPaolo Bonzini1-2/+2
2020-02-28x86: emulator: use "SSE2" for the targetBill Wendling1-1/+1
2020-02-25x86: VMX: Add tests for monitor trap flagOliver Upton2-0/+158
2020-02-24vmx: tweak XFAILS for #DB testPaolo Bonzini1-2/+2
2020-02-24x86: pmu: Test perfctr overflow after WRMSR on a running counterEric Hankland1-1/+18
2020-02-05Merge tag 's390x-2020-02-04' of https://gitlab.com/huth/kvm-unit-tests into HEADPaolo Bonzini7-66/+102
2020-02-05x86: provide enabled and disabled variation of the PCID testPaolo Bonzini1-1/+6
2020-02-05x86: pmu: Test WRMSR on a running counterEric Hankland1-0/+16
2020-02-05x86: Fix the name for the SMEP CPUID bitSean Christopherson2-3/+3
2020-02-04travis.yml: Prevent 'script' from premature exitWainer dos Santos Moschetta1-2/+1
2020-02-04gitlab-ci.yml: Remove ioapic from the x86 testsThomas Huth1-1/+1
2020-02-03s390x: smp: Wait for cpu setup to finishJanosch Frank2-0/+5
2020-02-03s390x: smp: Rework cpu start and active trackingJanosch Frank1-21/+35
2020-02-03s390x: smp: Only use smp_cpu_setup onceJanosch Frank1-7/+14
2020-02-03s390x: Add cpu id to interrupt error printsJanosch Frank1-10/+10
2020-02-03s390x: Stop the cpu that is executing exit()Janosch Frank1-1/+1
2020-02-03s390x: smp: Fix ecall and emcall report stringsJanosch Frank1-2/+2
2020-02-03s390x: smp: Cleanup smp.cJanosch Frank1-22/+33
2020-01-30Merge tag 's390x-2020-01-30' of https://github.com/davidhildenbrand/kvm-unit-...Paolo Bonzini9-24/+531
2020-01-24s390x: SCLP unit testClaudio Imbrenda3-0/+488
2020-01-24s390x: lib: fix program interrupt handler if sclp_busy was setClaudio Imbrenda1-1/+4
2020-01-24s390x: lib: add SPX and STPX instruction wrapperClaudio Imbrenda2-15/+22
2020-01-24s390x: lib: fix stfl wrapper asmClaudio Imbrenda1-1/+1
2020-01-24s390x: sclp: add service call instruction wrapperClaudio Imbrenda2-6/+14
2020-01-24s390x: export sclp_setup_intClaudio Imbrenda2-1/+2
2020-01-22Makefile: Compile the kvm-unit-tests with -fno-strict-aliasingThomas Huth1-1/+1
2020-01-22x86: VMX: Check precondition for RDTSC testOliver Upton1-3/+3
2020-01-22Remove the old api folderThomas Huth14-938/+1
2020-01-21expect python3 in the pathPaolo Bonzini1-1/+1
2020-01-21Merge branch 'arm/queue' of https://github.com/rhdrjones/kvm-unit-tests into ...Paolo Bonzini5-87/+203
2020-01-21x86: VMX: Check EPT AD bits when enabled in ept_access_paddr()Oliver Upton1-0/+18
2020-01-21svm: replace set_host_if with prepare_gif_clear callbackPaolo Bonzini1-8/+6
2020-01-21svm: introduce prepare_gif_clear callbackPaolo Bonzini1-47/+84
2020-01-21README: Add intro about the configuration fileWainer dos Santos Moschetta1-0/+11
2020-01-21README: Fix markdown formattingWainer dos Santos Moschetta1-39/+45
2020-01-19kvm-unit-test: nVMX: Test GUEST_DR7 on vmentry of nested guestsKrish Sadhukhan1-0/+44
2020-01-18x86: Add a kvm module parameter check for vmware_backdoors testBabu Moger1-0/+1
2020-01-18add .editorconfig definitionAlex Bennée1-0/+15
2020-01-18x86: vmx: Remove max_index tracking in check_vmcs_field()Nadav Amit1-15/+3
2020-01-18x86: vmx: Comprehensive max VMCS field searchNadav Amit1-4/+34
2020-01-13arm/arm64: selftest: Add prefetch abort testAndrew Jones2-0/+97
2020-01-13arm/arm64: selftest: Allow test_exception clobber list to be extendedAndrew Jones1-54/+51
2020-01-13arm/arm64: Improve memory region managementAndrew Jones3-33/+55
2020-01-08Merge branch 'arm/queue' of https://github.com/rhdrjones/kvm-unit-tests into ...Paolo Bonzini20-64/+221
2020-01-07x86: Add the cmpxchg8b test to the CIThomas Huth3-2/+6
2020-01-07x86: Add the setjmp test to the CIThomas Huth4-9/+10
2020-01-07x86: Fix coding style in setjmp.cThomas Huth1-12/+12
2020-01-07scripts: Fix premature_failure() check with newer versions of QEMUThomas Huth1-1/+1
2020-01-06arm: cstart64.S: Remove icache invalidation from asm_mmu_enableAlexandru Elisei1-1/+0
2020-01-06arm/arm64: Invalidate TLB before enabling MMUAlexandru Elisei2-1/+4
2020-01-06arm: cstart64.S: Downgrade TLBI to non-shareable in asm_mmu_enableAlexandru Elisei1-2/+2
2020-01-06lib: arm/arm64: Refuse to disable the MMU with non-identity stack pointerAlexandru Elisei1-0/+4
2020-01-06arm64: timer: Write to ICENABLER to disable timer IRQAlexandru Elisei3-11/+13
2020-01-06lib: arm/arm64: Teach mmu_clear_user about block mappingsAlexandru Elisei7-9/+42
2020-01-06lib: arm: Implement flush_tlb_allAlexandru Elisei1-2/+6
2020-01-06lib: arm/arm64: Add missing include for alloc_page.h in pgtable.hAlexandru Elisei2-0/+2
2020-01-06lib: arm/arm64: Remove unused CPU_OFF parameterAlexandru Elisei1-3/+1
2020-01-06lib: arm/arm64: Use WRITE_ONCE to update the translation tablesAlexandru Elisei3-12/+26
2020-01-06lib: Add WRITE_ONCE and READ_ONCE implementations in compiler.hAlexandru Elisei1-0/+83
2020-01-06lib: arm: Add proper data synchronization barriers for TLBIsAlexandru Elisei1-2/+4
2020-01-06lib: arm/arm64: Remove unnecessary dcache maintenance operationsAlexandru Elisei4-17/+16
2019-12-27devicetree: Fix the dt_for_each_cpu_nodeZeng Tao1-1/+1
2019-12-27arm/arm64: PL031: Fix check_rtc_irqAndrew Jones1-2/+2
2019-12-27arm: Enable the VFPAndrew Jones3-3/+15
2019-12-27arm: Add missing test name prefix for pl031 and spinlockChen Qun2-0/+2
2019-12-18Update AMD instructions to conform to LLVM assemblerPeter Shier1-7/+8
2019-12-10Use #define for bit# 1 in GUEST_RFLAGSKrish Sadhukhan1-2/+2
2019-12-10x86: allow using memory above 4 GiBPaolo Bonzini3-5/+77
2019-12-10kvm-unit-test: nVMX: Test GUEST_SYSENTER_ESP and GUEST_SYSENTER_EIP on vmentr...Krish Sadhukhan1-10/+13
2019-12-10kvm-unit-test: nVMX: Remove test_sysenter_field() and use test_canonical() in...Krish Sadhukhan1-26/+2
2019-12-10kvm-unit-test: nVMX: Modify test_canonical() to process guest fields alsoKrish Sadhukhan1-13/+41
2019-12-10svm: Verify the effect of V_INTR_MASKING on INTR interruptsCathy Avery1-2/+103
2019-12-09travis.yml: Run 32-bit tests with KVM, tooThomas Huth1-3/+7
2019-12-06Switch the order of the parameters in report() and report_xfail()Thomas Huth67-1111/+1189
2019-12-06MAINTAINERS: Radim is no longer available as kvm-unit-tests maintainerThomas Huth1-2/+0
2019-12-04x86: Add RDTSC testAaron Lewis2-0/+94
2019-11-27runtime: set MAX_SMP to number of online cpusAndrew Jones1-1/+1
2019-11-23x86: ioapic: Test physical and logical destination modeNitesh Narayan Lal1-0/+65
2019-11-23x86: ioapic: Add the smp configuration to ioapic unittestNitesh Narayan Lal1-0/+1
2019-11-23x86: vmx: Fix the check whether CMCI is supportedNadav Amit2-9/+8
2019-11-21x86: add tests for MSR_IA32_TSX_CTRLPaolo Bonzini6-1/+94
2019-11-18Merge tag 's390x-2019-11-18' of https://github.com/davidhildenbrand/kvm-unit-...Paolo Bonzini8-107/+158
2019-11-18travis.yml: Expect that at least one test succeedsThomas Huth1-0/+1
2019-11-18travis.yml: Test the i386 build, tooThomas Huth1-0/+15
2019-11-18travis.yml: Test with KVM instead of TCG (on x86)Thomas Huth1-5/+14
2019-11-18travis.yml: Install only the required packages for each entry in the matrixThomas Huth1-22/+31
2019-11-18travis.yml: Re-arrange the test matrixThomas Huth1-36/+56
2019-11-18s390x: Load reset psw on diag308 resetJanosch Frank3-8/+21
2019-11-18s390x: Add CR save areaJanosch Frank5-11/+11
2019-11-18s390x: Fix initial cr0 load commentsJanosch Frank1-2/+2
2019-11-18s390x: sclp: expose ram_size and max_ram_sizeClaudio Imbrenda2-0/+12
2019-11-18s390x: improve error reporting for interruptsClaudio Imbrenda1-2/+2
2019-11-18s390x: remove redundant definesClaudio Imbrenda1-2/+0
2019-11-18s390x: Use loop to save and restore fprsJanosch Frank1-32/+6
2019-11-15x86/unittests.cfg: Increase the timeout of the sieve test to 180sThomas Huth1-0/+1
2019-11-15Makefile: use "-Werror" in cc-optionBill Wendling1-6/+14
2019-11-15x86: Fix the register order to match struct regsAaron Lewis1-6/+6
2019-11-15x86: VMX: Add tests for nested "load IA32_PERF_GLOBAL_CTRL"Oliver Upton1-0/+161
2019-11-15x86: VMX: Make guest_state_test_main() check state from nested VMOliver Upton1-3/+18
2019-11-15x86: vmx: Verify pending LAPIC INIT event consume when exit on VMX_INITLiran Alon1-2/+43
2019-11-15x86: vmx: Verify L2 modification to L1 LAPIC TPR works when L0 use TPR thresholdLiran Alon2-1/+51
2019-11-13svm: Verify a pending interrupt queued before entering the guest is not lostCathy Avery1-0/+93
2019-11-13svm: run tests with host IF=1Paolo Bonzini1-1/+4
2019-11-11x86: pku: fix parameter passingChenyi Qiang1-0/+1
2019-11-11x86: smap: Use correct reg to pass a parameterChenyi Qiang1-1/+1
2019-11-05x86: realmode: initialize inregs with a stackBill Wendling1-63/+95
2019-11-05x86: realmode: save and restore %esBill Wendling1-5/+9
2019-11-04alloc: Add memalign error checksJanosch Frank1-4/+6
2019-11-04x86: VMX: Mask advanced VM-exit infoNadav Amit2-0/+9
2019-11-04x86: Skip APIC-access address tests beyond mapped RAMJim Mattson1-148/+139
2019-10-24arm: Add PL031 testAlexander Graf3-0/+264
2019-10-24arm64: Add cache code generation testAlexandru Elisei3-0/+129
2019-10-24lib: arm/arm64: Add function to clear the PTE_USER bitAlexandru Elisei2-0/+16
2019-10-24lib: arm64: Add missing ISB in flush_tlb_pageAlexandru Elisei1-0/+1
2019-10-24arm: Add missing test name prefix callsAndre Przywara3-0/+6
2019-10-24arm: selftest: Make MPIDR output stableAndre Przywara1-2/+12
2019-10-24arm: selftest: Split variable output data from test nameAndre Przywara1-3/+6
2019-10-24arm: timer: Split variable output data from test nameAndre Przywara1-1/+2
2019-10-24arm: gic: Split variable output data from test nameAndre Przywara1-19/+26
2019-10-24arm: gic: check_acked: add test descriptionAndre Przywara1-7/+10
2019-10-23Revert "lib: use an argument which doesn't require default argument promotion"Paolo Bonzini2-4/+4
2019-10-21x86: realmode: use ARRAY_SIZE in test_long_jmpPaolo Bonzini1-1/+1
2019-10-21x86: realmode: fix esp in call testBill Wendling1-1/+3
2019-10-09lib: use an argument which doesn't require default argument promotionBill Wendling2-4/+4
2019-10-08x86: svm: run svm.flat unit tests with -cpu hostVitaly Kuznetsov1-1/+1
2019-10-07powerpc: Fix up RTAS invocation for new qemu versionsDavid Gibson3-7/+22
2019-10-03vmexit: measure IPI and EOI costPaolo Bonzini1-0/+16
2019-10-03x86: vmx_tests: add GUEST_EFER testsPaolo Bonzini1-17/+70
2019-10-03x86: vmx_tests: prepare for extending guest state area testsPaolo Bonzini1-13/+9
2019-10-03x86: vmx_tests: extend HOST_EFER testsPaolo Bonzini1-52/+74
2019-10-03x86: vmx_tests: gate load guest PAT tests on the correct bitPaolo Bonzini1-1/+1
2019-10-03svm: Fixed error code comparison in test npt_rsvd_pfwalkCathy Avery1-1/+1
2019-10-03x86: VMX: MSR_IA32_VMX_MISC[30] is not MBZNadav Amit1-1/+1
2019-09-26x86: vmx: Test INIT processing during various CPU VMX statesLiran Alon2-1/+151
2019-09-25Merge tag 's390x-2019-09-25' of https://gitlab.com/huth/kvm-unit-tests into HEADPaolo Bonzini23-137/+1419
2019-09-25s390x: Free allocated page in iep testJanosch Frank1-0/+1
2019-09-25s390x: SMP testJanosch Frank3-0/+247
2019-09-25s390x: Prepare for external callsJanosch Frank3-4/+27
2019-09-25s390x: Add initial smp codeJanosch Frank8-6/+349
2019-09-25s390x: Add linemode buffer to fix newline on every printJanosch Frank1-4/+39
2019-09-25s390x: Add linemode consoleJanosch Frank2-18/+218
2019-09-25s390x: Use interrupts in SCLP and add lockingJanosch Frank5-4/+70
2019-09-25x86: vmx: Allow tests to hand-over test-vmcs between CPUsLiran Alon1-0/+1
2019-09-25x86: vmx: Expose util to enable VMX in MSR_IA32_FEATURE_CONTROLLiran Alon2-8/+15
2019-09-25x86: vmx: Use MSR_IA32_FEATURE_CONTROL bits namesLiran Alon1-8/+24
2019-09-25x86: vmx: Support VMXON on AP CPUs VMX regionLiran Alon2-15/+19
2019-09-25x86: vmx: Expose vmx_init() to be used on AP CPUsLiran Alon2-1/+3
2019-09-25x86: vmx: Prepare init_vmx() for VMX support on AP CPUsLiran Alon1-8/+14
2019-09-25x86: vmx: Refactor init of VMX caps to separate functionLiran Alon1-12/+18
2019-09-25x86: emulator: use "q" operand modifierBill Wendling1-1/+1
2019-09-25x86: debug: use a constraint that doesn't allow a memory operandBill Wendling1-2/+2
2019-09-25kvm-unit-test: x86: Add RDPRU testJim Mattson4-0/+32
2019-09-24x86: nvmx: test max atomic switch MSRsMarc Orr5-2/+139
2019-09-24x86: setjmp: check expected value of "i" to give better feedbackBill Wendling1-8/+15
2019-09-24x86: remove memory constraint from "mov" instructionBill Wendling1-1/+1
2019-09-23s390x: Fix stsi unaligned test and add selector testsJanosch Frank1-1/+3
2019-09-18s390x: Add storage key removal facilityJanosch Frank4-0/+144
2019-09-18s390x: Bump march to zEC12Janosch Frank1-1/+1
2019-09-18s390x: Storage key library functions now take void ptr addressesJanosch Frank3-21/+16
2019-09-18s390x: Move pfmf to lib and make address voidJanosch Frank2-44/+44
2019-09-18s390x: Add diag308 subcode 0 testingJanosch Frank2-21/+37
2019-09-18s390x: STSI testsJanosch Frank3-0/+88
2019-09-18s390x: Move stsi to libraryJanosch Frank2-18/+16
2019-09-18s390x: Diag288 testJanosch Frank4-0/+120
2019-09-18s390x: Support PSW restart bootJanosch Frank1-5/+9
2019-09-17kvm-unit-test: nVMX: Fix 95d6d2c32288 ("nVMX: Test Host Segment Registers and...Krish Sadhukhan2-48/+33
2019-09-17kvm-unit-test: nVMX: Check Host Address Space Size on vmentry of nested guestsKrish Sadhukhan1-0/+63
2019-09-11x86: VMX: INVEPT after modifying PA mapping in ept_untwiddleOliver Upton1-0/+1
2019-09-11x86: nVMX: Fix wrong reserved bits of error-codeNadav Amit1-3/+3
2019-09-11x86: nVMX: Do not use test_skip() when multiple tests are runNadav Amit1-4/+4
2019-09-10arm: prevent compiler from using unaligned accessesAndre Przywara2-0/+2
2019-09-10travis.yml: Enable running of tests with TCGThomas Huth1-1/+18
2019-09-10Update travis.yml to use bionic instead of trustyThomas Huth1-1/+1
2019-09-10x86: Bump max number of test CPUs to 255Sean Christopherson1-1/+1
2019-09-10x86: Declare online_cpus based on MAX_TEST_CPUSSean Christopherson3-4/+2
2019-09-10x86: Fix out of bounds access when processing online_cpusSean Christopherson1-2/+2
2019-09-10Makefile: do not pass non-c++ warning options to g++Haozhong Zhang1-2/+1