aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Expand)AuthorFilesLines
2019-10-10x86: allow using memory above 4 GiBnextPaolo Bonzini3-5/+77
2019-10-07x86: VMX: Mask advanced VM-exit infoNadav Amit2-0/+9
2019-10-07x86: Skip APIC-access address tests beyond mapped RAMJim Mattson1-148/+139
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
2019-08-23x86: Fix breakage of fw_cfg for 32-bit unit testsSean Christopherson3-6/+8
2019-08-23x86: Attempt to parse ACPI tables only when neededSean Christopherson1-5/+7
2019-08-23x86: Skip EPT tests that involve unrestricted guest when URG is disabledSean Christopherson1-0/+4
2019-08-23x86: Don't test 64-bit-only MSRs in 32-bit buildSean Christopherson1-1/+1
2019-08-20x86: Support environments without test-devicesNadav Amit9-10/+81
2019-08-20Merge tag 'pull-request-2019-08-02' of https://gitlab.com/huth/kvm-unit-tests...Paolo Bonzini3-0/+64
2019-08-09x86: vmx: Fix comment typo for ept_access_paddr()Oliver Upton1-2/+3
2019-08-09kvm-unit-test: x86: Replace cpuid/cpuid_indexed calls with this_cpu_has()Krish Sadhukhan17-86/+42
2019-08-09kvm-unit-test: x86: Implement a generic wrapper for cpuid/cpuid_indexed funct...Krish Sadhukhan1-32/+111
2019-08-09Force GCC version to 8.2 for compiling the ARM testsThomas Huth1-1/+1
2019-08-09arm: timer: Fix potential deadlock when waiting for interruptAlexandru Elisei1-0/+2
2019-08-09x86: access: avoid undefined behaviorPaolo Bonzini1-2/+3
2019-08-02Force GCC version to 8.2 for compiling the ARM testsThomas Huth1-1/+1
2019-07-30kvm-unit-tests: s390: add cpu model checksChristian Borntraeger3-0/+64
2019-07-11tscdeadline_latency: Check condition first before loopPeter Xu1-2/+2
2019-07-11nVMX: Test Host Segment Registers and Descriptor Tables on vmentry of nested ...Krish Sadhukhan2-0/+164
2019-07-02x86: Remove duplicate definitions of write_cr4_checking() and put it in libraryKrish Sadhukhan6-32/+18
2019-07-02libcflat: use stdboolNadav Amit1-4/+1
2019-07-02x86: Memory barrier before setting ICRNadav Amit1-0/+2
2019-07-02x86: Reset lapic after bootNadav Amit3-1/+5
2019-07-02x86: Load segments after GDT loadingNadav Amit1-6/+17
2019-07-02x86: vmx: Consider CMCI enabled based on IA32_MCG_CAP[10]Nadav Amit1-5/+14
2019-07-02x86: Mark APR as reserved in x2APICNadav Amit1-0/+1
2019-07-02x86: Remove assumptions on CR4.MCENadav Amit1-14/+15
2019-06-18x86: vmx: Mask undefined bits in exit qualificationsNadav Amit2-8/+16
2019-06-13x86: re-enable asyncpf testPaolo Bonzini1-2/+3
2019-06-13nVMX: Test "Load IA32_EFER" VM-exit control on vmentry of nested guestsKrish Sadhukhan1-0/+121
2019-06-13x86: Add a wrapper to check if the CPU supports NX bit in MSR_EFERKrish Sadhukhan2-1/+6
2019-06-06Add #define for "load IA32_PERF_GLOBAL_CONTROL" bitKrish Sadhukhan1-0/+1
2019-06-06Rename report_guest_pat_test to report_guest_state_testKrish Sadhukhan1-13/+16
2019-06-06Rename guest_pat_main to guest_state_test_mainKrish Sadhukhan1-2/+2
2019-06-06arm64: timer: a few test improvementsAndrew Jones1-2/+15
2019-06-06x86: Fix SMP stacksNadav Amit1-2/+2
2019-06-06gitlab-ci: Run tests with a Fedora docker imageThomas Huth1-11/+18
2019-06-06Merge tag 'ppc-next-pull-request' of https://github.com/vivier/kvm-unit-tests...Paolo Bonzini4-6/+10
2019-05-22vmx_tests: use enter_guest if guest state is validPaolo Bonzini1-1/+1
2019-05-20x86: APIC IDs might not be consecutiveNadav Amit7-10/+64
2019-05-20x86: Fix max VMCS field encoding index checkNadav Amit1-2/+2
2019-05-20x86: nVMX: Set guest as active after NMI/INTR-window testsNadav Amit1-6/+2
2019-05-20x86: nVMX: Use #DB in nmi- and intr-window testsNadav Amit1-36/+36
2019-05-20x86: Do not run vmx tests if feature is unsupported by CPUNadav Amit1-6/+28
2019-05-20x86: Set "APIC Software Enable" after APIC resetNadav Amit2-2/+2
2019-05-20x86: Halt on exitNadav Amit1-1/+5
2019-05-20x86: Restore VMCS state when test_tpr_threshold_values() is doneNadav Amit1-5/+7
2019-05-20arm: Remove redundant page zeroingNadav Amit3-4/+0
2019-05-20lib: Remove redundant page zeroingNadav Amit1-1/+0
2019-05-20x86: Remove redundant page zeroingNadav Amit5-31/+0
2019-05-20lib/alloc_page: Zero allocated pagesNadav Amit1-0/+4
2019-05-20x86: PMU: Make fast counters test optionalNadav Amit1-2/+33
2019-05-20x86: PMU: Fix PMU counters maskingNadav Amit1-7/+21
2019-05-20x86: Incorporate timestamp in delay(), call it in io_delay()Nadav Amit5-18/+16
2019-05-20x86: Unmask LVTPC on interruptNadav Amit1-0/+1
2019-05-20x86: Fix APIC version register testNadav Amit1-4/+4
2019-05-20x86: Change ALTERNATE_APIC_BASE to saner valueNadav Amit1-1/+1
2019-05-20Check "load IA32_PAT" VM-entry control on vmentry of nested guestsKrish Sadhukhan1-12/+113
2019-05-20vmx: introduce enter_guest_with_invalid_guest_stateKrish Sadhukhan2-21/+39
2019-05-20vmware_backdoors: run with -cpu hostPaolo Bonzini1-1/+1
2019-05-20x86: APIC: Add test for pending NMIs while NMIs are blockedSean Christopherson1-0/+29
2019-05-20x86: Allow xapic ID writes to silently failNadav Amit1-1/+1
2019-05-20x86: Initialize vmcs_rootNadav Amit1-0/+2
2019-05-20x86: Wait for self IPINadav Amit1-1/+6
2019-05-20x86: apic: Preserve APIC base and BSP bits during x2APIC testsSean Christopherson1-9/+21
2019-05-20x86: nVMX: Dynamically calculate and check max VMCS field encoding indexSean Christopherson2-10/+28
2019-05-20x86: Fix allowed IA32_VMX_VMCS_ENUM valuesNadav Amit1-1/+1
2019-05-20x86: Remove INIT deassertNadav Amit2-2/+0
2019-05-20vmx: do not XFAIL for virtual-APIC address beyond RAMPaolo Bonzini1-1/+9
2019-05-20Check "load IA32_PAT" on vmentry of L2 guestsKrish Sadhukhan1-0/+72
2019-05-20vmx: do not clobber host APIC registers in virt_x2apic_mode_testPaolo Bonzini1-0/+4
2019-05-20vmx: skip new APICv tests on machines that do not support itPaolo Bonzini1-7/+17
2019-05-20x86: Fix wrong test for 5-level page-tableNadav Amit1-1/+1
2019-05-17powerpc: Make h_cede_tm test run by defaultSuraj Jitindar Singh1-1/+1
2019-05-17powerpc: Allow for a custom decr value to be specified to load on decr excpSuraj Jitindar Singh3-5/+9
2019-05-03Merge tag 'pull-request-2019-04-19' of https://gitlab.com/huth/kvm-unit-testsPaolo Bonzini6-4/+261
2019-04-18Add a .gitlab-ci.yml file for automatic CI testing on GitLab instancesThomas Huth1-0/+75
2019-04-16s390x: Add a test for the diagnose 0x308 hypercallThomas Huth3-0/+134
2019-04-16s390x/skey: Skip the "iske" test when running under z/VM 6Thomas Huth1-4/+51
2019-04-15Add s390x/*.bin to the .gitignore fileThomas Huth1-0/+1
2019-04-09arm: powerpc: comment halt(code)Andrew Jones2-4/+15
2019-04-06Merge branch 'support-kvmtool' of https://github.com/rhdrjones/kvm-unit-tests...Paolo Bonzini8-19/+107
2019-04-05Test HOST_SYSENTER_ESP and HOST_SYSENTER_EIP fields on vmentry of L2 guestsKrish Sadhukhan1-0/+27
2019-04-05add unittests.cfg entry for APICv testsPaolo Bonzini1-0/+7
2019-04-05Add leak scenario to virt_x2apic_mode_testMarc Orr3-5/+36
2019-04-05Test VMX's virtualize x2APIC mode w/ nestedMarc Orr3-4/+774
2019-04-05fix vmx_apic_reg_virt for older platformsMarc Orr1-2/+9
2019-04-05apic_reg_virt_test: Make APIC-access addr 4k pageMarc Orr4-0/+102
2019-04-05Test odd/incorrect APIC-register virt configsMarc Orr3-63/+295
2019-04-05Test nested APIC-register virtualizationMarc Orr2-0/+448
2019-03-20arm/arm64: kvmtool: force all tests to runAndrew Jones2-1/+13
2019-03-20arm/arm64: selftest.vectors-user: clean up PSCI exitAndrew Jones1-0/+25
2019-03-20lib: arm: Fallback to psci_system_off() in exit()Alexandru Elisei1-0/+2
2019-03-20lib: arm: Implement PSCI SYSTEM_OFF in psci_system_off()Alexandru Elisei2-2/+9
2019-03-20lib: arm: Use ns16550a UART when --vmm=kvmtoolAlexandru Elisei2-11/+25
2019-03-20configure: arm/arm64: Add --vmm option with no effectAlexandru Elisei1-0/+10
2019-03-20lib: arm: Use UART address from generated config.hAlexandru Elisei4-7/+25
2019-03-08x86/apic: wait for wrap around in lapic timer periodic testEvgeny Yakovlev1-2/+21
2019-03-08Restore secondary controls on test_vmcs_addr_reference()Nadav Amit1-0/+1
2019-03-08Merge tag 's390x-ppc-2019-02-28' of https://gitlab.com/huth/kvm-unit-tests in...Paolo Bonzini6-35/+75
2019-03-08Check Host Control Registers on vmentry of L2 guestsKrish Sadhukhan2-0/+110
2019-02-28s390x: Add prefixes for dxc afp emulator testJanosch Frank1-1/+4
2019-02-28s390x: Beautify pfmf report stringsJanosch Frank1-7/+16
2019-02-28s390x: Beautify sthyi report stringsJanosch Frank1-21/+33
2019-02-27s390x: Only look at relevant skey bitsJanosch Frank3-5/+21
2019-02-27powerpc: Enable HTM capability for h_cede_tm testcaseDavid Gibson1-1/+1
2019-02-22Check Host Control Registers on vmentry of L2 guestsKrish Sadhukhan2-0/+59
2019-02-22Re-name 'test_vmx_controls' to 'test_vmx_vmlaunch' and pass the expected erro...Krish Sadhukhan1-99/+133
2019-02-22Move test_vm_entry_ctls() below test_vm_exit_ctls()Krish Sadhukhan1-1/+1
2019-02-22x86: nVMX: Add comments to the EPT helper functionsSean Christopherson1-1/+28
2019-02-22x86: nVMX: Rename EPT setup functions to better convey their scopeSean Christopherson1-7/+7
2019-02-22x86: nVMX: Require WB for the EPT walks when possibleSean Christopherson1-9/+3
2019-02-22x86: nVMX: Pre-check EPT requirement for unrestricted guestSean Christopherson1-5/+6
2019-02-22x86: nVMX: Check the return value of setup_eptp() in setup_ept()Sean Christopherson1-1/+2
2019-02-22run_tests: fix command line options handlingStefan Raspl1-20/+27
2019-02-22tap13: list testcases individuallyStefan Raspl2-26/+52
2019-02-20run_tests: allow specifying desired tests on the command linePaolo Bonzini2-0/+6
2019-02-14KVM: nVMX: Drop the bogus 2gb requirement from the HLT+RVI testcaseSean Christopherson1-1/+1
2019-02-14KVM: nVMX: Exclude the SMP tests from the primary "vmx" testcasesSean Christopherson1-1/+1
2019-02-14KVM: nVMX: Drop the SMP configuration of the ST APIC passthrough testSean Christopherson1-7/+0
2019-02-14KVM: nVMX: Drop testcases that are redundant with the primary VMX testcaseSean Christopherson1-252/+0
2019-02-14KVM: nVMX: Exclude the VMCS shadowing test from the "vmx" testcaseSean Christopherson1-1/+1
2019-02-14KVM: nVMX: Drop the bogus SMP requirement from VMCS shadowing testSean Christopherson1-1/+0
2019-02-14KVM: nVMX: Drop the bogus 2gb requirement from the shadow VMCS testSean Christopherson1-1/+1
2019-02-14KVM: nVMX: Drop the bogus 2gb requirement from the "vmx" testcaseSean Christopherson1-1/+1
2019-02-14KVM: nVMX: Exclude the EPT access tests from the VMX testcaseSean Christopherson1-1/+1
2019-02-14KVM: x86/config: Consolidate EPT access tests into a single testSean Christopherson1-120/+6
2019-02-14KVM: nVMX: Properly configured unrestricted guest for event injectionSean Christopherson2-21/+29
2019-02-14KVM: nVMX: Add enable_ept() helper to configure legal EPTPSean Christopherson1-19/+32
2019-02-14KVM: nVMX: Remove redundant masking with allowed exec controls maskSean Christopherson1-9/+2
2019-02-14x86: vmx: fix required alignment for posted interrupt descriptorPaolo Bonzini1-1/+1
2019-02-14x86: vmx: add test for CVE-2019-7221Paolo Bonzini1-0/+47
2019-01-30scripts: add option to output in TAP formatSergey Bronnikov2-11/+58
2019-01-30scripts: Speedup MAX_SMP checkChristoffer Dall1-1/+1
2019-01-25KVM: nVMX: Use host_phys_bits for EPT tests that require 40+ PA bitsSean Christopherson1-20/+20
2019-01-25If "enable EPT" is enabled in a test, EPT pointer must also be set upKrish Sadhukhan1-0/+2
2019-01-25Merge tag 's390x-2019-01-21' of https://gitlab.com/huth/kvm-unit-tests into HEADPaolo Bonzini9-95/+232
2019-01-25Check VM-entry MSR-load address on vmentry of L2 guestsKrish Sadhukhan1-0/+68
2019-01-25vmlaunch_succeeds() needs to check failure of VM-entry MSR-loadKrish Sadhukhan1-2/+5
2019-01-21s390x: Initialize the physical allocator on mem initJanosch Frank1-0/+9
2019-01-21s390x: Add binary generation to makefileJanosch Frank1-2/+7
2019-01-21s390x: Move common sclp data and functions to sclp.cJanosch Frank3-21/+21
2019-01-21s390x: Add BSS clearing for non ELF bootJanosch Frank2-2/+22
2019-01-21s390x: Switch to z/Arch and enable 64 bit addressing modeJanosch Frank1-0/+11
2019-01-21s390x: Make tests bootable from diskJanosch Frank3-3/+20
2019-01-21s390x: Rename and cleanup sclp-ascii.cJanosch Frank4-22/+22
2019-01-21s390x: Add Sigp header fileJanosch Frank2-10/+61
2019-01-21s390x: try !FORCE SCLP read SCP info if FORCED is unknownDavid Hildenbrand1-2/+21