summary refs log tree commit diff stats
path: root/tests/functional/x86_64 (follow)
Commit message (Collapse)AuthorAgeFilesLines
* tests/functional: Adapt arches to reverse_debugging w/o AvocadoGustavo Romero2025-10-071-10/+5
| | | | | | | | | | | | | reverse_debugging no longer depends on Avocado, so remove the import checks for Avocado, the per-arch endianness tweaks, and the per-arch register settings. All of these are now handled in the ReverseDebugging class, automatically. Reviewed-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Signed-off-by: Gustavo Romero <gustavo.romero@linaro.org> Message-ID: <20251003141820.85278-10-gustavo.romero@linaro.org> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
* tests/functional: add a vfio-user smoke testMark Cave-Ayland2025-09-252-0/+202
| | | | | | | | | | | Add a basic test of the vfio-user PCI client implementation. Co-authored-by: John Levon <john.levon@nutanix.com> Signed-off-by: Mark Cave-Ayland <mark.caveayland@nutanix.com> Signed-off-by: John Levon <john.levon@nutanix.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Link: https://lore.kernel.org/qemu-devel/20250911210905.2070474-1-john.levon@nutanix.com Signed-off-by: Cédric Le Goater <clg@redhat.com>
* tests/functional: use self.log for all loggingDaniel P. Berrangé2025-09-241-16/+15
| | | | | | | | | | Some tests are creating their on logger category which means any output they log is not captured in base.log. Signed-off-by: Daniel P. Berrangé <berrange@redhat.com> [thuth: drop changes to reverse_debugging.py (it's WIP in other patches)] Message-ID: <20250912182200.643909-7-berrange@redhat.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
* tests/functional: Use vmstate-static-checker.py to test data from v7.2Thomas Huth2025-09-241-1/+2
| | | | | | | | | | | | | | | We've got this nice vmstate-static-checker.py script that can help to detect screw-ups in the migration states. Unfortunately, it's currently only run manually, which can be cumbersome. Let's run it from a functional test automatically with the reference data from QEMU 7.2, so that we get at least a basic coverage here. Since the test can fail when the checker script detects a false positive, mark the test with a skipFlakyTest decorator for now, so that it is only run when the user also set the QEMU_TEST_FLAKY_TESTS environment variable. Acked-by: Fabiano Rosas <farosas@suse.de> Signed-off-by: Thomas Huth <thuth@redhat.com> Message-ID: <20250912100755.316518-5-thuth@redhat.com>
* tests/functional: Test whether the vmstate-static-checker script works fineThomas Huth2025-09-242-0/+59
| | | | | | | | | | | We've got two vmstate dump files in the repository which are meant for verifying whether the vmstate-static-checker.py works as expected. Since running this manually is a cumbersome job, let's add an automated test for this instead that runs the script with the two dump files and checks for the expected output. Signed-off-by: Thomas Huth <thuth@redhat.com> Message-ID: <20250912100755.316518-3-thuth@redhat.com>
* tests/functional/x86_64: Accept a few locked pages in test_memlock.pyRichard Henderson2025-09-161-1/+2
| | | | | | | | | Startup of libgcrypt locks a small pool of pages -- by default 16k. Testing for zero locked pages is isn't correct, while testing for 32k is a decent compromise. Reviewed-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
* tests/functional: Move the generic tests to a subfolderThomas Huth2025-08-271-1/+0
| | | | | | | | | | This also removes the line for using tests from the main folder since we do not have any tests left here. And while we're at it, also mark the vnc test as generic now since it is not specific to x86. Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Signed-off-by: Thomas Huth <thuth@redhat.com> Message-ID: <20250819112403.432587-25-thuth@redhat.com>
* tests/functional: Move x86_64 tests into target-specific folderThomas Huth2025-08-2721-0/+2465
The tests/functional folder has become quite crowded, thus move the x86_64 tests into a target-specific subfolder. Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Signed-off-by: Thomas Huth <thuth@redhat.com> Message-ID: <20250819112403.432587-23-thuth@redhat.com>