aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Expand)AuthorFilesLines
2020-07-10x86: Allow to limit maximum RAM addressHEADmasterNadav Amit3-0/+12
2020-07-10x86: remove dead writes from setup_mmu()Nadav Amit1-3/+0
2020-07-10x86: svm: present bit is set on nested page-faultsNadav Amit1-2/+2
2020-07-10cstart: do not assume CR4 starts as zeroPaolo Bonzini2-4/+2
2020-07-08kvm-unit-tests: nSVM: Test that MBZ bits in CR3 and CR4 are not set on vmrun ...Krish Sadhukhan2-17/+131
2020-07-08svm: fix clobbers for svm_vmrunPaolo Bonzini1-1/+1
2020-07-06lib/vmalloc: allow vm_memalign with alignment > PAGE_SIZEClaudio Imbrenda2-8/+30
2020-07-06lib/alloc_page: move get_order and is_power_of_2 to a bitops.hClaudio Imbrenda5-11/+11
2020-07-06lib/alloc_page: change some parameter typesClaudio Imbrenda2-7/+7
2020-07-06lib/vmalloc: fix pages count local variable to be size_tClaudio Imbrenda1-2/+2
2020-07-06vmx: remove unnecessary #ifdef __x86_64__Paolo Bonzini1-12/+0
2020-07-06kvm-unit-tests: nVMX: Test GUEST_LIMIT_GDTR and GUEST_LIMIT_IDTR on vmentry o...Krish Sadhukhan1-0/+17
2020-07-06kvm-unit-tests: nVMX: Test GUEST_BASE_GDTR and GUEST_BASE_IDTR on vmentry of ...Krish Sadhukhan1-0/+5
2020-07-06kvm-unit-tests: x86: Remove duplicate instance of 'vmcb'Krish Sadhukhan1-1/+0
2020-07-03x86: access: Add test for illegal toggling of CR4.LA57 in 64-bit modeSean Christopherson2-0/+13
2020-07-02x86: realmode: fix serial_init()Nadav Amit1-0/+9
2020-07-01kvm-unit-tests: nSVM: Test that DR6[63:32], DR7[63:32] and EFER reserved bits...Krish Sadhukhan2-8/+53
2020-07-01x86: nVMX: Print more (accurate) info if RDTSC diff test failsSean Christopherson1-5/+6
2020-07-01x86: svm: avoid advancing rip incorrectly on exc_injectNadav Amit1-2/+2
2020-07-01x86: svm: use PML4E in npt_rsvd_pfwalk_prepareNadav Amit3-2/+8
2020-07-01x86: svm: flush TLB on each testNadav Amit1-0/+1
2020-07-01x86: svm: check TSC adjust supportNadav Amit1-1/+6
2020-07-01x86: Remove boot_idt assembly assignmentNadav Amit1-3/+0
2020-07-01gitlab-ci.yml: Extend the lists of tests that we run with TCGThomas Huth1-9/+15
2020-07-01scripts: Fix the check whether testname is in the only_tests listPaolo Bonzini1-3/+8
2020-06-29x86: pmu: fix failures on 32-bit due to wrong masksNadav Amit1-4/+4
2020-06-26x86: realmode: fix lss testNadav Amit1-2/+2
2020-06-26x86: realmode: hlt loop as fallback on exitNadav Amit1-0/+4
2020-06-26x86: realmode: initialize idtrNadav Amit1-0/+2
2020-06-26x86: map bottom 2G 1:1 into page tablesPaolo Bonzini1-2/+1
2020-06-25x86: setup segment registers before percpu areasPaolo Bonzini1-4/+4
2020-06-25x86: fix smp_stacktop on 32-bitNadav Amit1-1/+1
2020-06-25x86: fix stack pointer after callPaolo Bonzini1-0/+1
2020-06-25x86: move IDT away from address 0Paolo Bonzini2-4/+17
2020-06-24Revert "SVM: move guest past HLT"Vitaly Kuznetsov1-8/+0
2020-06-24x86: Initialize segment selectorsNadav Amit1-6/+11
2020-06-24x86: skip hyperv_clock test when host clocksource is not TSCVitaly Kuznetsov1-0/+1
2020-06-23Merge tag 'pull-request-2020-06-16' of https://gitlab.com/huth/kvm-unit-testsPaolo Bonzini8-15/+45
2020-06-23lib/alloc.c: fix missing includePaolo Bonzini1-0/+1
2020-06-22Fixes for the umip testThomas Huth1-2/+4
2020-06-22Fix out-of-tree buildsAndrew Jones1-5/+3
2020-06-22lib/vmalloc: add locking and a check for initializationClaudio Imbrenda1-5/+11
2020-06-22lib/alloc_page: make get_order return unsigned intClaudio Imbrenda2-2/+2
2020-06-22lib/vmalloc: fix potential race and non-standard pointer arithmeticClaudio Imbrenda1-2/+8
2020-06-22lib: Fix a typo and add documentation commentsClaudio Imbrenda2-1/+9
2020-06-22lib/alloc.c: add overflow check for callocClaudio Imbrenda1-1/+35
2020-06-22lib: use PAGE_ALIGNClaudio Imbrenda1-4/+4
2020-06-22x86: add missing PAGE_ALIGN macro from page.hClaudio Imbrenda1-0/+2
2020-06-22x86/cstart.S: initialize stack before using itClaudio Imbrenda1-1/+1
2020-06-22nVMX: Extend EPT cap MSR test to allow 5-level EPTSean Christopherson1-0/+1
2020-06-22nVMX: Mark bit 39 of MSR_IA32_VMX_EPT_VPID_CAP as reservedSean Christopherson1-1/+0
2020-06-22nVMX: Refactor the EPT/VPID MSR cap check to make it readableSean Christopherson2-2/+22
2020-06-22nVMX: Extend EPTP test to allow 5-level EPTSean Christopherson2-4/+9
2020-06-22SVM: add test for nested guest RIP corruptionMaxim Levitsky1-0/+102
2020-06-22x86: fix build with GCC10Vitaly Kuznetsov2-2/+2
2020-06-16s390x: stsi: Make output tap13 compatibleJanosch Frank1-3/+3
2020-06-16x86: disable SSE on 32-bit hostsPaolo Bonzini1-0/+1
2020-06-16x86: disable SSE on 32-bit hostsPaolo Bonzini1-0/+1
2020-06-16Compile the kvm-unit-tests also with ClangThomas Huth1-0/+13
2020-06-16vmx_tests: Silence warning from ClangThomas Huth1-1/+1
2020-06-16x86: use inline asm to retrieve stack pointerBill Wendling1-2/+6
2020-06-16x86: use a non-negative number in shiftBill Wendling1-1/+1
2020-06-16Update the gitlab-ci to Fedora 32Thomas Huth1-2/+2
2020-06-16Fix powerpc issue with the linker from Fedora 32Thomas Huth1-3/+16
2020-06-16Always compile the kvm-unit-tests with -fno-commonThomas Huth3-3/+3
2020-06-16Fixes for the umip testThomas Huth1-2/+4
2020-06-16x86: avoid multiple defined symbolPaolo Bonzini2-2/+2
2020-06-16Fix out-of-tree buildsAndrew Jones1-5/+3
2020-06-16x86/pmu: Fix compilation on 32-bit hostsThomas Huth1-1/+1
2020-06-10x86: always set up SMPPaolo Bonzini32-41/+6
2020-06-10remove unused filePaolo Bonzini1-14/+0
2020-06-01x86: realmode: Add suffixes for push, pop and iretRoman Bolshakov1-16/+16
2020-05-29x86: pmu: Test full-width counter writes supportLike Xu2-24/+102
2020-05-29access: disable phys-bits=36 for nowPaolo Bonzini1-1/+1
2020-05-18README: Document steps to run the tests on macOSRoman Bolshakov2-2/+51
2020-05-18scripts/arch-run: Support testing of hvf accelRoman Bolshakov1-0/+13
2020-05-18x86: realmode: Test interrupt delivery after STIRoman Bolshakov1-0/+21
2020-05-09svm_tests: add RSM intercept testPaolo Bonzini1-0/+49
2020-05-09x86: VMX: Add a VMX-preemption timer expiration testJim Mattson3-0/+125
2020-05-09svm: Test V_IRQ injectionCathy Avery1-0/+150
2020-05-06KVM: VMX: add test for NMI delivery during HLTCathy Avery1-0/+120
2020-05-05VMX: use xAPIC mode on all processorsPaolo Bonzini3-1/+18
2020-05-04Merge tag 's390x-2020-04-30' of https://github.com/davidhildenbrand/kvm-unit-...Paolo Bonzini10-26/+196
2020-05-04svm: Fix nmi hlt test to fail test correctlyCathy Avery1-0/+1
2020-05-04x86: msr: Don't test bits 63:32 of SYSENTER MSRs on 32-bit buildsSean Christopherson1-2/+3
2020-05-04nVMX: Check EXIT_QUALIFICATION on VM-Enter failures due to bad guest stateSean Christopherson2-1/+9
2020-05-04x86: ioapic: Run physical destination mode test iff cpu_count() > 1Sean Christopherson1-1/+2
2020-05-04x86: nVMX: add new test for vmread/vmwrite flags preservationSimon Smith1-0/+140
2020-04-30s390x: Fix library constant definitionsJanosch Frank1-4/+4
2020-04-30s390x: smp: Add restart when running testJanosch Frank1-0/+29
2020-04-30s390x: smp: Use full PSW to bringup new cpuJanosch Frank2-1/+4
2020-04-30s390x: smp: Remove unneeded cpu loopsJanosch Frank1-7/+1
2020-04-30s390x: smp: Loop if secondary cpu returns into cpu setup againJanosch Frank1-1/+3
2020-04-30s390x: smp: Test local interrupts after cpu resetJanosch Frank1-0/+21
2020-04-30s390x: smp: Test stop and store status on a running and stopped cpuJanosch Frank1-0/+14
2020-04-30s390x: smp: Dirty fpc before initial reset testJanosch Frank1-0/+1
2020-04-24s390x: smp: Test all CRs on initial resetJanosch Frank1-1/+17
2020-04-24s390x: unittests: Use smp parameterAndrew Jones1-1/+1
2020-04-24s390x/smp: add minimal test for sigp sense running statusChristian Borntraeger3-2/+16
2020-04-24s390x: STFLE operates on doublewordsDavid Hildenbrand2-8/+8
2020-04-24s390x/smp: fix detection of "running"Christian Borntraeger1-1/+1
2020-04-24s390x: Add stsi 3.2.2 testsJanosch Frank2-0/+74
2020-04-24MAINTAINERS: s390x: add linux-s390 listCornelia Huck1-0/+1
2020-04-24MAINTAINERS: s390x: add myself as reviewerCornelia Huck1-0/+1
2020-04-24MAINTAINERS: Add Janosch as a s390x maintainerThomas Huth1-1/+1
2020-04-23SVM: move guest past HLTPaolo Bonzini1-0/+8
2020-04-23nVMX: Add testcase to cover VMWRITE to nonexistent CR3-target valuesSean Christopherson1-0/+4
2020-04-23x86: svm: call default_prepare from exc_inject_preparePaolo Bonzini1-2/+3
2020-04-23x86: VMX: Add another corner-case VMX-preemption timer testJim Mattson1-0/+104
2020-04-23x86: nVMX: Add some corner-case VMX-preemption timer testsJim Mattson1-0/+120
2020-04-23x86: access: Add tests for reserved bits of guest physical addressMohammed Gamal2-4/+32
2020-04-21kvm-unit-tests: nSVM: Test that CR0[63:32] are not set on VMRUN of nested guestsKrish Sadhukhan1-0/+14
2020-04-17x86: VMX: test MTF VM-exit event injectionOliver Upton1-2/+11
2020-04-16kvm-unit-tests: nSVM: Test CR0.CD and CR0.NW combination on VMRUN of nested g...Krish Sadhukhan1-1/+27
2020-04-16kvm-unit-tests: SVM: Add #defines for CR0.CD and CR0.NWKrish Sadhukhan1-0/+2
2020-04-15svm: add a test for exception injectionPaolo Bonzini1-0/+70
2020-04-09svm: Add test cases around NMI injection with HLTCathy Avery1-0/+103
2020-04-09svm: Add test cases around NMI injectionCathy Avery1-0/+82
2020-04-07arch-run: Add reserved variables to the default environAndrew Jones3-50/+97
2020-04-07runtime: Always honor the unittests.cfg accel requirementAndrew Jones1-1/+8
2020-04-07run_migration: Implement our own waitAndrew Jones1-1/+5
2020-04-04arm/arm64: ITS: pending table migration testEric Auger3-0/+169
2020-04-04arm/arm64: ITS: migration testsEric Auger4-6/+91
2020-04-03arm/run: Allow Migration testsEric Auger3-2/+30
2020-04-03arm/arm64: ITS: INT functional testsEric Auger2-11/+213
2020-04-03arm/arm64: ITS: CommandsEric Auger3-1/+515
2020-04-03arm/arm64: ITS: Device and collection InitializationEric Auger2-0/+57
2020-04-03arm/arm64: ITS: its_enable_defaultsEric Auger4-0/+45
2020-04-03arm/arm64: ITS: Introspection testsEric Auger8-7/+311
2020-04-03arm/arm64: gicv3: Set the LPI config and pending tablesEric Auger2-0/+70
2020-04-03arm/arm64: gicv3: Add some re-distributor definesEric Auger1-0/+6
2020-04-03arm/arm64: gic: Introduce setup_irq() helperEric Auger2-13/+8
2020-04-03page_alloc: Introduce get_order()Eric Auger2-1/+7
2020-04-03libcflat: Add other size definesEric Auger1-0/+3
2020-04-03arm: pmu: Test overflow interruptsEric Auger2-0/+145
2020-04-03arm: gic: Introduce gic_irq_set_clr_enable() helperEric Auger2-0/+35
2020-04-03arm: pmu: test 32-bit <-> 64-bit transitionsEric Auger2-0/+144
2020-04-03arm: pmu: Test chained countersEric Auger2-1/+109
2020-04-03arm: pmu: Test SW_INCR event countEric Auger2-0/+53
2020-04-03arm: pmu: Basic event counter TestsEric Auger3-0/+271
2020-04-03arm: pmu: Check Required Event SupportEric Auger3-0/+86
2020-04-03arm: pmu: Introduce defines for PMU versionsEric Auger1-5/+21
2020-04-03arm: pmu: Add a pmu structEric Auger1-8/+21
2020-04-03arm: pmu: Don't check PMCR.IMP anymoreEric Auger1-25/+14
2020-04-03arm: pmu: Let pmu tests take a sub-test parameterEric Auger2-12/+20
2020-04-03arm64: Provide read/write_sysreg_sAndrew Jones1-0/+11
2020-04-03arm64: timer: Speed up gic-timer-state checkAndrew Jones3-29/+63
2020-04-03arm64: timer: Use existing helpers to access counter/timersZenghui Yu1-8/+8
2020-04-03arm64: timer: Use the proper RDist register name in GICv3Zenghui Yu2-2/+6
2020-04-03arm/arm64: gic: Move gic_state enumeration to asm/gic.hZenghui Yu2-7/+7
2020-04-03arm/arm64: Perform dcache clean + invalidate after turning MMU offAlexandru Elisei5-0/+78
2020-04-03arm64: timer: Test behavior when timer disabled or maskedAlexandru Elisei2-1/+8
2020-04-03arm64: timer: Check the timer interrupt stateAlexandru Elisei1-4/+11
2020-04-03arm64: timer: Wait for the GIC to sample timer interrupt stateAlexandru Elisei2-6/+39
2020-04-03arm64: timer: EOIR the interrupt after masking the timerAlexandru Elisei1-3/+4
2020-04-03arm64: timer: Make irq_received volatileAlexandru Elisei1-1/+1
2020-04-03arm64: timer: Add ISB before reading the counter valueAlexandru Elisei1-0/+2
2020-04-03arm64: timer: Add ISB after register writesAlexandru Elisei1-3/+6
2020-04-03arm/arm64: psci: Don't run C code without stack or vectorsAlexandru Elisei1-3/+11
2020-04-03Makefile: Use no-stack-protector compiler optionsAlexandru Elisei1-2/+2
2020-03-31x86: vmx: skip atomic_switch_overflow_msrs_test on bare metalNadav Amit1-1/+4
2020-03-31x86: vmx: Fix "EPT violation - paging structure" testNadav Amit1-8/+9
2020-03-31x86: access: Shadow CR0, CR4 and EFER to avoid unnecessary VM-ExitsSean Christopherson1-18/+27
2020-03-31x86: Reload SS when switching to 5-level page tablesSean Christopherson1-0/+3
2020-03-31x86: Run unit tests with --no-reboot so shutdowns show up as failuresSean Christopherson1-1/+1
2020-03-18kvm-unit-test: nVMX: Test GUEST_BNDCFGS VM-Entry control on vmentry of nested...Krish Sadhukhan1-0/+45
2020-03-18kvm-unit-test: nSVM: Test SVME.EFER on VMRUN of nested guestsKrish 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