[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v3 03/17] tests/migration: Disambiguate guestperf vs. a-b
From: |
Fabiano Rosas |
Subject: |
Re: [PATCH v3 03/17] tests/migration: Disambiguate guestperf vs. a-b |
Date: |
Fri, 29 Nov 2024 10:19:36 -0300 |
Fabiano Rosas <farosas@suse.de> writes:
> The current build structure for migration tests is confusing. There is
> the tests/migration directory, which contains two different guest code
> implementations, one for the qtests (a-b-{bootblock|kernel}.S) and
> another for the guestperf script (stress.c). One uses a Makefile,
> while the other uses meson.
>
> The next patches will add a new qtests/migration/ directory to hold
> qtest code which will make the situation even more confusing.
>
> Move the guest code used by qtests into a new qtests/migration/
> directory and rename the old one to tests/migration-stress.
>
> Reviewed-by: Peter Xu <peterx@redhat.com>
> Signed-off-by: Fabiano Rosas <farosas@suse.de>
Please squash this in:
-->8--
>From 9f8a693e31be198e1e052d86be99ffaaa0a3e8a8 Mon Sep 17 00:00:00 2001
From: Fabiano Rosas <farosas@suse.de>
Date: Fri, 29 Nov 2024 10:05:21 -0300
Subject: [PATCH] fixup! tests/migration: Disambiguate guestperf vs. a-b
---
tests/migration-stress/guestperf/shell.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tests/migration-stress/guestperf/shell.py
b/tests/migration-stress/guestperf/shell.py
index c85d89efec..046afeb84e 100644
--- a/tests/migration-stress/guestperf/shell.py
+++ b/tests/migration-stress/guestperf/shell.py
@@ -46,7 +46,8 @@ def __init__(self):
parser.add_argument("--binary", dest="binary",
default="/usr/bin/qemu-system-x86_64")
parser.add_argument("--dst-host", dest="dst_host", default="localhost")
parser.add_argument("--kernel", dest="kernel",
default="/boot/vmlinuz-%s" % platform.release())
- parser.add_argument("--initrd", dest="initrd",
default="tests/migration/initrd-stress.img")
+ parser.add_argument("--initrd", dest="initrd",
+ default="tests/migration-stress/initrd-stress.img")
parser.add_argument("--transport", dest="transport", default="unix")
--
2.35.3
- [PATCH v3 00/17] tests/qtest: migration-test refactoring, Fabiano Rosas, 2024/11/27
- [PATCH v3 03/17] tests/migration: Disambiguate guestperf vs. a-b, Fabiano Rosas, 2024/11/27
- Re: [PATCH v3 03/17] tests/migration: Disambiguate guestperf vs. a-b,
Fabiano Rosas <=
- [PATCH v3 02/17] tests/qtest/migration: Stop calling everything "test", Fabiano Rosas, 2024/11/27
- [PATCH v3 01/17] tests/qtest/migration: Standardize hook names, Fabiano Rosas, 2024/11/27
- [PATCH v3 04/17] tests/qtest/migration: Move bootfile code to its own file, Fabiano Rosas, 2024/11/27
- [PATCH v3 06/17] tests/qtest/migration: Rename migration-helpers.c, Fabiano Rosas, 2024/11/27
- [PATCH v3 05/17] tests/qtest/migration: Move qmp helpers to a separate file, Fabiano Rosas, 2024/11/27
- [PATCH v3 08/17] tests/qtest/migration: Move kvm_dirty_ring_supported to utils, Fabiano Rosas, 2024/11/27
- [PATCH v3 07/17] tests/qtest/migration: Move ufd_version_check to utils, Fabiano Rosas, 2024/11/27
- [PATCH v3 09/17] tests/qtest/migration: Isolate test initialization, Fabiano Rosas, 2024/11/27
- [PATCH v3 10/17] tests/qtest/migration: Move common test code, Fabiano Rosas, 2024/11/27
- [PATCH v3 13/17] tests/qtest/migration: Split postcopy tests, Fabiano Rosas, 2024/11/27