- Feb 01, 2022
-
-
Signed-off-by:
Alex Bennée <alex.bennee@linaro.org> Acked-by:
Andrew Jones <drjones@redhat.com> Message-Id: <20211202115352.951548-2-alex.bennee@linaro.org> Acked-by:
Thomas Huth <thuth@redhat.com> Signed-off-by:
Andrew Jones <drjones@redhat.com>
-
- Jan 18, 2022
-
-
Thomas Huth authored
Instead of failing the tests, we should rather skip them if ncat is not available. While we're at it, also mention ncat in the README.md file as a requirement for the migration tests. Resolves: https://gitlab.com/kvm-unit-tests/kvm-unit-tests/-/issues/4 Signed-off-by:
Thomas Huth <thuth@redhat.com> Message-Id: <20211221092130.444225-1-thuth@redhat.com> Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com>
-
- Nov 26, 2021
-
-
Andrew Jones authored
As specified in the comment blocks at the tops of the unittests.cfg files, multiple groups assigned to 'groups' should be space separated. Currently any nonword character works for the deliminator, but the implementation may change. Stick to the specs. Signed-off-by:
Andrew Jones <drjones@redhat.com> Message-Id: <20211112133739.103327-2-drjones@redhat.com> Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com>
-
- Oct 31, 2021
-
-
Zixuan Wang authored
This commit provides initial support for x86 test cases to boot from UEFI: 1. UEFI compiler flags are added to Makefile 2. A new TARGET_EFI macro is added to turn on/off UEFI startup code 3. Previous Multiboot setup code is refactored and updated for supporting UEFI, including the following changes: 1. x86/efi/crt0-efi-x86_64.S: provides entry point and jumps to setup code in lib/efi.c. 2. lib/efi.c: performs UEFI setup, calls arch-related setup functions, then jumps to test case main() function 3. lib/x86/setup.c: provides arch-related setup under UEFI To build test cases for UEFI, please first install the GNU-EFI library. Check x86/efi/README.md for more details. This commit is tested by a simple test calling report() and report_summayr(). This commit does not include such a test to avoid unnecessary files added into git history. To build and run this test in UEFI (assuming file name is x86/dummy.c): ./configure --target-efi make x86/dummy.efi ./x86/efi/run ./x86/dummy.efi To use the default Multiboot instead of UEFI: ./configure make x86/dummy.flat ./x86/run ./x86/dummy.flat Some x86 test cases require additional fixes to work in UEFI, e.g., converting to position independent code (PIC), setting up page tables, etc. This commit does not provide these fixes, so compiling and running UEFI test cases other than x86/dummy.c may trigger compiler errors or QEMU crashes. These test cases will be fixed by the follow-up commits in this series. The following code is ported from github.com/rhdrjones/kvm-unit-tests - ./configure: 'target-efi'-related code See original code: - Repo: https://github.com/rhdrjones/kvm-unit-tests - Branch: target-efi Co-developed-by:
Varad Gautam <varad.gautam@suse.com> Signed-off-by:
Varad Gautam <varad.gautam@suse.com> Signed-off-by:
Zixuan Wang <zixuanwang@google.com> Message-Id: <20211004204931.1537823-6-zxwang42@gmail.com> Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com>
-
- Jul 22, 2021
-
-
Cornelia Huck authored
Fixes: 844669a9 ("README.md: add guideline for header guards format") Reported-by:
Andrew Jones <drjones@redhat.com> Signed-off-by:
Cornelia Huck <cohuck@redhat.com> Reviewed-by:
Thomas Huth <thuth@redhat.com> Message-Id: <20210614100151.123622-1-cohuck@redhat.com> Signed-off-by:
Thomas Huth <thuth@redhat.com>
-
- Jun 10, 2021
-
-
Cornelia Huck authored
Signed-off-by:
Cornelia Huck <cohuck@redhat.com> Reviewed-by:
David Hildenbrand <david@redhat.com> Reviewed-by:
Laurent Vivier <lvivier@redhat.com> Message-Id: <20210609143712.60933-2-cohuck@redhat.com>
-
- Sep 28, 2020
-
-
Marc Hartmayer authored
This is necessary to keep architecture dependent code separate from common code. Reviewed-by:
Andrew Jones <drjones@redhat.com> Reviewed-by:
Cornelia Huck <cohuck@redhat.com> Reviewed-by:
David Hildenbrand <david@redhat.com> Signed-off-by:
Marc Hartmayer <mhartmay@linux.ibm.com> Message-Id: <20200923134758.19354-3-mhartmay@linux.ibm.com> Signed-off-by:
Thomas Huth <thuth@redhat.com>
-
- May 18, 2020
-
-
Roman Bolshakov authored
While at it, mention that hvf is a valid accel parameter. Cc: Cameron Esfahani <dirty@apple.com> Signed-off-by:
Roman Bolshakov <r.bolshakov@yadro.com> Reviewed-by:
Cameron Esfahani <dirty@apple.com> Message-Id: <20200320145541.38578-3-r.bolshakov@yadro.com> Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com>
-
- Jan 21, 2020
-
-
Wainer dos Santos Moschetta authored
The 'Guarding unsafe tests' section mention the unittests.cfg file which was never introduced before. In this change it was added a section with a few words about the tests configuration file (unittests.cfg). Signed-off-by:
Wainer dos Santos Moschetta <wainersm@redhat.com> Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com>
-
Wainer dos Santos Moschetta authored
There are formatting issues that prevent README.md from being rendered correctly in a browser. This patch fixes the following categories of issues: - blocks which aren't indented correctly; - texts wrapped in <> which need escape, or be replaced with another thing. Also some inline commands are marked with ``. Signed-off-by:
Wainer dos Santos Moschetta <wainersm@redhat.com> Reviewed-by:
Andrew Jones <drjones@redhat.com> Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com>
-
- Nov 26, 2018
-
-
Paolo Bonzini authored
Suggested-by:
Luiz Capitulino <lcapitulino@redhat.com> Reviewed-by:
Luiz Capitulino <lcapitulino@redhat.com> Reviewed-by:
David Hildenbrand <david@redhat.com> Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com>
-
- Jun 13, 2017
-
-
Andrew Jones authored
Signed-off-by:
Andrew Jones <drjones@redhat.com> Reviewed-by:
Laurent Vivier <lvivier@redhat.com> Signed-off-by:
Radim Krčmář <rkrcmar@redhat.com>
-
- Jun 02, 2017
-
-
Andrew Jones authored
I like the good ol' days of teletypes, but not that much... Signed-off-by:
Andrew Jones <drjones@redhat.com> Signed-off-by:
Radim Krčmář <rkrcmar@redhat.com>
-
- Mar 02, 2017
-
-
Andrew Jones authored
Signed-off-by:
Andrew Jones <drjones@redhat.com> Signed-off-by:
Radim Krčmář <rkrcmar@redhat.com>
-
- Jan 12, 2017
-
-
Andrew Jones authored
It's helpful to have a common order of file types in patches. Applying git-diff's orderFile feature allows us to do that. Just do 'git config diff.orderFile scripts/git.difforder' to enable it. Acked-by:
Radim Krčmář <rkrcmar@redhat.com> Signed-off-by:
Andrew Jones <drjones@redhat.com> Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com>
-
Alex Bennée authored
This allows a slightly nicer formatting of the text when displayed on some repository hosts. We keep a symlink from README for the old-school purists. Signed-off-by:
Alex Bennée <alex.bennee@linaro.org> Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com>
-
- Feb 18, 2016
-
-
Andrew Jones authored
Move the config/config-*.mak files to their own directories and rename to Makefile.* README is also updated to reflect the change, as well as to remove an optimistic reference to a non-existent docs directory. Signed-off-by:
Andrew Jones <drjones@redhat.com> Reviewed-by:
David Gibson <david@gibson.dropbear.id.au>
-
- Nov 10, 2015
-
-
Alex Bennée authored
Signed-off-by:
Alex Bennée <alex.bennee@linaro.org> Reviewed-by:
Andrew Jones <drjones@redhat.com> Message-Id: <1446769483-21586-7-git-send-email-drjones@redhat.com> Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com>
-
Andrew Jones authored
Signed-off-by:
Andrew Jones <drjones@redhat.com> Message-Id: <1446769483-21586-6-git-send-email-drjones@redhat.com> Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com>
-
- Jul 30, 2015
-
-
Andrew Jones authored
Signed-off-by:
Andrew Jones <drjones@redhat.com> Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com>
-
- Jun 16, 2014
-
-
Andrew Jones authored
Remove all references to x86 from the root dir (except from in configure). Also remove references from the root dir README by moving that documentation to the x86/README, and touch up the READMEs at the same time. Signed-off-by:
Andrew Jones <drjones@redhat.com> Acked-by:
Christoffer Dall <christoffer.dall@linaro.org> [Drop --test-dir, adjust includes. - Paolo] Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com>
-
- Feb 26, 2014
-
-
Luiz Capitulino authored
I got a report of someone trying to run tests with a large amount of RAM (4GB), which broke the guest as free_memory() function (called by setup_vm()) will override the PCI hole. Let's document memory constraints so that people don't do that. Signed-off-by:
Luiz Capitulino <lcapitulino@redhat.com> Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com>
-
- Mar 04, 2013
-
-
Michael S. Tsirkin authored
Add documentation about using qemu-system for unit tests. Add runner script to select the correct binary and flags. Signed-off-by:
Michael S. Tsirkin <mst@redhat.com> Signed-off-by:
Marcelo Tosatti <mtosatti@redhat.com>
-
- Oct 10, 2011
-
-
Liu, Jinsong authored
Tests now use the serial port for output. Signed-off-by:
Liu, Jinsong <jinsong.liu@intel.com> Signed-off-by:
Avi Kivity <avi@redhat.com>
-
- Aug 26, 2010
-
-
Jason Wang authored
Signed-off-by:
Jason Wang <jasowang@redhat.com> Signed-off-by:
Marcelo Tosatti <mtosatti@redhat.com>
-
- Aug 03, 2010
-
-
Avi Kivity authored
Signed-off-by:
Avi Kivity <avi@redhat.com>
-