* [PATCH 00/20] testing/next: functional tests and qtest timers
@ 2024-12-10 20:43 Alex Bennée
2024-12-10 20:43 ` [PATCH 01/20] tests/functional: update the arm tuxrun tests Alex Bennée
` (19 more replies)
0 siblings, 20 replies; 37+ messages in thread
From: Alex Bennée @ 2024-12-10 20:43 UTC (permalink / raw)
To: qemu-devel
Cc: Daniel Henrique Barboza, qemu-s390x, Halil Pasic, Jiaxun Yang,
Weiwei Li, Liu Zhiwei, Cleber Rosa, Palmer Dabbelt, Leif Lindholm,
Eric Farman, Marc-André Lureau, John Snow,
Philippe Mathieu-Daudé, Harsh Prateek Bora, Aurelien Jarno,
Paolo Bonzini, Joel Stanley, Bernhard Beschow, qemu-ppc,
qemu-riscv, Daniel Henrique Barboza, Thomas Huth, Laurent Vivier,
qemu-arm, Wainer dos Santos Moschetta, Fabiano Rosas,
Markus Armbruster, Bin Meng, Pavel Dovgalyuk, Marcel Apfelbaum,
Richard Henderson, Marcin Juszkiewicz, Christian Borntraeger,
Beraldo Leal, Peter Maydell, Radoslaw Biernacki,
Daniel P. Berrangé, Alex Bennée, Nicholas Piggin,
Mark Cave-Ayland, Michael S. Tsirkin, Alistair Francis
There are two parts to this series. The first is the updated images
for all the guests that didn't make it into 9.2. There are also some
new functional tests for virtio-gpu along with some other clean-ups.
The qtest patches focus on ensuring things calling clock_step and
clock_set actually pay attention to return values. Currently only the
virtio tests needed a little re-jigging although arguably the timeout
loops aren't needed at all.
Please review:
tests/functional: extend test_aarch64_virt with vulkan test
tests/functional: remove hacky sleep from the tests
system/qtest: properly feedback results of clock_[step|set]
tests/qtest: move clock_steps to after checks
util/qemu-timer: fix indentation
Alex.
Alex Bennée (19):
tests/functional: update the arm tuxrun tests
tests/functional: update the i386 tuxrun tests
tests/functional: add a m68k tuxrun tests
tests/functional: update the mips32 tuxrun tests
tests/functional: update the mips32el tuxrun tests
tests/functional: update the mips64 tuxrun tests
tests/functional: update the mips64el tuxrun tests
tests/functional: update the ppc32 tuxrun tests
tests/functional: update the ppc64 tuxrun tests
tests/functional: update the riscv32 tuxrun tests
tests/functional: update the riscv64 tuxrun tests
tests/functional: update the s390x tuxrun tests
tests/functional: update the sparc64 tuxrun tests
tests/functional: update the x86_64 tuxrun tests
util/qemu-timer: fix indentation
tests/qtest: move clock_steps to after checks
system/qtest: properly feedback results of clock_[step|set]
tests/functional: remove hacky sleep from the tests
tests/functional: extend test_aarch64_virt with vulkan test
Pierrick Bouvier (1):
tests/functional/aarch64: add tests for FEAT_RME
system/qtest.c | 23 ++--
tests/qtest/libqos/virtio.c | 6 +-
util/qemu-timer.c | 2 +-
tests/functional/meson.build | 5 +
tests/functional/test_aarch64_rme_sbsaref.py | 70 +++++++++++++
tests/functional/test_aarch64_rme_virt.py | 100 ++++++++++++++++++
tests/functional/test_aarch64_virt.py | 105 ++++++++++++++++---
tests/functional/test_arm_tuxrun.py | 28 ++---
tests/functional/test_i386_tuxrun.py | 8 +-
tests/functional/test_m68k_tuxrun.py | 34 ++++++
tests/functional/test_mips64_tuxrun.py | 8 +-
tests/functional/test_mips64el_tuxrun.py | 8 +-
tests/functional/test_mips_tuxrun.py | 8 +-
tests/functional/test_mipsel_tuxrun.py | 8 +-
tests/functional/test_ppc64_tuxrun.py | 16 +--
tests/functional/test_ppc_tuxrun.py | 8 +-
tests/functional/test_riscv32_tuxrun.py | 8 +-
tests/functional/test_riscv64_tuxrun.py | 16 +--
tests/functional/test_s390x_tuxrun.py | 8 +-
tests/functional/test_sparc64_tuxrun.py | 8 +-
tests/functional/test_x86_64_tuxrun.py | 8 +-
21 files changed, 387 insertions(+), 98 deletions(-)
create mode 100755 tests/functional/test_aarch64_rme_sbsaref.py
create mode 100755 tests/functional/test_aarch64_rme_virt.py
create mode 100644 tests/functional/test_m68k_tuxrun.py
--
2.39.5
^ permalink raw reply [flat|nested] 37+ messages in thread
* [PATCH 01/20] tests/functional: update the arm tuxrun tests
2024-12-10 20:43 [PATCH 00/20] testing/next: functional tests and qtest timers Alex Bennée
@ 2024-12-10 20:43 ` Alex Bennée
2024-12-10 20:43 ` [PATCH 02/20] tests/functional: update the i386 " Alex Bennée
` (18 subsequent siblings)
19 siblings, 0 replies; 37+ messages in thread
From: Alex Bennée @ 2024-12-10 20:43 UTC (permalink / raw)
To: qemu-devel
Cc: Daniel Henrique Barboza, qemu-s390x, Halil Pasic, Jiaxun Yang,
Weiwei Li, Liu Zhiwei, Cleber Rosa, Palmer Dabbelt, Leif Lindholm,
Eric Farman, Marc-André Lureau, John Snow,
Philippe Mathieu-Daudé, Harsh Prateek Bora, Aurelien Jarno,
Paolo Bonzini, Joel Stanley, Bernhard Beschow, qemu-ppc,
qemu-riscv, Daniel Henrique Barboza, Thomas Huth, Laurent Vivier,
qemu-arm, Wainer dos Santos Moschetta, Fabiano Rosas,
Markus Armbruster, Bin Meng, Pavel Dovgalyuk, Marcel Apfelbaum,
Richard Henderson, Marcin Juszkiewicz, Christian Borntraeger,
Beraldo Leal, Peter Maydell, Radoslaw Biernacki,
Daniel P. Berrangé, Alex Bennée, Nicholas Piggin,
Mark Cave-Ayland, Michael S. Tsirkin, Alistair Francis,
Anders Roxell
Now there are new up to date images available we should update to them.
Cc: Anders Roxell <anders.roxell@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Tested-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20241121165806.476008-21-alex.bennee@linaro.org>
---
tests/functional/test_arm_tuxrun.py | 28 ++++++++++++++--------------
1 file changed, 14 insertions(+), 14 deletions(-)
diff --git a/tests/functional/test_arm_tuxrun.py b/tests/functional/test_arm_tuxrun.py
index 944f0756e1..4ac85f48ac 100755
--- a/tests/functional/test_arm_tuxrun.py
+++ b/tests/functional/test_arm_tuxrun.py
@@ -17,14 +17,14 @@
class TuxRunArmTest(TuxRunBaselineTest):
ASSET_ARMV5_KERNEL = Asset(
- 'https://storage.tuxboot.com/20230331/armv5/zImage',
- 'c95af2f27647c12265d75e9df44c22ff5228c59855f54aaa70f41ec2842e3a4d')
+ 'https://storage.tuxboot.com/buildroot/20241119/armv5/zImage',
+ '3931a3908dbcf0ec0fe292d035ffc4dfed95f797dedd4a59ccfcf7a46e6f92d4')
ASSET_ARMV5_ROOTFS = Asset(
- 'https://storage.tuxboot.com/20230331/armv5/rootfs.ext4.zst',
- '17177afa74e7294da0642861f08c88ca3c836764299a54bf6d1ce276cb9712a5')
+ 'https://storage.tuxboot.com/buildroot/20241119/armv5/rootfs.ext4.zst',
+ '60ff78b68c7021df378e4fc2d66d3b016484d1acc7e07fb8920c1d8e30f4571f')
ASSET_ARMV5_DTB = Asset(
- 'https://storage.tuxboot.com/20230331/armv5/versatile-pb.dtb',
- '0bc0c0b0858cefd3c32b385c0d66d97142ded29472a496f4f490e42fc7615b25')
+ 'https://storage.tuxboot.com/buildroot/20241119/armv5/versatile-pb.dtb',
+ '50988e69ef3f3b08bfb9146e8fe414129990029e8dfbed444953b7e14809530a')
def test_armv5(self):
self.set_machine('versatilepb')
@@ -37,11 +37,11 @@ def test_armv5(self):
drive="virtio-blk-pci")
ASSET_ARMV7_KERNEL = Asset(
- 'https://storage.tuxboot.com/20230331/armv7/zImage',
- '4c7a22e9f15875bec06bd2a29d822496571eb297d4f22694099ffcdb19077572')
+ 'https://storage.tuxboot.com/buildroot/20241119/armv7/zImage',
+ '1377bc3d90de5ce57ab17cd67429fe8b15c2e9964248c775c682b67e6299b991')
ASSET_ARMV7_ROOTFS = Asset(
- 'https://storage.tuxboot.com/20230331/armv7/rootfs.ext4.zst',
- 'ab1fbbeaddda1ffdd45c9405a28cd5370c20f23a7cbc809cc90dc9f243a8eb5a')
+ 'https://storage.tuxboot.com/buildroot/20241119/armv7/rootfs.ext4.zst',
+ 'ed2cbc69bd6b3fbd5cafb5ee961393c7cfbe726446f14301c67d6b1f28bfdb51')
def test_armv7(self):
self.set_machine('virt')
@@ -52,11 +52,11 @@ def test_armv7(self):
rootfs_asset=self.ASSET_ARMV7_ROOTFS)
ASSET_ARMV7BE_KERNEL = Asset(
- 'https://storage.tuxboot.com/20230331/armv7be/zImage',
- '7facc62082b57af12015b08f7fdbaf2f123ba07a478367853ae12b219afc9f2f')
+ 'https://storage.tuxboot.com/buildroot/20241119/armv7be/zImage',
+ 'a244e6da99f1bbd254827ec7681bd4aac9eb1aa05aaebc6b15e5d289ebb683f3')
ASSET_ARMV7BE_ROOTFS = Asset(
- 'https://storage.tuxboot.com/20230331/armv7be/rootfs.ext4.zst',
- '42ed46dd2d59986206c5b1f6cf35eab58fe3fd20c96b41aaa16b32f3f90a9835')
+ 'https://storage.tuxboot.com/buildroot/20241119/armv7be/rootfs.ext4.zst',
+ 'd4f9c57860a512163f30ecc69b2174d1a1bdeb853a43dc49a09cfcfe84e428ea')
def test_armv7be(self):
self.set_machine('virt')
--
2.39.5
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [PATCH 02/20] tests/functional: update the i386 tuxrun tests
2024-12-10 20:43 [PATCH 00/20] testing/next: functional tests and qtest timers Alex Bennée
2024-12-10 20:43 ` [PATCH 01/20] tests/functional: update the arm tuxrun tests Alex Bennée
@ 2024-12-10 20:43 ` Alex Bennée
2024-12-10 20:43 ` [PATCH 03/20] tests/functional: add a m68k " Alex Bennée
` (17 subsequent siblings)
19 siblings, 0 replies; 37+ messages in thread
From: Alex Bennée @ 2024-12-10 20:43 UTC (permalink / raw)
To: qemu-devel
Cc: Daniel Henrique Barboza, qemu-s390x, Halil Pasic, Jiaxun Yang,
Weiwei Li, Liu Zhiwei, Cleber Rosa, Palmer Dabbelt, Leif Lindholm,
Eric Farman, Marc-André Lureau, John Snow,
Philippe Mathieu-Daudé, Harsh Prateek Bora, Aurelien Jarno,
Paolo Bonzini, Joel Stanley, Bernhard Beschow, qemu-ppc,
qemu-riscv, Daniel Henrique Barboza, Thomas Huth, Laurent Vivier,
qemu-arm, Wainer dos Santos Moschetta, Fabiano Rosas,
Markus Armbruster, Bin Meng, Pavel Dovgalyuk, Marcel Apfelbaum,
Richard Henderson, Marcin Juszkiewicz, Christian Borntraeger,
Beraldo Leal, Peter Maydell, Radoslaw Biernacki,
Daniel P. Berrangé, Alex Bennée, Nicholas Piggin,
Mark Cave-Ayland, Michael S. Tsirkin, Alistair Francis,
Anders Roxell
Now there are new up to date images available we should update to them.
Cc: Anders Roxell <anders.roxell@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Tested-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20241121165806.476008-23-alex.bennee@linaro.org>
---
tests/functional/test_i386_tuxrun.py | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/tests/functional/test_i386_tuxrun.py b/tests/functional/test_i386_tuxrun.py
index c593ffbe8c..f3ccf11ae8 100755
--- a/tests/functional/test_i386_tuxrun.py
+++ b/tests/functional/test_i386_tuxrun.py
@@ -17,11 +17,11 @@
class TuxRunI386Test(TuxRunBaselineTest):
ASSET_I386_KERNEL = Asset(
- 'https://storage.tuxboot.com/20230331/i386/bzImage',
- 'a3e5b32a354729e65910f5a1ffcda7c14a6c12a55e8213fb86e277f1b76ed956')
+ 'https://storage.tuxboot.com/buildroot/20241119/i386/bzImage',
+ '47fb44e38e34101eb0f71a2a01742b959d40ed5fd67cefb5608a39be11d3b74e')
ASSET_I386_ROOTFS = Asset(
- 'https://storage.tuxboot.com/20230331/i386/rootfs.ext4.zst',
- 'f15e66b2bf673a210ec2a4b2e744a80530b36289e04f5388aab812b97f69754a')
+ 'https://storage.tuxboot.com/buildroot/20241119/i386/rootfs.ext4.zst',
+ 'a1a3b3b4c9dccd6475b58db95c107b468b736b700f6620985a8ed050a73d51c8')
def test_i386(self):
self.set_machine('q35')
--
2.39.5
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [PATCH 03/20] tests/functional: add a m68k tuxrun tests
2024-12-10 20:43 [PATCH 00/20] testing/next: functional tests and qtest timers Alex Bennée
2024-12-10 20:43 ` [PATCH 01/20] tests/functional: update the arm tuxrun tests Alex Bennée
2024-12-10 20:43 ` [PATCH 02/20] tests/functional: update the i386 " Alex Bennée
@ 2024-12-10 20:43 ` Alex Bennée
2024-12-10 20:43 ` [PATCH 04/20] tests/functional: update the mips32 " Alex Bennée
` (16 subsequent siblings)
19 siblings, 0 replies; 37+ messages in thread
From: Alex Bennée @ 2024-12-10 20:43 UTC (permalink / raw)
To: qemu-devel
Cc: Daniel Henrique Barboza, qemu-s390x, Halil Pasic, Jiaxun Yang,
Weiwei Li, Liu Zhiwei, Cleber Rosa, Palmer Dabbelt, Leif Lindholm,
Eric Farman, Marc-André Lureau, John Snow,
Philippe Mathieu-Daudé, Harsh Prateek Bora, Aurelien Jarno,
Paolo Bonzini, Joel Stanley, Bernhard Beschow, qemu-ppc,
qemu-riscv, Daniel Henrique Barboza, Thomas Huth, Laurent Vivier,
qemu-arm, Wainer dos Santos Moschetta, Fabiano Rosas,
Markus Armbruster, Bin Meng, Pavel Dovgalyuk, Marcel Apfelbaum,
Richard Henderson, Marcin Juszkiewicz, Christian Borntraeger,
Beraldo Leal, Peter Maydell, Radoslaw Biernacki,
Daniel P. Berrangé, Alex Bennée, Nicholas Piggin,
Mark Cave-Ayland, Michael S. Tsirkin, Alistair Francis,
Laurent Vivier, Anders Roxell
We didn't have this before and as it exercises the m68k virt platform
it seems worth adding. We don't wait for the shutdown because QEMU
will auto-exit on the shutdown.
Cc: Laurent Vivier <laurent@vivier.eu>
Cc: Anders Roxell <anders.roxell@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20241121165806.476008-24-alex.bennee@linaro.org>
---
tests/functional/meson.build | 1 +
tests/functional/test_m68k_tuxrun.py | 34 ++++++++++++++++++++++++++++
2 files changed, 35 insertions(+)
create mode 100644 tests/functional/test_m68k_tuxrun.py
diff --git a/tests/functional/meson.build b/tests/functional/meson.build
index d6d2c0196c..0a76bd9954 100644
--- a/tests/functional/meson.build
+++ b/tests/functional/meson.build
@@ -97,6 +97,7 @@ tests_m68k_system_thorough = [
'm68k_mcf5208evb',
'm68k_nextcube',
'm68k_q800',
+ 'm68k_tuxrun',
]
tests_microblaze_system_thorough = [
diff --git a/tests/functional/test_m68k_tuxrun.py b/tests/functional/test_m68k_tuxrun.py
new file mode 100644
index 0000000000..7eacba135f
--- /dev/null
+++ b/tests/functional/test_m68k_tuxrun.py
@@ -0,0 +1,34 @@
+#!/usr/bin/env python3
+#
+# Functional test that boots known good tuxboot images the same way
+# that tuxrun (www.tuxrun.org) does. This tool is used by things like
+# the LKFT project to run regression tests on kernels.
+#
+# Copyright (c) 2024 Linaro Ltd.
+#
+# Author:
+# Alex Bennée <alex.bennee@linaro.org>
+#
+# SPDX-License-Identifier: GPL-2.0-or-later
+
+from qemu_test import Asset
+from qemu_test.tuxruntest import TuxRunBaselineTest
+
+class TuxRunM68KTest(TuxRunBaselineTest):
+
+ ASSET_M68K_KERNEL = Asset(
+ 'https://storage.tuxboot.com/buildroot/20241119/m68k/vmlinux',
+ '7754e1d5cec753ccf1dc6894729a7f54c1a4965631ebf56df8e4ce1163ad19d8')
+ ASSET_M68K_ROOTFS = Asset(
+ 'https://storage.tuxboot.com/buildroot/20241119/m68k/rootfs.ext4.zst',
+ '557962ffff265607912e82232cf21adbe0e4e5a88e1e1d411ce848c37f0213e9')
+
+ def test_m68k(self):
+ self.set_machine('virt')
+ self.cpu="m68040"
+ self.common_tuxrun(kernel_asset=self.ASSET_M68K_KERNEL,
+ rootfs_asset=self.ASSET_M68K_ROOTFS,
+ drive="virtio-blk-device")
+
+if __name__ == '__main__':
+ TuxRunBaselineTest.main()
--
2.39.5
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [PATCH 04/20] tests/functional: update the mips32 tuxrun tests
2024-12-10 20:43 [PATCH 00/20] testing/next: functional tests and qtest timers Alex Bennée
` (2 preceding siblings ...)
2024-12-10 20:43 ` [PATCH 03/20] tests/functional: add a m68k " Alex Bennée
@ 2024-12-10 20:43 ` Alex Bennée
2024-12-10 20:43 ` [PATCH 05/20] tests/functional: update the mips32el " Alex Bennée
` (15 subsequent siblings)
19 siblings, 0 replies; 37+ messages in thread
From: Alex Bennée @ 2024-12-10 20:43 UTC (permalink / raw)
To: qemu-devel
Cc: Daniel Henrique Barboza, qemu-s390x, Halil Pasic, Jiaxun Yang,
Weiwei Li, Liu Zhiwei, Cleber Rosa, Palmer Dabbelt, Leif Lindholm,
Eric Farman, Marc-André Lureau, John Snow,
Philippe Mathieu-Daudé, Harsh Prateek Bora, Aurelien Jarno,
Paolo Bonzini, Joel Stanley, Bernhard Beschow, qemu-ppc,
qemu-riscv, Daniel Henrique Barboza, Thomas Huth, Laurent Vivier,
qemu-arm, Wainer dos Santos Moschetta, Fabiano Rosas,
Markus Armbruster, Bin Meng, Pavel Dovgalyuk, Marcel Apfelbaum,
Richard Henderson, Marcin Juszkiewicz, Christian Borntraeger,
Beraldo Leal, Peter Maydell, Radoslaw Biernacki,
Daniel P. Berrangé, Alex Bennée, Nicholas Piggin,
Mark Cave-Ayland, Michael S. Tsirkin, Alistair Francis,
Anders Roxell
Now there are new up to date images available we should update to them.
Cc: Anders Roxell <anders.roxell@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Tested-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20241121165806.476008-25-alex.bennee@linaro.org>
---
tests/functional/test_mips_tuxrun.py | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/tests/functional/test_mips_tuxrun.py b/tests/functional/test_mips_tuxrun.py
index 6fec44c2bf..6771dbd57e 100755
--- a/tests/functional/test_mips_tuxrun.py
+++ b/tests/functional/test_mips_tuxrun.py
@@ -17,11 +17,11 @@
class TuxRunMipsTest(TuxRunBaselineTest):
ASSET_MIPS_KERNEL = Asset(
- 'https://storage.tuxboot.com/20230331/mips32/vmlinux',
- 'bfd2172f8b17fb32970ca0c8c58f59c5a4ca38aa5855d920be3a69b5d16e52f0')
+ 'https://storage.tuxboot.com/buildroot/20241119/mips32/vmlinux',
+ 'b6f97fc698ae8c96456ad8c996c7454228074df0d7520dedd0a15e2913700a19')
ASSET_MIPS_ROOTFS = Asset(
- 'https://storage.tuxboot.com/20230331/mips32/rootfs.ext4.zst',
- 'fc3da0b4c2f38d74c6d705123bb0f633c76ed953128f9d0859378c328a6d11a0')
+ 'https://storage.tuxboot.com/buildroot/20241119/mips32/rootfs.ext4.zst',
+ '87055cf3cbde3fd134e5039e7b87feb03231d8c4b21ee712b8ba3308dfa72f50')
def test_mips32(self):
self.set_machine('malta')
--
2.39.5
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [PATCH 05/20] tests/functional: update the mips32el tuxrun tests
2024-12-10 20:43 [PATCH 00/20] testing/next: functional tests and qtest timers Alex Bennée
` (3 preceding siblings ...)
2024-12-10 20:43 ` [PATCH 04/20] tests/functional: update the mips32 " Alex Bennée
@ 2024-12-10 20:43 ` Alex Bennée
2024-12-10 20:43 ` [PATCH 06/20] tests/functional: update the mips64 " Alex Bennée
` (14 subsequent siblings)
19 siblings, 0 replies; 37+ messages in thread
From: Alex Bennée @ 2024-12-10 20:43 UTC (permalink / raw)
To: qemu-devel
Cc: Daniel Henrique Barboza, qemu-s390x, Halil Pasic, Jiaxun Yang,
Weiwei Li, Liu Zhiwei, Cleber Rosa, Palmer Dabbelt, Leif Lindholm,
Eric Farman, Marc-André Lureau, John Snow,
Philippe Mathieu-Daudé, Harsh Prateek Bora, Aurelien Jarno,
Paolo Bonzini, Joel Stanley, Bernhard Beschow, qemu-ppc,
qemu-riscv, Daniel Henrique Barboza, Thomas Huth, Laurent Vivier,
qemu-arm, Wainer dos Santos Moschetta, Fabiano Rosas,
Markus Armbruster, Bin Meng, Pavel Dovgalyuk, Marcel Apfelbaum,
Richard Henderson, Marcin Juszkiewicz, Christian Borntraeger,
Beraldo Leal, Peter Maydell, Radoslaw Biernacki,
Daniel P. Berrangé, Alex Bennée, Nicholas Piggin,
Mark Cave-Ayland, Michael S. Tsirkin, Alistair Francis,
Anders Roxell
Now there are new up to date images available we should update to them.
Cc: Anders Roxell <anders.roxell@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Tested-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20241121165806.476008-26-alex.bennee@linaro.org>
---
tests/functional/test_mipsel_tuxrun.py | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/tests/functional/test_mipsel_tuxrun.py b/tests/functional/test_mipsel_tuxrun.py
index 2965bbd913..d4b39baab5 100755
--- a/tests/functional/test_mipsel_tuxrun.py
+++ b/tests/functional/test_mipsel_tuxrun.py
@@ -17,11 +17,11 @@
class TuxRunMipsELTest(TuxRunBaselineTest):
ASSET_MIPSEL_KERNEL = Asset(
- 'https://storage.tuxboot.com/20230331/mips32el/vmlinux',
- '8573867c68a8443db8de6d08bb33fb291c189ca2ca671471d3973a3e712096a3')
+ 'https://storage.tuxboot.com/buildroot/20241119/mips32el/vmlinux',
+ '660dd8c7a6ca7a32d37b4e6348865532ab0edb66802e8cc07869338444cf4929')
ASSET_MIPSEL_ROOTFS = Asset(
- 'https://storage.tuxboot.com/20230331/mips32el/rootfs.ext4.zst',
- 'e799768e289fd69209c21f4dacffa11baea7543d5db101e8ce27e3bc2c41d90e')
+ 'https://storage.tuxboot.com/buildroot/20241119/mips32el/rootfs.ext4.zst',
+ 'c5d69542bcaed54a4f34671671eb4be5c608ee02671d4d0436544367816a73b1')
def test_mips32el(self):
self.set_machine('malta')
--
2.39.5
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [PATCH 06/20] tests/functional: update the mips64 tuxrun tests
2024-12-10 20:43 [PATCH 00/20] testing/next: functional tests and qtest timers Alex Bennée
` (4 preceding siblings ...)
2024-12-10 20:43 ` [PATCH 05/20] tests/functional: update the mips32el " Alex Bennée
@ 2024-12-10 20:43 ` Alex Bennée
2024-12-10 20:43 ` [PATCH 07/20] tests/functional: update the mips64el " Alex Bennée
` (13 subsequent siblings)
19 siblings, 0 replies; 37+ messages in thread
From: Alex Bennée @ 2024-12-10 20:43 UTC (permalink / raw)
To: qemu-devel
Cc: Daniel Henrique Barboza, qemu-s390x, Halil Pasic, Jiaxun Yang,
Weiwei Li, Liu Zhiwei, Cleber Rosa, Palmer Dabbelt, Leif Lindholm,
Eric Farman, Marc-André Lureau, John Snow,
Philippe Mathieu-Daudé, Harsh Prateek Bora, Aurelien Jarno,
Paolo Bonzini, Joel Stanley, Bernhard Beschow, qemu-ppc,
qemu-riscv, Daniel Henrique Barboza, Thomas Huth, Laurent Vivier,
qemu-arm, Wainer dos Santos Moschetta, Fabiano Rosas,
Markus Armbruster, Bin Meng, Pavel Dovgalyuk, Marcel Apfelbaum,
Richard Henderson, Marcin Juszkiewicz, Christian Borntraeger,
Beraldo Leal, Peter Maydell, Radoslaw Biernacki,
Daniel P. Berrangé, Alex Bennée, Nicholas Piggin,
Mark Cave-Ayland, Michael S. Tsirkin, Alistair Francis,
Anders Roxell
Now there are new up to date images available we should update to them.
Cc: Anders Roxell <anders.roxell@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Tested-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20241121165806.476008-27-alex.bennee@linaro.org>
---
tests/functional/test_mips64_tuxrun.py | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/tests/functional/test_mips64_tuxrun.py b/tests/functional/test_mips64_tuxrun.py
index 54af1ae794..0e4c65961d 100755
--- a/tests/functional/test_mips64_tuxrun.py
+++ b/tests/functional/test_mips64_tuxrun.py
@@ -17,11 +17,11 @@
class TuxRunMips64Test(TuxRunBaselineTest):
ASSET_MIPS64_KERNEL = Asset(
- 'https://storage.tuxboot.com/20230331/mips64/vmlinux',
- '09010e51e4b8bcbbd2494786ffb48eca78f228e96e5c5438344b0eac4029dc61')
+ 'https://storage.tuxboot.com/buildroot/20241119/mips64/vmlinux',
+ 'fe2882d216898ba2c56b49ba59f46ad392f36871f7fe325373cd926848b9dbdc')
ASSET_MIPS64_ROOTFS = Asset(
- 'https://storage.tuxboot.com/20230331/mips64/rootfs.ext4.zst',
- '69d91eeb04df3d8d172922c6993bb37d4deeb6496def75d8580f6f9de3e431da')
+ 'https://storage.tuxboot.com/buildroot/20241119/mips64/rootfs.ext4.zst',
+ 'b8c98400216b6d4fb3b3ff05e9929aa015948b596cf0b82234813c84a4f7f4d5')
def test_mips64(self):
self.set_machine('malta')
--
2.39.5
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [PATCH 07/20] tests/functional: update the mips64el tuxrun tests
2024-12-10 20:43 [PATCH 00/20] testing/next: functional tests and qtest timers Alex Bennée
` (5 preceding siblings ...)
2024-12-10 20:43 ` [PATCH 06/20] tests/functional: update the mips64 " Alex Bennée
@ 2024-12-10 20:43 ` Alex Bennée
2024-12-10 20:43 ` [PATCH 08/20] tests/functional: update the ppc32 " Alex Bennée
` (12 subsequent siblings)
19 siblings, 0 replies; 37+ messages in thread
From: Alex Bennée @ 2024-12-10 20:43 UTC (permalink / raw)
To: qemu-devel
Cc: Daniel Henrique Barboza, qemu-s390x, Halil Pasic, Jiaxun Yang,
Weiwei Li, Liu Zhiwei, Cleber Rosa, Palmer Dabbelt, Leif Lindholm,
Eric Farman, Marc-André Lureau, John Snow,
Philippe Mathieu-Daudé, Harsh Prateek Bora, Aurelien Jarno,
Paolo Bonzini, Joel Stanley, Bernhard Beschow, qemu-ppc,
qemu-riscv, Daniel Henrique Barboza, Thomas Huth, Laurent Vivier,
qemu-arm, Wainer dos Santos Moschetta, Fabiano Rosas,
Markus Armbruster, Bin Meng, Pavel Dovgalyuk, Marcel Apfelbaum,
Richard Henderson, Marcin Juszkiewicz, Christian Borntraeger,
Beraldo Leal, Peter Maydell, Radoslaw Biernacki,
Daniel P. Berrangé, Alex Bennée, Nicholas Piggin,
Mark Cave-Ayland, Michael S. Tsirkin, Alistair Francis,
Anders Roxell
Now there are new up to date images available we should update to them.
Cc: Anders Roxell <anders.roxell@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Tested-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20241121165806.476008-28-alex.bennee@linaro.org>
---
tests/functional/test_mips64el_tuxrun.py | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/tests/functional/test_mips64el_tuxrun.py b/tests/functional/test_mips64el_tuxrun.py
index 819549a27b..0a24757c51 100755
--- a/tests/functional/test_mips64el_tuxrun.py
+++ b/tests/functional/test_mips64el_tuxrun.py
@@ -17,11 +17,11 @@
class TuxRunMips64ELTest(TuxRunBaselineTest):
ASSET_MIPS64EL_KERNEL = Asset(
- 'https://storage.tuxboot.com/20230331/mips64el/vmlinux',
- 'd4e08965e2155c4cccce7c5f34d18fe34c636cda2f2c9844387d614950155266')
+ 'https://storage.tuxboot.com/buildroot/20241119/mips64el/vmlinux',
+ '0d2829a96f005229839c4cd586d4d8a136ea4b488d29821611c8e97f2266bfa9')
ASSET_MIPS64EL_ROOTFS = Asset(
- 'https://storage.tuxboot.com/20230331/mips64el/rootfs.ext4.zst',
- 'fba585368f5915b1498ed081863474b2d7ec4e97cdd46d21bdcb2f9698f83de4')
+ 'https://storage.tuxboot.com/buildroot/20241119/mips64el/rootfs.ext4.zst',
+ '69c8b69a4f1582ce4c6f01a994968f5d73bffb2fc99cbeeeb26c8b5a28eaeb84')
def test_mips64el(self):
self.set_machine('malta')
--
2.39.5
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [PATCH 08/20] tests/functional: update the ppc32 tuxrun tests
2024-12-10 20:43 [PATCH 00/20] testing/next: functional tests and qtest timers Alex Bennée
` (6 preceding siblings ...)
2024-12-10 20:43 ` [PATCH 07/20] tests/functional: update the mips64el " Alex Bennée
@ 2024-12-10 20:43 ` Alex Bennée
2024-12-10 20:43 ` [PATCH 09/20] tests/functional: update the ppc64 " Alex Bennée
` (11 subsequent siblings)
19 siblings, 0 replies; 37+ messages in thread
From: Alex Bennée @ 2024-12-10 20:43 UTC (permalink / raw)
To: qemu-devel
Cc: Daniel Henrique Barboza, qemu-s390x, Halil Pasic, Jiaxun Yang,
Weiwei Li, Liu Zhiwei, Cleber Rosa, Palmer Dabbelt, Leif Lindholm,
Eric Farman, Marc-André Lureau, John Snow,
Philippe Mathieu-Daudé, Harsh Prateek Bora, Aurelien Jarno,
Paolo Bonzini, Joel Stanley, Bernhard Beschow, qemu-ppc,
qemu-riscv, Daniel Henrique Barboza, Thomas Huth, Laurent Vivier,
qemu-arm, Wainer dos Santos Moschetta, Fabiano Rosas,
Markus Armbruster, Bin Meng, Pavel Dovgalyuk, Marcel Apfelbaum,
Richard Henderson, Marcin Juszkiewicz, Christian Borntraeger,
Beraldo Leal, Peter Maydell, Radoslaw Biernacki,
Daniel P. Berrangé, Alex Bennée, Nicholas Piggin,
Mark Cave-Ayland, Michael S. Tsirkin, Alistair Francis,
Anders Roxell
Now there are new up to date images available we should update to them.
Cc: Anders Roxell <anders.roxell@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Tested-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20241121165806.476008-29-alex.bennee@linaro.org>
---
tests/functional/test_ppc_tuxrun.py | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/tests/functional/test_ppc_tuxrun.py b/tests/functional/test_ppc_tuxrun.py
index 50b76946c4..5458a7fb71 100755
--- a/tests/functional/test_ppc_tuxrun.py
+++ b/tests/functional/test_ppc_tuxrun.py
@@ -17,11 +17,11 @@
class TuxRunPPC32Test(TuxRunBaselineTest):
ASSET_PPC32_KERNEL = Asset(
- 'https://storage.tuxboot.com/20230331/ppc32/uImage',
- '1a68f74b860fda022fb12e03c5efece8c2b8b590d96cca37a8481a3ae0b3f81f')
+ 'https://storage.tuxboot.com/buildroot/20241119/ppc32/uImage',
+ 'aa5d81deabdb255a318c4bc5ffd6fdd2b5da1ef39f1955dcc35b671d258b68e9')
ASSET_PPC32_ROOTFS = Asset(
- 'https://storage.tuxboot.com/20230331/ppc32/rootfs.ext4.zst',
- '8885b9d999cc24d679542a02e9b6aaf48f718f2050ece6b8347074b6ee41dd09')
+ 'https://storage.tuxboot.com/buildroot/20241119/ppc32/rootfs.ext4.zst',
+ '67554f830269d6bf53b67c7dd206bcc821e463993d526b1644066fea8117019b')
def test_ppc32(self):
self.set_machine('ppce500')
--
2.39.5
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [PATCH 09/20] tests/functional: update the ppc64 tuxrun tests
2024-12-10 20:43 [PATCH 00/20] testing/next: functional tests and qtest timers Alex Bennée
` (7 preceding siblings ...)
2024-12-10 20:43 ` [PATCH 08/20] tests/functional: update the ppc32 " Alex Bennée
@ 2024-12-10 20:43 ` Alex Bennée
2024-12-10 20:43 ` [PATCH 10/20] tests/functional: update the riscv32 " Alex Bennée
` (10 subsequent siblings)
19 siblings, 0 replies; 37+ messages in thread
From: Alex Bennée @ 2024-12-10 20:43 UTC (permalink / raw)
To: qemu-devel
Cc: Daniel Henrique Barboza, qemu-s390x, Halil Pasic, Jiaxun Yang,
Weiwei Li, Liu Zhiwei, Cleber Rosa, Palmer Dabbelt, Leif Lindholm,
Eric Farman, Marc-André Lureau, John Snow,
Philippe Mathieu-Daudé, Harsh Prateek Bora, Aurelien Jarno,
Paolo Bonzini, Joel Stanley, Bernhard Beschow, qemu-ppc,
qemu-riscv, Daniel Henrique Barboza, Thomas Huth, Laurent Vivier,
qemu-arm, Wainer dos Santos Moschetta, Fabiano Rosas,
Markus Armbruster, Bin Meng, Pavel Dovgalyuk, Marcel Apfelbaum,
Richard Henderson, Marcin Juszkiewicz, Christian Borntraeger,
Beraldo Leal, Peter Maydell, Radoslaw Biernacki,
Daniel P. Berrangé, Alex Bennée, Nicholas Piggin,
Mark Cave-Ayland, Michael S. Tsirkin, Alistair Francis,
Anders Roxell
Now there are new up to date images available we should update to them.
Cc: Anders Roxell <anders.roxell@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Tested-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20241121165806.476008-30-alex.bennee@linaro.org>
---
tests/functional/test_ppc64_tuxrun.py | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/tests/functional/test_ppc64_tuxrun.py b/tests/functional/test_ppc64_tuxrun.py
index 03b47e07f2..aee67f5e90 100755
--- a/tests/functional/test_ppc64_tuxrun.py
+++ b/tests/functional/test_ppc64_tuxrun.py
@@ -82,11 +82,11 @@ def ppc64_common_tuxrun(self, kernel_asset, rootfs_asset, prefix):
drive="scsi-hd")
ASSET_PPC64_KERNEL = Asset(
- 'https://storage.tuxboot.com/20230331/ppc64/vmlinux',
- 'f22a9b9e924174a4c199f4c7e5d91a2339fcfe51c6eafd0907dc3e09b64ab728')
+ 'https://storage.tuxboot.com/buildroot/20241119/ppc64/vmlinux',
+ '8219d5cb26e7654ad7826fe8aee6290f7c01eef44f2cd6d26c15fe8f99e1c17c')
ASSET_PPC64_ROOTFS = Asset(
- 'https://storage.tuxboot.com/20230331/ppc64/rootfs.ext4.zst',
- '1d953e81a4379e537fc8e41e05a0a59d9b453eef97aa03d47866c6c45b00bdff')
+ 'https://storage.tuxboot.com/buildroot/20241119/ppc64/rootfs.ext4.zst',
+ 'b68e12314303c5dd0fef37ae98021299a206085ae591893e73557af99a02d373')
def test_ppc64(self):
self.ppc64_common_tuxrun(kernel_asset=self.ASSET_PPC64_KERNEL,
@@ -94,11 +94,11 @@ def test_ppc64(self):
prefix='tuxrun_ppc64_')
ASSET_PPC64LE_KERNEL = Asset(
- 'https://storage.tuxboot.com/20230331/ppc64le/vmlinux',
- '979eb61b445a010fb13e2b927126991f8ceef9c590fa2be0996c00e293e80cf2')
+ 'https://storage.tuxboot.com/buildroot/20241119/ppc64le/vmlinux',
+ '21aea1fbc18bf6fa7d8ca4ea48d4940b2c8363c077acd564eb47d769b7495279')
ASSET_PPC64LE_ROOTFS = Asset(
- 'https://storage.tuxboot.com/20230331/ppc64le/rootfs.ext4.zst',
- 'b442678c93fb8abe1f7d3bfa20556488de6b475c22c8fed363f42cf81a0a3906')
+ 'https://storage.tuxboot.com/buildroot/20241119/ppc64le/rootfs.ext4.zst',
+ '67d36a3f9597b738e8b7359bdf04500f4d9bb82fc35eaa65aa439d888b2392f4')
def test_ppc64le(self):
self.ppc64_common_tuxrun(kernel_asset=self.ASSET_PPC64LE_KERNEL,
--
2.39.5
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [PATCH 10/20] tests/functional: update the riscv32 tuxrun tests
2024-12-10 20:43 [PATCH 00/20] testing/next: functional tests and qtest timers Alex Bennée
` (8 preceding siblings ...)
2024-12-10 20:43 ` [PATCH 09/20] tests/functional: update the ppc64 " Alex Bennée
@ 2024-12-10 20:43 ` Alex Bennée
2024-12-10 20:43 ` [PATCH 11/20] tests/functional: update the riscv64 " Alex Bennée
` (9 subsequent siblings)
19 siblings, 0 replies; 37+ messages in thread
From: Alex Bennée @ 2024-12-10 20:43 UTC (permalink / raw)
To: qemu-devel
Cc: Daniel Henrique Barboza, qemu-s390x, Halil Pasic, Jiaxun Yang,
Weiwei Li, Liu Zhiwei, Cleber Rosa, Palmer Dabbelt, Leif Lindholm,
Eric Farman, Marc-André Lureau, John Snow,
Philippe Mathieu-Daudé, Harsh Prateek Bora, Aurelien Jarno,
Paolo Bonzini, Joel Stanley, Bernhard Beschow, qemu-ppc,
qemu-riscv, Daniel Henrique Barboza, Thomas Huth, Laurent Vivier,
qemu-arm, Wainer dos Santos Moschetta, Fabiano Rosas,
Markus Armbruster, Bin Meng, Pavel Dovgalyuk, Marcel Apfelbaum,
Richard Henderson, Marcin Juszkiewicz, Christian Borntraeger,
Beraldo Leal, Peter Maydell, Radoslaw Biernacki,
Daniel P. Berrangé, Alex Bennée, Nicholas Piggin,
Mark Cave-Ayland, Michael S. Tsirkin, Alistair Francis,
Anders Roxell
Now there are new up to date images available we should update to them.
Cc: Anders Roxell <anders.roxell@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Tested-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20241121165806.476008-31-alex.bennee@linaro.org>
---
tests/functional/test_riscv32_tuxrun.py | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/tests/functional/test_riscv32_tuxrun.py b/tests/functional/test_riscv32_tuxrun.py
index 49b57cd428..3c570208d0 100755
--- a/tests/functional/test_riscv32_tuxrun.py
+++ b/tests/functional/test_riscv32_tuxrun.py
@@ -17,11 +17,11 @@
class TuxRunRiscV32Test(TuxRunBaselineTest):
ASSET_RISCV32_KERNEL = Asset(
- 'https://storage.tuxboot.com/20230331/riscv32/Image',
- '89599407d7334de629a40e7ad6503c73670359eb5f5ae9d686353a3d6deccbd5')
+ 'https://storage.tuxboot.com/buildroot/20241119/riscv32/Image',
+ '872bc8f8e0d4661825d5f47f7bec64988e9d0a8bd5db8917d57e16f66d83b329')
ASSET_RISCV32_ROOTFS = Asset(
- 'https://storage.tuxboot.com/20230331/riscv32/rootfs.ext4.zst',
- '7168d296d0283238ea73cd5a775b3dd608e55e04c7b92b76ecce31bb13108cba')
+ 'https://storage.tuxboot.com/buildroot/20241119/riscv32/rootfs.ext4.zst',
+ '511ad34e63222db08d6c1da16fad224970de36517a784110956ba6a24a0ee5f6')
def test_riscv32(self):
self.set_machine('virt')
--
2.39.5
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [PATCH 11/20] tests/functional: update the riscv64 tuxrun tests
2024-12-10 20:43 [PATCH 00/20] testing/next: functional tests and qtest timers Alex Bennée
` (9 preceding siblings ...)
2024-12-10 20:43 ` [PATCH 10/20] tests/functional: update the riscv32 " Alex Bennée
@ 2024-12-10 20:43 ` Alex Bennée
2024-12-10 20:43 ` [PATCH 12/20] tests/functional: update the s390x " Alex Bennée
` (8 subsequent siblings)
19 siblings, 0 replies; 37+ messages in thread
From: Alex Bennée @ 2024-12-10 20:43 UTC (permalink / raw)
To: qemu-devel
Cc: Daniel Henrique Barboza, qemu-s390x, Halil Pasic, Jiaxun Yang,
Weiwei Li, Liu Zhiwei, Cleber Rosa, Palmer Dabbelt, Leif Lindholm,
Eric Farman, Marc-André Lureau, John Snow,
Philippe Mathieu-Daudé, Harsh Prateek Bora, Aurelien Jarno,
Paolo Bonzini, Joel Stanley, Bernhard Beschow, qemu-ppc,
qemu-riscv, Daniel Henrique Barboza, Thomas Huth, Laurent Vivier,
qemu-arm, Wainer dos Santos Moschetta, Fabiano Rosas,
Markus Armbruster, Bin Meng, Pavel Dovgalyuk, Marcel Apfelbaum,
Richard Henderson, Marcin Juszkiewicz, Christian Borntraeger,
Beraldo Leal, Peter Maydell, Radoslaw Biernacki,
Daniel P. Berrangé, Alex Bennée, Nicholas Piggin,
Mark Cave-Ayland, Michael S. Tsirkin, Alistair Francis,
Anders Roxell
Now there are new up to date images available we should update to them.
Note we re-use the riscv32 kernel and rootfs for test_riscv64_rv32.
Cc: Anders Roxell <anders.roxell@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Tested-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20241121165806.476008-32-alex.bennee@linaro.org>
---
tests/functional/test_riscv64_tuxrun.py | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/tests/functional/test_riscv64_tuxrun.py b/tests/functional/test_riscv64_tuxrun.py
index 4e2449539c..0d8de36204 100755
--- a/tests/functional/test_riscv64_tuxrun.py
+++ b/tests/functional/test_riscv64_tuxrun.py
@@ -17,18 +17,18 @@
class TuxRunRiscV64Test(TuxRunBaselineTest):
ASSET_RISCV64_KERNEL = Asset(
- 'https://storage.tuxboot.com/20230331/riscv64/Image',
- 'cd634badc65e52fb63465ec99e309c0de0369f0841b7d9486f9729e119bac25e')
+ 'https://storage.tuxboot.com/buildroot/20241119/riscv64/Image',
+ '2bd8132a3bf21570290042324fff48c987f42f2a00c08de979f43f0662ebadba')
ASSET_RISCV64_ROOTFS = Asset(
- 'https://storage.tuxboot.com/20230331/riscv64/rootfs.ext4.zst',
- 'b18e3a3bdf27be03da0b285e84cb71bf09eca071c3a087b42884b6982ed679eb')
+ 'https://storage.tuxboot.com/buildroot/20241119/riscv64/rootfs.ext4.zst',
+ 'aa4736a9872651dfc0d95e709465eedf1134fd19d42b8cb305bfd776f9801004')
ASSET_RISCV32_KERNEL = Asset(
- 'https://storage.tuxboot.com/20230331/riscv32/Image',
- '89599407d7334de629a40e7ad6503c73670359eb5f5ae9d686353a3d6deccbd5')
+ 'https://storage.tuxboot.com/buildroot/20241119/riscv32/Image',
+ '872bc8f8e0d4661825d5f47f7bec64988e9d0a8bd5db8917d57e16f66d83b329')
ASSET_RISCV32_ROOTFS = Asset(
- 'https://storage.tuxboot.com/20230331/riscv32/rootfs.ext4.zst',
- '7168d296d0283238ea73cd5a775b3dd608e55e04c7b92b76ecce31bb13108cba')
+ 'https://storage.tuxboot.com/buildroot/20241119/riscv32/rootfs.ext4.zst',
+ '511ad34e63222db08d6c1da16fad224970de36517a784110956ba6a24a0ee5f6')
def test_riscv64(self):
self.set_machine('virt')
--
2.39.5
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [PATCH 12/20] tests/functional: update the s390x tuxrun tests
2024-12-10 20:43 [PATCH 00/20] testing/next: functional tests and qtest timers Alex Bennée
` (10 preceding siblings ...)
2024-12-10 20:43 ` [PATCH 11/20] tests/functional: update the riscv64 " Alex Bennée
@ 2024-12-10 20:43 ` Alex Bennée
2024-12-10 20:43 ` [PATCH 13/20] tests/functional: update the sparc64 " Alex Bennée
` (7 subsequent siblings)
19 siblings, 0 replies; 37+ messages in thread
From: Alex Bennée @ 2024-12-10 20:43 UTC (permalink / raw)
To: qemu-devel
Cc: Daniel Henrique Barboza, qemu-s390x, Halil Pasic, Jiaxun Yang,
Weiwei Li, Liu Zhiwei, Cleber Rosa, Palmer Dabbelt, Leif Lindholm,
Eric Farman, Marc-André Lureau, John Snow,
Philippe Mathieu-Daudé, Harsh Prateek Bora, Aurelien Jarno,
Paolo Bonzini, Joel Stanley, Bernhard Beschow, qemu-ppc,
qemu-riscv, Daniel Henrique Barboza, Thomas Huth, Laurent Vivier,
qemu-arm, Wainer dos Santos Moschetta, Fabiano Rosas,
Markus Armbruster, Bin Meng, Pavel Dovgalyuk, Marcel Apfelbaum,
Richard Henderson, Marcin Juszkiewicz, Christian Borntraeger,
Beraldo Leal, Peter Maydell, Radoslaw Biernacki,
Daniel P. Berrangé, Alex Bennée, Nicholas Piggin,
Mark Cave-Ayland, Michael S. Tsirkin, Alistair Francis,
Anders Roxell
Now there are new up to date images available we should update to them.
Cc: Anders Roxell <anders.roxell@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Tested-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20241121165806.476008-33-alex.bennee@linaro.org>
---
tests/functional/test_s390x_tuxrun.py | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/tests/functional/test_s390x_tuxrun.py b/tests/functional/test_s390x_tuxrun.py
index dcab17c68b..a7db4bfd84 100755
--- a/tests/functional/test_s390x_tuxrun.py
+++ b/tests/functional/test_s390x_tuxrun.py
@@ -17,11 +17,11 @@
class TuxRunS390xTest(TuxRunBaselineTest):
ASSET_S390X_KERNEL = Asset(
- 'https://storage.tuxboot.com/20230331/s390/bzImage',
- '0414e98dd1c3dafff8496c9cd9c28a5f8d04553bb5ba37e906a812b48d442ef0')
+ 'https://storage.tuxboot.com/buildroot/20241119/s390/bzImage',
+ 'ee67e91db52a2aed104a7c72b2a08987c678f8179c029626789c35d6dd0fedf1')
ASSET_S390X_ROOTFS = Asset(
- 'https://storage.tuxboot.com/20230331/s390/rootfs.ext4.zst',
- '88c37c32276677f873a25ab9ec6247895b8e3e6f8259134de2a616080b8ab3fc')
+ 'https://storage.tuxboot.com/buildroot/20241119/s390/rootfs.ext4.zst',
+ 'bff7971fc2fef56372d98afe4557b82fd0a785a241e44c29b058e577ad1bbb44')
def test_s390(self):
self.wait_for_shutdown=False
--
2.39.5
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [PATCH 13/20] tests/functional: update the sparc64 tuxrun tests
2024-12-10 20:43 [PATCH 00/20] testing/next: functional tests and qtest timers Alex Bennée
` (11 preceding siblings ...)
2024-12-10 20:43 ` [PATCH 12/20] tests/functional: update the s390x " Alex Bennée
@ 2024-12-10 20:43 ` Alex Bennée
2024-12-10 20:43 ` [PATCH 14/20] tests/functional: update the x86_64 " Alex Bennée
` (6 subsequent siblings)
19 siblings, 0 replies; 37+ messages in thread
From: Alex Bennée @ 2024-12-10 20:43 UTC (permalink / raw)
To: qemu-devel
Cc: Daniel Henrique Barboza, qemu-s390x, Halil Pasic, Jiaxun Yang,
Weiwei Li, Liu Zhiwei, Cleber Rosa, Palmer Dabbelt, Leif Lindholm,
Eric Farman, Marc-André Lureau, John Snow,
Philippe Mathieu-Daudé, Harsh Prateek Bora, Aurelien Jarno,
Paolo Bonzini, Joel Stanley, Bernhard Beschow, qemu-ppc,
qemu-riscv, Daniel Henrique Barboza, Thomas Huth, Laurent Vivier,
qemu-arm, Wainer dos Santos Moschetta, Fabiano Rosas,
Markus Armbruster, Bin Meng, Pavel Dovgalyuk, Marcel Apfelbaum,
Richard Henderson, Marcin Juszkiewicz, Christian Borntraeger,
Beraldo Leal, Peter Maydell, Radoslaw Biernacki,
Daniel P. Berrangé, Alex Bennée, Nicholas Piggin,
Mark Cave-Ayland, Michael S. Tsirkin, Alistair Francis,
Anders Roxell
Now there are new up to date images available we should update to them.
Cc: Anders Roxell <anders.roxell@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Tested-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20241121165806.476008-34-alex.bennee@linaro.org>
---
tests/functional/test_sparc64_tuxrun.py | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/tests/functional/test_sparc64_tuxrun.py b/tests/functional/test_sparc64_tuxrun.py
index 1c2c005630..3be08d6102 100755
--- a/tests/functional/test_sparc64_tuxrun.py
+++ b/tests/functional/test_sparc64_tuxrun.py
@@ -17,11 +17,11 @@
class TuxRunSparc64Test(TuxRunBaselineTest):
ASSET_SPARC64_KERNEL = Asset(
- 'https://storage.tuxboot.com/20230331/sparc64/vmlinux',
- 'e34313e4325ff21deaa3d38a502aa09a373ef62b9bd4d7f8f29388b688225c55')
+ 'https://storage.tuxboot.com/buildroot/20241119/sparc64/vmlinux',
+ 'a04cfb2e70a264051d161fdd93aabf4b2a9472f2e435c14ed18c5848c5fed261')
ASSET_SPARC64_ROOTFS = Asset(
- 'https://storage.tuxboot.com/20230331/sparc64/rootfs.ext4.zst',
- 'ad2f1dc436ab51583543d25d2c210cab478645d47078d30d129a66ab0e281d76')
+ 'https://storage.tuxboot.com/buildroot/20241119/sparc64/rootfs.ext4.zst',
+ '479c3dc104c82b68be55e2c0c5c38cd473d0b37ad4badccde4775bb88ce34611')
def test_sparc64(self):
self.root='sda'
--
2.39.5
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [PATCH 14/20] tests/functional: update the x86_64 tuxrun tests
2024-12-10 20:43 [PATCH 00/20] testing/next: functional tests and qtest timers Alex Bennée
` (12 preceding siblings ...)
2024-12-10 20:43 ` [PATCH 13/20] tests/functional: update the sparc64 " Alex Bennée
@ 2024-12-10 20:43 ` Alex Bennée
2024-12-10 20:43 ` [PATCH 15/20] tests/functional/aarch64: add tests for FEAT_RME Alex Bennée
` (5 subsequent siblings)
19 siblings, 0 replies; 37+ messages in thread
From: Alex Bennée @ 2024-12-10 20:43 UTC (permalink / raw)
To: qemu-devel
Cc: Daniel Henrique Barboza, qemu-s390x, Halil Pasic, Jiaxun Yang,
Weiwei Li, Liu Zhiwei, Cleber Rosa, Palmer Dabbelt, Leif Lindholm,
Eric Farman, Marc-André Lureau, John Snow,
Philippe Mathieu-Daudé, Harsh Prateek Bora, Aurelien Jarno,
Paolo Bonzini, Joel Stanley, Bernhard Beschow, qemu-ppc,
qemu-riscv, Daniel Henrique Barboza, Thomas Huth, Laurent Vivier,
qemu-arm, Wainer dos Santos Moschetta, Fabiano Rosas,
Markus Armbruster, Bin Meng, Pavel Dovgalyuk, Marcel Apfelbaum,
Richard Henderson, Marcin Juszkiewicz, Christian Borntraeger,
Beraldo Leal, Peter Maydell, Radoslaw Biernacki,
Daniel P. Berrangé, Alex Bennée, Nicholas Piggin,
Mark Cave-Ayland, Michael S. Tsirkin, Alistair Francis,
Anders Roxell
Now there are new up to date images available we should update to them.
Cc: Anders Roxell <anders.roxell@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Tested-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20241121165806.476008-35-alex.bennee@linaro.org>
---
tests/functional/test_x86_64_tuxrun.py | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/tests/functional/test_x86_64_tuxrun.py b/tests/functional/test_x86_64_tuxrun.py
index 4f96139871..fcbc62b1b0 100755
--- a/tests/functional/test_x86_64_tuxrun.py
+++ b/tests/functional/test_x86_64_tuxrun.py
@@ -17,11 +17,11 @@
class TuxRunX86Test(TuxRunBaselineTest):
ASSET_X86_64_KERNEL = Asset(
- 'https://storage.tuxboot.com/20230331/x86_64/bzImage',
- '2bc7480a669ee9b6b82500a236aba0c54233debe98cb968268fa230f52f03461')
+ 'https://storage.tuxboot.com/buildroot/20241119/x86_64/bzImage',
+ 'f57bfc6553bcd6e0a54aab86095bf642b33b5571d14e3af1731b18c87ed5aef8')
ASSET_X86_64_ROOTFS = Asset(
- 'https://storage.tuxboot.com/20230331/x86_64/rootfs.ext4.zst',
- 'b72ac729769b8f51c6dffb221113c9a063c774dbe1d66af30eb593c4e9999b4b')
+ 'https://storage.tuxboot.com/buildroot/20241119/x86_64/rootfs.ext4.zst',
+ '4b8b2a99117519c5290e1202cb36eb6c7aaba92b357b5160f5970cf5fb78a751')
def test_x86_64(self):
self.set_machine('q35')
--
2.39.5
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [PATCH 15/20] tests/functional/aarch64: add tests for FEAT_RME
2024-12-10 20:43 [PATCH 00/20] testing/next: functional tests and qtest timers Alex Bennée
` (13 preceding siblings ...)
2024-12-10 20:43 ` [PATCH 14/20] tests/functional: update the x86_64 " Alex Bennée
@ 2024-12-10 20:43 ` Alex Bennée
2024-12-10 22:15 ` Richard Henderson
2024-12-11 8:04 ` Thomas Huth
2024-12-10 20:43 ` [PATCH 16/20] util/qemu-timer: fix indentation Alex Bennée
` (4 subsequent siblings)
19 siblings, 2 replies; 37+ messages in thread
From: Alex Bennée @ 2024-12-10 20:43 UTC (permalink / raw)
To: qemu-devel
Cc: Daniel Henrique Barboza, qemu-s390x, Halil Pasic, Jiaxun Yang,
Weiwei Li, Liu Zhiwei, Cleber Rosa, Palmer Dabbelt, Leif Lindholm,
Eric Farman, Marc-André Lureau, John Snow,
Philippe Mathieu-Daudé, Harsh Prateek Bora, Aurelien Jarno,
Paolo Bonzini, Joel Stanley, Bernhard Beschow, qemu-ppc,
qemu-riscv, Daniel Henrique Barboza, Thomas Huth, Laurent Vivier,
qemu-arm, Wainer dos Santos Moschetta, Fabiano Rosas,
Markus Armbruster, Bin Meng, Pavel Dovgalyuk, Marcel Apfelbaum,
Richard Henderson, Marcin Juszkiewicz, Christian Borntraeger,
Beraldo Leal, Peter Maydell, Radoslaw Biernacki,
Daniel P. Berrangé, Alex Bennée, Nicholas Piggin,
Mark Cave-Ayland, Michael S. Tsirkin, Alistair Francis,
Pierrick Bouvier
From: Pierrick Bouvier <pierrick.bouvier@linaro.org>
This boot an OP-TEE environment, and launch a nested guest VM inside it
using the Realms feature. We do it for virt and sbsa-ref platforms.
Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
-----
v2:
- move test to its own file
- add sbsa test
- check output of `cca-workload-attestation report`
v3:
- build and run test with cca-v4 images
- factorize nested guest test between both tests
- remove accel tcg option as it is the default when running tests
Note: It's a long test and there is a work in progress to understand why
debug build is so slow (x12 vs optimized).
v4:
- use pauth-impdef=on to speed up build time execution (x2.5 faster)
- increase timeout value
Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Message-Id: <20241203213629.2482806-1-pierrick.bouvier@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
tests/functional/meson.build | 4 +
tests/functional/test_aarch64_rme_sbsaref.py | 70 +++++++++++++
tests/functional/test_aarch64_rme_virt.py | 100 +++++++++++++++++++
3 files changed, 174 insertions(+)
create mode 100755 tests/functional/test_aarch64_rme_sbsaref.py
create mode 100755 tests/functional/test_aarch64_rme_virt.py
diff --git a/tests/functional/meson.build b/tests/functional/meson.build
index 0a76bd9954..4e207c53d5 100644
--- a/tests/functional/meson.build
+++ b/tests/functional/meson.build
@@ -13,6 +13,8 @@ endif
test_timeouts = {
'aarch64_aspeed' : 600,
'aarch64_raspi4' : 480,
+ 'aarch64_rme_virt' : 1200,
+ 'aarch64_rme_sbsaref' : 1200,
'aarch64_sbsaref_alpine' : 720,
'aarch64_sbsaref_freebsd' : 720,
'aarch64_tuxrun' : 240,
@@ -52,6 +54,8 @@ tests_aarch64_system_thorough = [
'aarch64_aspeed',
'aarch64_raspi3',
'aarch64_raspi4',
+ 'aarch64_rme_virt',
+ 'aarch64_rme_sbsaref',
'aarch64_sbsaref',
'aarch64_sbsaref_alpine',
'aarch64_sbsaref_freebsd',
diff --git a/tests/functional/test_aarch64_rme_sbsaref.py b/tests/functional/test_aarch64_rme_sbsaref.py
new file mode 100755
index 0000000000..c136b5ce17
--- /dev/null
+++ b/tests/functional/test_aarch64_rme_sbsaref.py
@@ -0,0 +1,70 @@
+#!/usr/bin/env python3
+#
+# Functional test that boots a Realms environment on sbsa-ref machine and a
+# nested guest VM using it.
+#
+# Copyright (c) 2024 Linaro Ltd.
+#
+# Author: Pierrick Bouvier <pierrick.bouvier@linaro.org>
+#
+# SPDX-License-Identifier: GPL-2.0-or-later
+
+import time
+import os
+import logging
+
+from qemu_test import QemuSystemTest, Asset
+from qemu_test import exec_command, wait_for_console_pattern
+from qemu_test import exec_command_and_wait_for_pattern
+from qemu_test.utils import archive_extract
+from test_aarch64_rme_virt import test_realms_guest
+
+class Aarch64RMESbsaRefMachine(QemuSystemTest):
+
+ # Stack is built with OP-TEE build environment from those instructions:
+ # https://linaro.atlassian.net/wiki/spaces/QEMU/pages/29051027459/
+ # https://github.com/pbo-linaro/qemu-rme-stack
+ ASSET_RME_STACK_SBSA = Asset(
+ ('https://fileserver.linaro.org/s/KJyeBxL82mz2r7F/'
+ 'download/rme-stack-op-tee-4.2.0-cca-v4-sbsa.tar.gz'),
+ 'dd9ab28ec869bdf3b5376116cb3689103b43433fd5c4bca0f4a8d8b3c104999e')
+
+ # This tests the FEAT_RME cpu implementation, by booting a VM supporting it,
+ # and launching a nested VM using it.
+ def test_aarch64_rme_sbsaref(self):
+ stack_path_tar_gz = self.ASSET_RME_STACK_SBSA.fetch()
+ archive_extract(stack_path_tar_gz, self.workdir)
+
+ self.set_machine('sbsa-ref')
+ self.vm.set_console()
+ self.require_accelerator('tcg')
+
+ rme_stack = os.path.join(self.workdir,
+ 'rme-stack-op-tee-4.2.0-cca-v4-sbsa')
+ pflash0 = os.path.join(rme_stack, 'images', 'SBSA_FLASH0.fd')
+ pflash1 = os.path.join(rme_stack, 'images', 'SBSA_FLASH1.fd')
+ virtual = os.path.join(rme_stack, 'images', 'disks', 'virtual')
+ drive = os.path.join(rme_stack, 'out-br', 'images', 'rootfs.ext4')
+
+ self.vm.add_args('-cpu', 'max,x-rme=on,pauth-impdef=on')
+ self.vm.add_args('-m', '2G')
+ self.vm.add_args('-M', 'sbsa-ref')
+ self.vm.add_args('-drive', f'file={pflash0},format=raw,if=pflash')
+ self.vm.add_args('-drive', f'file={pflash1},format=raw,if=pflash')
+ self.vm.add_args('-drive', f'file=fat:rw:{virtual},format=raw')
+ self.vm.add_args('-drive', f'format=raw,if=none,file={drive},id=hd0')
+ self.vm.add_args('-device', 'virtio-blk-pci,drive=hd0')
+ self.vm.add_args('-device', 'virtio-9p-pci,fsdev=shr0,mount_tag=shr0')
+ self.vm.add_args('-fsdev', f'local,security_model=none,path={rme_stack},id=shr0')
+ self.vm.add_args('-device', 'virtio-net-pci,netdev=net0')
+ self.vm.add_args('-netdev', 'user,id=net0')
+
+ self.vm.launch()
+ # Wait for host VM boot to complete.
+ wait_for_console_pattern(self, 'Welcome to Buildroot')
+ exec_command_and_wait_for_pattern(self, 'root', '#')
+
+ test_realms_guest(self)
+
+if __name__ == '__main__':
+ QemuSystemTest.main()
diff --git a/tests/functional/test_aarch64_rme_virt.py b/tests/functional/test_aarch64_rme_virt.py
new file mode 100755
index 0000000000..39e4e4adb5
--- /dev/null
+++ b/tests/functional/test_aarch64_rme_virt.py
@@ -0,0 +1,100 @@
+#!/usr/bin/env python3
+#
+# Functional test that boots a Realms environment on virt machine and a nested
+# guest VM using it.
+#
+# Copyright (c) 2024 Linaro Ltd.
+#
+# Author: Pierrick Bouvier <pierrick.bouvier@linaro.org>
+#
+# SPDX-License-Identifier: GPL-2.0-or-later
+
+import time
+import os
+import logging
+
+from qemu_test import QemuSystemTest, Asset
+from qemu_test import exec_command, wait_for_console_pattern
+from qemu_test import exec_command_and_wait_for_pattern
+from qemu_test.utils import archive_extract
+
+def test_realms_guest(test_rme_instance):
+
+ # Boot the (nested) guest VM
+ exec_command(test_rme_instance,
+ 'qemu-system-aarch64 -M virt,gic-version=3 '
+ '-cpu host -enable-kvm -m 512M '
+ '-M confidential-guest-support=rme0 '
+ '-object rme-guest,id=rme0 '
+ '-device virtio-net-pci,netdev=net0,romfile= '
+ '-netdev user,id=net0 '
+ '-kernel /mnt/out/bin/Image '
+ '-initrd /mnt/out-br/images/rootfs.cpio '
+ '-serial stdio')
+ # Detect Realm activation during (nested) guest boot.
+ wait_for_console_pattern(test_rme_instance,
+ 'SMC_RMI_REALM_ACTIVATE')
+ # Wait for (nested) guest boot to complete.
+ wait_for_console_pattern(test_rme_instance,
+ 'Welcome to Buildroot')
+ exec_command_and_wait_for_pattern(test_rme_instance, 'root', '#')
+ # query (nested) guest cca report
+ exec_command(test_rme_instance, 'cca-workload-attestation report')
+ wait_for_console_pattern(test_rme_instance,
+ '"cca-platform-hash-algo-id": "sha-256"')
+ wait_for_console_pattern(test_rme_instance,
+ '"cca-realm-hash-algo-id": "sha-512"')
+ wait_for_console_pattern(test_rme_instance,
+ '"cca-realm-public-key-hash-algo-id": "sha-256"')
+
+class Aarch64RMEVirtMachine(QemuSystemTest):
+
+ # Stack is built with OP-TEE build environment from those instructions:
+ # https://linaro.atlassian.net/wiki/spaces/QEMU/pages/29051027459/
+ # https://github.com/pbo-linaro/qemu-rme-stack
+ ASSET_RME_STACK_VIRT = Asset(
+ ('https://fileserver.linaro.org/s/iaRsNDJp2CXHMSJ/'
+ 'download/rme-stack-op-tee-4.2.0-cca-v4-qemu_v8.tar.gz'),
+ '1851adc232b094384d8b879b9a2cfff07ef3d6205032b85e9b3a4a9ae6b0b7ad')
+
+ # This tests the FEAT_RME cpu implementation, by booting a VM supporting it,
+ # and launching a nested VM using it.
+ def test_aarch64_rme_virt(self):
+ stack_path_tar_gz = self.ASSET_RME_STACK_VIRT.fetch()
+ archive_extract(stack_path_tar_gz, self.workdir)
+
+ self.set_machine('virt')
+ self.vm.set_console()
+ self.require_accelerator('tcg')
+
+ rme_stack = os.path.join(self.workdir,
+ 'rme-stack-op-tee-4.2.0-cca-v4-qemu_v8')
+ kernel = os.path.join(rme_stack, 'out', 'bin', 'Image')
+ bios = os.path.join(rme_stack, 'out', 'bin', 'flash.bin')
+ drive = os.path.join(rme_stack, 'out-br', 'images', 'rootfs.ext4')
+
+ self.vm.add_args('-cpu', 'max,x-rme=on,pauth-impdef=on')
+ self.vm.add_args('-m', '2G')
+ self.vm.add_args('-M', 'virt,acpi=off,'
+ 'virtualization=on,'
+ 'secure=on,'
+ 'gic-version=3')
+ self.vm.add_args('-bios', bios)
+ self.vm.add_args('-kernel', kernel)
+ self.vm.add_args('-drive', f'format=raw,if=none,file={drive},id=hd0')
+ self.vm.add_args('-device', 'virtio-blk-pci,drive=hd0')
+ self.vm.add_args('-device', 'virtio-9p-device,fsdev=shr0,mount_tag=shr0')
+ self.vm.add_args('-fsdev', f'local,security_model=none,path={rme_stack},id=shr0')
+ self.vm.add_args('-device', 'virtio-net-pci,netdev=net0')
+ self.vm.add_args('-netdev', 'user,id=net0')
+ self.vm.add_args('-append', 'root=/dev/vda')
+
+ self.vm.launch()
+ # Wait for host VM boot to complete.
+ wait_for_console_pattern(self, 'Welcome to Buildroot')
+ exec_command_and_wait_for_pattern(self, 'root', '#')
+
+ test_realms_guest(self)
+
+if __name__ == '__main__':
+ QemuSystemTest.main()
--
2.39.5
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [PATCH 16/20] util/qemu-timer: fix indentation
2024-12-10 20:43 [PATCH 00/20] testing/next: functional tests and qtest timers Alex Bennée
` (14 preceding siblings ...)
2024-12-10 20:43 ` [PATCH 15/20] tests/functional/aarch64: add tests for FEAT_RME Alex Bennée
@ 2024-12-10 20:43 ` Alex Bennée
2024-12-10 22:16 ` Richard Henderson
2024-12-11 6:30 ` Thomas Huth
2024-12-10 20:43 ` [PATCH 17/20] tests/qtest: move clock_steps to after checks Alex Bennée
` (3 subsequent siblings)
19 siblings, 2 replies; 37+ messages in thread
From: Alex Bennée @ 2024-12-10 20:43 UTC (permalink / raw)
To: qemu-devel
Cc: Daniel Henrique Barboza, qemu-s390x, Halil Pasic, Jiaxun Yang,
Weiwei Li, Liu Zhiwei, Cleber Rosa, Palmer Dabbelt, Leif Lindholm,
Eric Farman, Marc-André Lureau, John Snow,
Philippe Mathieu-Daudé, Harsh Prateek Bora, Aurelien Jarno,
Paolo Bonzini, Joel Stanley, Bernhard Beschow, qemu-ppc,
qemu-riscv, Daniel Henrique Barboza, Thomas Huth, Laurent Vivier,
qemu-arm, Wainer dos Santos Moschetta, Fabiano Rosas,
Markus Armbruster, Bin Meng, Pavel Dovgalyuk, Marcel Apfelbaum,
Richard Henderson, Marcin Juszkiewicz, Christian Borntraeger,
Beraldo Leal, Peter Maydell, Radoslaw Biernacki,
Daniel P. Berrangé, Alex Bennée, Nicholas Piggin,
Mark Cave-Ayland, Michael S. Tsirkin, Alistair Francis
Purely cosmetic.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
util/qemu-timer.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/util/qemu-timer.c b/util/qemu-timer.c
index ffe9a3c5c1..7b71655416 100644
--- a/util/qemu-timer.c
+++ b/util/qemu-timer.c
@@ -680,7 +680,7 @@ int64_t qemu_clock_advance_virtual_time(int64_t dest)
aio_context = qemu_get_aio_context();
deadline = qemu_clock_deadline_ns_all(QEMU_CLOCK_VIRTUAL,
- QEMU_TIMER_ATTR_ALL);
+ QEMU_TIMER_ATTR_ALL);
/*
* A deadline of < 0 indicates this timer is not enabled, so we
* won't get far trying to run it forward.
--
2.39.5
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [PATCH 17/20] tests/qtest: move clock_steps to after checks
2024-12-10 20:43 [PATCH 00/20] testing/next: functional tests and qtest timers Alex Bennée
` (15 preceding siblings ...)
2024-12-10 20:43 ` [PATCH 16/20] util/qemu-timer: fix indentation Alex Bennée
@ 2024-12-10 20:43 ` Alex Bennée
2024-12-11 6:37 ` Thomas Huth
2024-12-12 12:34 ` Fabiano Rosas
2024-12-10 20:43 ` [PATCH 18/20] system/qtest: properly feedback results of clock_[step|set] Alex Bennée
` (2 subsequent siblings)
19 siblings, 2 replies; 37+ messages in thread
From: Alex Bennée @ 2024-12-10 20:43 UTC (permalink / raw)
To: qemu-devel
Cc: Daniel Henrique Barboza, qemu-s390x, Halil Pasic, Jiaxun Yang,
Weiwei Li, Liu Zhiwei, Cleber Rosa, Palmer Dabbelt, Leif Lindholm,
Eric Farman, Marc-André Lureau, John Snow,
Philippe Mathieu-Daudé, Harsh Prateek Bora, Aurelien Jarno,
Paolo Bonzini, Joel Stanley, Bernhard Beschow, qemu-ppc,
qemu-riscv, Daniel Henrique Barboza, Thomas Huth, Laurent Vivier,
qemu-arm, Wainer dos Santos Moschetta, Fabiano Rosas,
Markus Armbruster, Bin Meng, Pavel Dovgalyuk, Marcel Apfelbaum,
Richard Henderson, Marcin Juszkiewicz, Christian Borntraeger,
Beraldo Leal, Peter Maydell, Radoslaw Biernacki,
Daniel P. Berrangé, Alex Bennée, Nicholas Piggin,
Mark Cave-Ayland, Michael S. Tsirkin, Alistair Francis
In the qtest environment time will not step forward if the system is
paused (timers disabled) or we have no timer events to fire. As a
result VirtIO events are responded to directly and we don't need to
step time forward.
Potentially the clock_step calls could be removed all together but as
we may implement async behaviour later lets just move them to after
the principle check for now.
Future qtest patches will assert that time actually changes with a
step is requested.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
tests/qtest/libqos/virtio.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/tests/qtest/libqos/virtio.c b/tests/qtest/libqos/virtio.c
index a21b6eee9c..64682e66b8 100644
--- a/tests/qtest/libqos/virtio.c
+++ b/tests/qtest/libqos/virtio.c
@@ -170,10 +170,10 @@ void qvirtio_wait_queue_isr(QTestState *qts, QVirtioDevice *d,
gint64 start_time = g_get_monotonic_time();
for (;;) {
- qtest_clock_step(qts, 100);
if (d->bus->get_queue_isr_status(d, vq)) {
return;
}
+ qtest_clock_step(qts, 100);
g_assert(g_get_monotonic_time() - start_time <= timeout_us);
}
}
@@ -192,8 +192,8 @@ uint8_t qvirtio_wait_status_byte_no_isr(QTestState *qts, QVirtioDevice *d,
uint8_t val;
while ((val = qtest_readb(qts, addr)) == 0xff) {
- qtest_clock_step(qts, 100);
g_assert(!d->bus->get_queue_isr_status(d, vq));
+ qtest_clock_step(qts, 100);
g_assert(g_get_monotonic_time() - start_time <= timeout_us);
}
return val;
@@ -219,7 +219,6 @@ void qvirtio_wait_used_elem(QTestState *qts, QVirtioDevice *d,
for (;;) {
uint32_t got_desc_idx;
- qtest_clock_step(qts, 100);
if (d->bus->get_queue_isr_status(d, vq) &&
qvirtqueue_get_buf(qts, vq, &got_desc_idx, len)) {
@@ -227,6 +226,7 @@ void qvirtio_wait_used_elem(QTestState *qts, QVirtioDevice *d,
return;
}
+ qtest_clock_step(qts, 100);
g_assert(g_get_monotonic_time() - start_time <= timeout_us);
}
}
--
2.39.5
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [PATCH 18/20] system/qtest: properly feedback results of clock_[step|set]
2024-12-10 20:43 [PATCH 00/20] testing/next: functional tests and qtest timers Alex Bennée
` (16 preceding siblings ...)
2024-12-10 20:43 ` [PATCH 17/20] tests/qtest: move clock_steps to after checks Alex Bennée
@ 2024-12-10 20:43 ` Alex Bennée
2024-12-11 6:35 ` Thomas Huth
2024-12-12 12:36 ` Fabiano Rosas
2024-12-10 20:43 ` [PATCH 19/20] tests/functional: remove hacky sleep from the tests Alex Bennée
2024-12-10 20:43 ` [PATCH 20/20] tests/functional: extend test_aarch64_virt with vulkan test Alex Bennée
19 siblings, 2 replies; 37+ messages in thread
From: Alex Bennée @ 2024-12-10 20:43 UTC (permalink / raw)
To: qemu-devel
Cc: Daniel Henrique Barboza, qemu-s390x, Halil Pasic, Jiaxun Yang,
Weiwei Li, Liu Zhiwei, Cleber Rosa, Palmer Dabbelt, Leif Lindholm,
Eric Farman, Marc-André Lureau, John Snow,
Philippe Mathieu-Daudé, Harsh Prateek Bora, Aurelien Jarno,
Paolo Bonzini, Joel Stanley, Bernhard Beschow, qemu-ppc,
qemu-riscv, Daniel Henrique Barboza, Thomas Huth, Laurent Vivier,
qemu-arm, Wainer dos Santos Moschetta, Fabiano Rosas,
Markus Armbruster, Bin Meng, Pavel Dovgalyuk, Marcel Apfelbaum,
Richard Henderson, Marcin Juszkiewicz, Christian Borntraeger,
Beraldo Leal, Peter Maydell, Radoslaw Biernacki,
Daniel P. Berrangé, Alex Bennée, Nicholas Piggin,
Mark Cave-Ayland, Michael S. Tsirkin, Alistair Francis
Time will not advance if the system is paused or there are no timer
events set for the future. In absence of pending timer events
advancing time would make no difference the system state. Attempting
to do so would be a bug and the test or device under test would need
fixing.
Tighten up the result reporting to `FAIL` if time was not advanced.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2687
---
system/qtest.c | 23 ++++++++++++++---------
1 file changed, 14 insertions(+), 9 deletions(-)
diff --git a/system/qtest.c b/system/qtest.c
index 12703a2045..d9501153a4 100644
--- a/system/qtest.c
+++ b/system/qtest.c
@@ -78,6 +78,11 @@ static void *qtest_server_send_opaque;
* let you adjust the value of the clock (monotonically). All the commands
* return the current value of the clock in nanoseconds.
*
+ * If the commands FAIL then time wasn't advanced which is likely
+ * because the machine was in a paused state or no timer events exist
+ * in the future. This will cause qtest to abort and the test will
+ * need to check its assumptions.
+ *
* .. code-block:: none
*
* > clock_step
@@ -710,7 +715,8 @@ static void qtest_process_command(CharBackend *chr, gchar **words)
qtest_sendf(chr, "OK little\n");
}
} else if (qtest_enabled() && strcmp(words[0], "clock_step") == 0) {
- int64_t ns;
+ int64_t old_ns = qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL);
+ int64_t ns, new_ns;
if (words[1]) {
int ret = qemu_strtoi64(words[1], NULL, 0, &ns);
@@ -719,11 +725,10 @@ static void qtest_process_command(CharBackend *chr, gchar **words)
ns = qemu_clock_deadline_ns_all(QEMU_CLOCK_VIRTUAL,
QEMU_TIMER_ATTR_ALL);
}
- qemu_clock_advance_virtual_time(
- qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL) + ns);
+ new_ns = qemu_clock_advance_virtual_time(old_ns + ns);
qtest_send_prefix(chr);
- qtest_sendf(chr, "OK %"PRIi64"\n",
- (int64_t)qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL));
+ qtest_sendf(chr, "%s %"PRIi64"\n",
+ new_ns > old_ns ? "OK" : "FAIL", new_ns);
} else if (strcmp(words[0], "module_load") == 0) {
Error *local_err = NULL;
int rv;
@@ -740,16 +745,16 @@ static void qtest_process_command(CharBackend *chr, gchar **words)
qtest_sendf(chr, "FAIL\n");
}
} else if (qtest_enabled() && strcmp(words[0], "clock_set") == 0) {
- int64_t ns;
+ int64_t ns, new_ns;
int ret;
g_assert(words[1]);
ret = qemu_strtoi64(words[1], NULL, 0, &ns);
g_assert(ret == 0);
- qemu_clock_advance_virtual_time(ns);
+ new_ns = qemu_clock_advance_virtual_time(ns);
qtest_send_prefix(chr);
- qtest_sendf(chr, "OK %"PRIi64"\n",
- (int64_t)qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL));
+ qtest_sendf(chr, "%s %"PRIi64"\n",
+ new_ns == ns ? "OK" : "FAIL", new_ns);
} else if (process_command_cb && process_command_cb(chr, words)) {
/* Command got consumed by the callback handler */
} else {
--
2.39.5
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [PATCH 19/20] tests/functional: remove hacky sleep from the tests
2024-12-10 20:43 [PATCH 00/20] testing/next: functional tests and qtest timers Alex Bennée
` (17 preceding siblings ...)
2024-12-10 20:43 ` [PATCH 18/20] system/qtest: properly feedback results of clock_[step|set] Alex Bennée
@ 2024-12-10 20:43 ` Alex Bennée
2024-12-10 22:18 ` Richard Henderson
2024-12-11 6:39 ` Thomas Huth
2024-12-10 20:43 ` [PATCH 20/20] tests/functional: extend test_aarch64_virt with vulkan test Alex Bennée
19 siblings, 2 replies; 37+ messages in thread
From: Alex Bennée @ 2024-12-10 20:43 UTC (permalink / raw)
To: qemu-devel
Cc: Daniel Henrique Barboza, qemu-s390x, Halil Pasic, Jiaxun Yang,
Weiwei Li, Liu Zhiwei, Cleber Rosa, Palmer Dabbelt, Leif Lindholm,
Eric Farman, Marc-André Lureau, John Snow,
Philippe Mathieu-Daudé, Harsh Prateek Bora, Aurelien Jarno,
Paolo Bonzini, Joel Stanley, Bernhard Beschow, qemu-ppc,
qemu-riscv, Daniel Henrique Barboza, Thomas Huth, Laurent Vivier,
qemu-arm, Wainer dos Santos Moschetta, Fabiano Rosas,
Markus Armbruster, Bin Meng, Pavel Dovgalyuk, Marcel Apfelbaum,
Richard Henderson, Marcin Juszkiewicz, Christian Borntraeger,
Beraldo Leal, Peter Maydell, Radoslaw Biernacki,
Daniel P. Berrangé, Alex Bennée, Nicholas Piggin,
Mark Cave-Ayland, Michael S. Tsirkin, Alistair Francis
We have proper detection of prompts now so we don't need to guess with
sleep() sprinkled through the test. The extra step of calling halt is
just to flush the final bits of the log (although the last line is
still missed).
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
tests/functional/test_aarch64_virt.py | 22 ++++++++++------------
1 file changed, 10 insertions(+), 12 deletions(-)
diff --git a/tests/functional/test_aarch64_virt.py b/tests/functional/test_aarch64_virt.py
index c967da41b4..801300607c 100755
--- a/tests/functional/test_aarch64_virt.py
+++ b/tests/functional/test_aarch64_virt.py
@@ -107,18 +107,16 @@ def common_aarch64_virt(self, machine):
'virtio-blk-device,drive=scratch')
self.vm.launch()
- self.wait_for_console_pattern('Welcome to Buildroot')
- time.sleep(0.1)
- exec_command(self, 'root')
- time.sleep(0.1)
- exec_command(self, 'dd if=/dev/hwrng of=/dev/vda bs=512 count=4')
- time.sleep(0.1)
- exec_command(self, 'md5sum /dev/vda')
- time.sleep(0.1)
- exec_command(self, 'cat /proc/interrupts')
- time.sleep(0.1)
- exec_command(self, 'cat /proc/self/maps')
- time.sleep(0.1)
+
+ ps1='#'
+ self.wait_for_console_pattern('login:')
+ exec_command_and_wait_for_pattern(self, 'root', ps1)
+ exec_command_and_wait_for_pattern(self, 'cat /proc/interrupts', ps1)
+ exec_command_and_wait_for_pattern(self, 'cat /proc/self/maps', ps1)
+ exec_command_and_wait_for_pattern(self, 'uname -a', ps1)
+ exec_command_and_wait_for_pattern(self, 'dd if=/dev/hwrng of=/dev/vda bs=512 count=4', ps1)
+ exec_command_and_wait_for_pattern(self, 'md5sum /dev/vda', ps1)
+ exec_command_and_wait_for_pattern(self, 'halt -n', 'reboot: System halted')
def test_aarch64_virt_gicv3(self):
self.common_aarch64_virt("virt,gic_version=3")
--
2.39.5
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [PATCH 20/20] tests/functional: extend test_aarch64_virt with vulkan test
2024-12-10 20:43 [PATCH 00/20] testing/next: functional tests and qtest timers Alex Bennée
` (18 preceding siblings ...)
2024-12-10 20:43 ` [PATCH 19/20] tests/functional: remove hacky sleep from the tests Alex Bennée
@ 2024-12-10 20:43 ` Alex Bennée
2024-12-10 22:20 ` Richard Henderson
2024-12-11 6:58 ` Thomas Huth
19 siblings, 2 replies; 37+ messages in thread
From: Alex Bennée @ 2024-12-10 20:43 UTC (permalink / raw)
To: qemu-devel
Cc: Daniel Henrique Barboza, qemu-s390x, Halil Pasic, Jiaxun Yang,
Weiwei Li, Liu Zhiwei, Cleber Rosa, Palmer Dabbelt, Leif Lindholm,
Eric Farman, Marc-André Lureau, John Snow,
Philippe Mathieu-Daudé, Harsh Prateek Bora, Aurelien Jarno,
Paolo Bonzini, Joel Stanley, Bernhard Beschow, qemu-ppc,
qemu-riscv, Daniel Henrique Barboza, Thomas Huth, Laurent Vivier,
qemu-arm, Wainer dos Santos Moschetta, Fabiano Rosas,
Markus Armbruster, Bin Meng, Pavel Dovgalyuk, Marcel Apfelbaum,
Richard Henderson, Marcin Juszkiewicz, Christian Borntraeger,
Beraldo Leal, Peter Maydell, Radoslaw Biernacki,
Daniel P. Berrangé, Alex Bennée, Nicholas Piggin,
Mark Cave-Ayland, Michael S. Tsirkin, Alistair Francis
Now we have virtio-gpu Vulkan support lets add a test for it.
Currently this is using images build by buildroot:
https://lists.buildroot.org/pipermail/buildroot/2024-December/768196.html
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
tests/functional/test_aarch64_virt.py | 83 ++++++++++++++++++++++++++-
1 file changed, 80 insertions(+), 3 deletions(-)
diff --git a/tests/functional/test_aarch64_virt.py b/tests/functional/test_aarch64_virt.py
index 801300607c..25d11e2626 100755
--- a/tests/functional/test_aarch64_virt.py
+++ b/tests/functional/test_aarch64_virt.py
@@ -14,11 +14,12 @@
import os
import logging
+from qemu.machine.machine import VMLaunchFailure
+
from qemu_test import BUILD_DIR
from qemu_test import QemuSystemTest, Asset
-from qemu_test import exec_command, wait_for_console_pattern
-from qemu_test import get_qemu_img, run_cmd
-
+from qemu_test import exec_command, wait_for_console_pattern, exec_command_and_wait_for_pattern
+from qemu_test import has_cmd, get_qemu_img, run_cmd
class Aarch64VirtMachine(QemuSystemTest):
KERNEL_COMMON_COMMAND_LINE = 'printk.time=0 '
@@ -125,5 +126,81 @@ def test_aarch64_virt_gicv2(self):
self.common_aarch64_virt("virt,gic-version=2")
+ ASSET_VIRT_GPU_KERNEL = Asset(
+ ('https://fileserver.linaro.org/s/ce5jXBFinPxtEdx/'
+ 'download?path=%2F&files='
+ 'Image'),
+ '89e5099d26166204cc5ca4bb6d1a11b92c217e1f82ec67e3ba363d09157462f6')
+
+ ASSET_VIRT_GPU_ROOTFS = Asset(
+ ('https://fileserver.linaro.org/s/ce5jXBFinPxtEdx/'
+ 'download?path=%2F&files='
+ 'rootfs.ext4.zstd'),
+ '792da7573f5dc2913ddb7c638151d4a6b2d028a4cb2afb38add513c1924bdad4')
+
+ def test_aarch64_virt_with_gpu(self):
+ # This tests boots with a buildroot test image that contains
+ # vkmark and other GPU exercising tools. We run a headless
+ # weston that nevertheless still exercises the virtio-gpu
+ # backend.
+
+ (has_zstd, msg) = has_cmd('zstd')
+ if has_zstd is False:
+ self.skipTest(msg)
+ self.zstd = 'zstd'
+
+ image_path_zst = self.ASSET_VIRT_GPU_ROOTFS.fetch()
+ kernel_path = self.ASSET_VIRT_GPU_KERNEL.fetch()
+
+ image_path = self.workdir + "/rootfs.ext4"
+
+ run_cmd([self.zstd, "-f", "-d", image_path_zst,
+ "-o", image_path])
+
+ self.set_machine('virt')
+ self.vm.set_console()
+ kernel_command_line = (self.KERNEL_COMMON_COMMAND_LINE +
+ 'console=ttyAMA0 root=/dev/vda')
+ self.require_accelerator("tcg")
+
+ self.vm.add_args("-accel", "tcg")
+ self.vm.add_args("-cpu", "neoverse-v1,pauth-impdef=on")
+ self.vm.add_args("-machine",
+ "virt,virtualization=on,"
+ "gic-version=max",
+ '-kernel', kernel_path,
+ '-append', kernel_command_line)
+ self.vm.add_args("-smp", "2", "-m", "2048")
+ self.vm.add_args("-device", "virtio-gpu-gl-pci,hostmem=4G,blob=on,venus=on")
+ self.vm.add_args("-display", "egl-headless")
+ self.vm.add_args("-display", "dbus,gl=on")
+ self.vm.add_args("-device", "virtio-blk-device,drive=hd0")
+ self.vm.add_args("-blockdev",
+ "driver=raw,file.driver=file,node-name=hd0,read-only=on,"
+ f"file.filename={image_path}")
+ self.vm.add_args("--snapshot")
+
+ try:
+ self.vm.launch()
+ except VMLaunchFailure as e:
+ if "old virglrenderer, blob resources unsupported" in e.output:
+ self.skipTest("No blob support for virtio-gpu")
+ elif "old virglrenderer, venus unsupported" in e.output:
+ self.skipTest("No venus support for virtio-gpu")
+ else:
+ self.log.info(f"un-handled launch failure: {e.output}")
+ raise e
+
+ self.wait_for_console_pattern('buildroot login:')
+ exec_command(self, 'root')
+ exec_command(self, 'export XDG_RUNTIME_DIR=/tmp')
+ exec_command_and_wait_for_pattern(self,
+ "weston -B headless "
+ "--renderer gl "
+ "--shell kiosk "
+ "-- vkmark",
+ "vkmark Score")
+
+
if __name__ == '__main__':
QemuSystemTest.main()
--
2.39.5
^ permalink raw reply related [flat|nested] 37+ messages in thread
* Re: [PATCH 15/20] tests/functional/aarch64: add tests for FEAT_RME
2024-12-10 20:43 ` [PATCH 15/20] tests/functional/aarch64: add tests for FEAT_RME Alex Bennée
@ 2024-12-10 22:15 ` Richard Henderson
2024-12-11 2:32 ` Pierrick Bouvier
2024-12-11 8:04 ` Thomas Huth
1 sibling, 1 reply; 37+ messages in thread
From: Richard Henderson @ 2024-12-10 22:15 UTC (permalink / raw)
To: Alex Bennée, qemu-devel
On 12/10/24 14:43, Alex Bennée wrote:
> From: Pierrick Bouvier<pierrick.bouvier@linaro.org>
>
> This boot an OP-TEE environment, and launch a nested guest VM inside it
> using the Realms feature. We do it for virt and sbsa-ref platforms.
>
> Signed-off-by: Pierrick Bouvier<pierrick.bouvier@linaro.org>
>
> -----
>
> v2:
> - move test to its own file
> - add sbsa test
> - check output of `cca-workload-attestation report`
>
> v3:
> - build and run test with cca-v4 images
> - factorize nested guest test between both tests
> - remove accel tcg option as it is the default when running tests
> Note: It's a long test and there is a work in progress to understand why
> debug build is so slow (x12 vs optimized).
>
> v4:
> - use pauth-impdef=on to speed up build time execution (x2.5 faster)
> - increase timeout value
>
> Signed-off-by: Pierrick Bouvier<pierrick.bouvier@linaro.org>
> Message-Id:<20241203213629.2482806-1-pierrick.bouvier@linaro.org>
> Signed-off-by: Alex Bennée<alex.bennee@linaro.org>
> ---
> tests/functional/meson.build | 4 +
> tests/functional/test_aarch64_rme_sbsaref.py | 70 +++++++++++++
> tests/functional/test_aarch64_rme_virt.py | 100 +++++++++++++++++++
> 3 files changed, 174 insertions(+)
> create mode 100755 tests/functional/test_aarch64_rme_sbsaref.py
> create mode 100755 tests/functional/test_aarch64_rme_virt.py
Pierrick's changelog didn't get cut while applying.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
r~
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: [PATCH 16/20] util/qemu-timer: fix indentation
2024-12-10 20:43 ` [PATCH 16/20] util/qemu-timer: fix indentation Alex Bennée
@ 2024-12-10 22:16 ` Richard Henderson
2024-12-11 6:30 ` Thomas Huth
1 sibling, 0 replies; 37+ messages in thread
From: Richard Henderson @ 2024-12-10 22:16 UTC (permalink / raw)
To: Alex Bennée, qemu-devel
On 12/10/24 14:43, Alex Bennée wrote:
> Purely cosmetic.
>
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> ---
> util/qemu-timer.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/util/qemu-timer.c b/util/qemu-timer.c
> index ffe9a3c5c1..7b71655416 100644
> --- a/util/qemu-timer.c
> +++ b/util/qemu-timer.c
> @@ -680,7 +680,7 @@ int64_t qemu_clock_advance_virtual_time(int64_t dest)
> aio_context = qemu_get_aio_context();
>
> deadline = qemu_clock_deadline_ns_all(QEMU_CLOCK_VIRTUAL,
> - QEMU_TIMER_ATTR_ALL);
> + QEMU_TIMER_ATTR_ALL);
> /*
> * A deadline of < 0 indicates this timer is not enabled, so we
> * won't get far trying to run it forward.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
r~
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: [PATCH 19/20] tests/functional: remove hacky sleep from the tests
2024-12-10 20:43 ` [PATCH 19/20] tests/functional: remove hacky sleep from the tests Alex Bennée
@ 2024-12-10 22:18 ` Richard Henderson
2024-12-11 6:39 ` Thomas Huth
1 sibling, 0 replies; 37+ messages in thread
From: Richard Henderson @ 2024-12-10 22:18 UTC (permalink / raw)
To: Alex Bennée, qemu-devel
On 12/10/24 14:43, Alex Bennée wrote:
> We have proper detection of prompts now so we don't need to guess with
> sleep() sprinkled through the test. The extra step of calling halt is
> just to flush the final bits of the log (although the last line is
> still missed).
>
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
r~
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: [PATCH 20/20] tests/functional: extend test_aarch64_virt with vulkan test
2024-12-10 20:43 ` [PATCH 20/20] tests/functional: extend test_aarch64_virt with vulkan test Alex Bennée
@ 2024-12-10 22:20 ` Richard Henderson
2024-12-11 6:58 ` Thomas Huth
1 sibling, 0 replies; 37+ messages in thread
From: Richard Henderson @ 2024-12-10 22:20 UTC (permalink / raw)
To: Alex Bennée, qemu-devel
On 12/10/24 14:43, Alex Bennée wrote:
> Now we have virtio-gpu Vulkan support lets add a test for it.
> Currently this is using images build by buildroot:
>
> https://lists.buildroot.org/pipermail/buildroot/2024-December/768196.html
>
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> ---
> tests/functional/test_aarch64_virt.py | 83 ++++++++++++++++++++++++++-
> 1 file changed, 80 insertions(+), 3 deletions(-)
Why is this not in a new file, so that it can run in parallel
with the existing test?
r~
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: [PATCH 15/20] tests/functional/aarch64: add tests for FEAT_RME
2024-12-10 22:15 ` Richard Henderson
@ 2024-12-11 2:32 ` Pierrick Bouvier
0 siblings, 0 replies; 37+ messages in thread
From: Pierrick Bouvier @ 2024-12-11 2:32 UTC (permalink / raw)
To: Richard Henderson, Alex Bennée, qemu-devel
On 12/10/24 14:15, Richard Henderson wrote:
> On 12/10/24 14:43, Alex Bennée wrote:
>> From: Pierrick Bouvier<pierrick.bouvier@linaro.org>
>>
>> This boot an OP-TEE environment, and launch a nested guest VM inside it
>> using the Realms feature. We do it for virt and sbsa-ref platforms.
>>
>> Signed-off-by: Pierrick Bouvier<pierrick.bouvier@linaro.org>
>>
>> -----
>>
>> v2:
>> - move test to its own file
>> - add sbsa test
>> - check output of `cca-workload-attestation report`
>>
>> v3:
>> - build and run test with cca-v4 images
>> - factorize nested guest test between both tests
>> - remove accel tcg option as it is the default when running tests
>> Note: It's a long test and there is a work in progress to understand why
>> debug build is so slow (x12 vs optimized).
>>
>> v4:
>> - use pauth-impdef=on to speed up build time execution (x2.5 faster)
>> - increase timeout value
>>
>> Signed-off-by: Pierrick Bouvier<pierrick.bouvier@linaro.org>
>> Message-Id:<20241203213629.2482806-1-pierrick.bouvier@linaro.org>
>> Signed-off-by: Alex Bennée<alex.bennee@linaro.org>
>> ---
>> tests/functional/meson.build | 4 +
>> tests/functional/test_aarch64_rme_sbsaref.py | 70 +++++++++++++
>> tests/functional/test_aarch64_rme_virt.py | 100 +++++++++++++++++++
>> 3 files changed, 174 insertions(+)
>> create mode 100755 tests/functional/test_aarch64_rme_sbsaref.py
>> create mode 100755 tests/functional/test_aarch64_rme_virt.py
>
> Pierrick's changelog didn't get cut while applying.
>
> Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
>
> r~
>
Is it because the string marker string is longer than "---"?
I'll pay attention to that next time if it's the reason.
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: [PATCH 16/20] util/qemu-timer: fix indentation
2024-12-10 20:43 ` [PATCH 16/20] util/qemu-timer: fix indentation Alex Bennée
2024-12-10 22:16 ` Richard Henderson
@ 2024-12-11 6:30 ` Thomas Huth
1 sibling, 0 replies; 37+ messages in thread
From: Thomas Huth @ 2024-12-11 6:30 UTC (permalink / raw)
To: Alex Bennée, qemu-devel
Cc: Daniel Henrique Barboza, qemu-s390x, Halil Pasic, Jiaxun Yang,
Weiwei Li, Liu Zhiwei, Cleber Rosa, Palmer Dabbelt, Leif Lindholm,
Eric Farman, Marc-André Lureau, John Snow,
Philippe Mathieu-Daudé, Harsh Prateek Bora, Aurelien Jarno,
Paolo Bonzini, Joel Stanley, Bernhard Beschow, qemu-ppc,
qemu-riscv, Daniel Henrique Barboza, Laurent Vivier, qemu-arm,
Wainer dos Santos Moschetta, Fabiano Rosas, Markus Armbruster,
Bin Meng, Pavel Dovgalyuk, Marcel Apfelbaum, Richard Henderson,
Marcin Juszkiewicz, Christian Borntraeger, Beraldo Leal,
Peter Maydell, Radoslaw Biernacki, Daniel P. Berrangé,
Nicholas Piggin, Mark Cave-Ayland, Michael S. Tsirkin,
Alistair Francis
On 10/12/2024 21.43, Alex Bennée wrote:
> Purely cosmetic.
>
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> ---
> util/qemu-timer.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/util/qemu-timer.c b/util/qemu-timer.c
> index ffe9a3c5c1..7b71655416 100644
> --- a/util/qemu-timer.c
> +++ b/util/qemu-timer.c
> @@ -680,7 +680,7 @@ int64_t qemu_clock_advance_virtual_time(int64_t dest)
> aio_context = qemu_get_aio_context();
>
> deadline = qemu_clock_deadline_ns_all(QEMU_CLOCK_VIRTUAL,
> - QEMU_TIMER_ATTR_ALL);
> + QEMU_TIMER_ATTR_ALL);
> /*
> * A deadline of < 0 indicates this timer is not enabled, so we
> * won't get far trying to run it forward.
Reviewed-by: Thomas Huth <thuth@redhat.com>
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: [PATCH 18/20] system/qtest: properly feedback results of clock_[step|set]
2024-12-10 20:43 ` [PATCH 18/20] system/qtest: properly feedback results of clock_[step|set] Alex Bennée
@ 2024-12-11 6:35 ` Thomas Huth
2024-12-12 12:36 ` Fabiano Rosas
1 sibling, 0 replies; 37+ messages in thread
From: Thomas Huth @ 2024-12-11 6:35 UTC (permalink / raw)
To: Alex Bennée, qemu-devel
Cc: Daniel Henrique Barboza, qemu-s390x, Halil Pasic, Jiaxun Yang,
Weiwei Li, Liu Zhiwei, Cleber Rosa, Palmer Dabbelt, Leif Lindholm,
Eric Farman, Marc-André Lureau, John Snow,
Philippe Mathieu-Daudé, Harsh Prateek Bora, Aurelien Jarno,
Paolo Bonzini, Joel Stanley, Bernhard Beschow, qemu-ppc,
qemu-riscv, Daniel Henrique Barboza, Laurent Vivier, qemu-arm,
Wainer dos Santos Moschetta, Fabiano Rosas, Markus Armbruster,
Bin Meng, Pavel Dovgalyuk, Marcel Apfelbaum, Richard Henderson,
Marcin Juszkiewicz, Christian Borntraeger, Beraldo Leal,
Peter Maydell, Radoslaw Biernacki, Daniel P. Berrangé,
Nicholas Piggin, Mark Cave-Ayland, Michael S. Tsirkin,
Alistair Francis
On 10/12/2024 21.43, Alex Bennée wrote:
> Time will not advance if the system is paused or there are no timer
> events set for the future. In absence of pending timer events
> advancing time would make no difference the system state. Attempting
> to do so would be a bug and the test or device under test would need
> fixing.
>
> Tighten up the result reporting to `FAIL` if time was not advanced.
>
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2687
> ---
> system/qtest.c | 23 ++++++++++++++---------
> 1 file changed, 14 insertions(+), 9 deletions(-)
>
> diff --git a/system/qtest.c b/system/qtest.c
> index 12703a2045..d9501153a4 100644
> --- a/system/qtest.c
> +++ b/system/qtest.c
> @@ -78,6 +78,11 @@ static void *qtest_server_send_opaque;
> * let you adjust the value of the clock (monotonically). All the commands
> * return the current value of the clock in nanoseconds.
> *
> + * If the commands FAIL then time wasn't advanced which is likely
> + * because the machine was in a paused state or no timer events exist
> + * in the future. This will cause qtest to abort and the test will
> + * need to check its assumptions.
> + *
> * .. code-block:: none
> *
> * > clock_step
> @@ -710,7 +715,8 @@ static void qtest_process_command(CharBackend *chr, gchar **words)
> qtest_sendf(chr, "OK little\n");
> }
> } else if (qtest_enabled() && strcmp(words[0], "clock_step") == 0) {
> - int64_t ns;
> + int64_t old_ns = qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL);
> + int64_t ns, new_ns;
>
> if (words[1]) {
> int ret = qemu_strtoi64(words[1], NULL, 0, &ns);
> @@ -719,11 +725,10 @@ static void qtest_process_command(CharBackend *chr, gchar **words)
> ns = qemu_clock_deadline_ns_all(QEMU_CLOCK_VIRTUAL,
> QEMU_TIMER_ATTR_ALL);
> }
> - qemu_clock_advance_virtual_time(
> - qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL) + ns);
> + new_ns = qemu_clock_advance_virtual_time(old_ns + ns);
> qtest_send_prefix(chr);
> - qtest_sendf(chr, "OK %"PRIi64"\n",
> - (int64_t)qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL));
> + qtest_sendf(chr, "%s %"PRIi64"\n",
> + new_ns > old_ns ? "OK" : "FAIL", new_ns);
> } else if (strcmp(words[0], "module_load") == 0) {
> Error *local_err = NULL;
> int rv;
> @@ -740,16 +745,16 @@ static void qtest_process_command(CharBackend *chr, gchar **words)
> qtest_sendf(chr, "FAIL\n");
> }
> } else if (qtest_enabled() && strcmp(words[0], "clock_set") == 0) {
> - int64_t ns;
> + int64_t ns, new_ns;
> int ret;
>
> g_assert(words[1]);
> ret = qemu_strtoi64(words[1], NULL, 0, &ns);
> g_assert(ret == 0);
> - qemu_clock_advance_virtual_time(ns);
> + new_ns = qemu_clock_advance_virtual_time(ns);
> qtest_send_prefix(chr);
> - qtest_sendf(chr, "OK %"PRIi64"\n",
> - (int64_t)qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL));
> + qtest_sendf(chr, "%s %"PRIi64"\n",
> + new_ns == ns ? "OK" : "FAIL", new_ns);
> } else if (process_command_cb && process_command_cb(chr, words)) {
> /* Command got consumed by the callback handler */
> } else {
Reviewed-by: Thomas Huth <thuth@redhat.com>
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: [PATCH 17/20] tests/qtest: move clock_steps to after checks
2024-12-10 20:43 ` [PATCH 17/20] tests/qtest: move clock_steps to after checks Alex Bennée
@ 2024-12-11 6:37 ` Thomas Huth
2024-12-12 12:34 ` Fabiano Rosas
1 sibling, 0 replies; 37+ messages in thread
From: Thomas Huth @ 2024-12-11 6:37 UTC (permalink / raw)
To: Alex Bennée, qemu-devel
Cc: Daniel Henrique Barboza, qemu-s390x, Halil Pasic, Jiaxun Yang,
Weiwei Li, Liu Zhiwei, Cleber Rosa, Palmer Dabbelt, Leif Lindholm,
Eric Farman, Marc-André Lureau, John Snow,
Philippe Mathieu-Daudé, Harsh Prateek Bora, Aurelien Jarno,
Paolo Bonzini, Joel Stanley, Bernhard Beschow, qemu-ppc,
qemu-riscv, Daniel Henrique Barboza, Laurent Vivier, qemu-arm,
Wainer dos Santos Moschetta, Fabiano Rosas, Markus Armbruster,
Bin Meng, Pavel Dovgalyuk, Marcel Apfelbaum, Richard Henderson,
Marcin Juszkiewicz, Christian Borntraeger, Beraldo Leal,
Peter Maydell, Radoslaw Biernacki, Daniel P. Berrangé,
Nicholas Piggin, Mark Cave-Ayland, Michael S. Tsirkin,
Alistair Francis
On 10/12/2024 21.43, Alex Bennée wrote:
> In the qtest environment time will not step forward if the system is
> paused (timers disabled) or we have no timer events to fire. As a
> result VirtIO events are responded to directly and we don't need to
> step time forward.
>
> Potentially the clock_step calls could be removed all together but as
> we may implement async behaviour later lets just move them to after
> the principle check for now.
>
> Future qtest patches will assert that time actually changes with a
s/with/when/ ?
> step is requested.
>
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> ---
> tests/qtest/libqos/virtio.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
With the description fixed:
Reviewed-by: Thomas Huth <thuth@redhat.com>
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: [PATCH 19/20] tests/functional: remove hacky sleep from the tests
2024-12-10 20:43 ` [PATCH 19/20] tests/functional: remove hacky sleep from the tests Alex Bennée
2024-12-10 22:18 ` Richard Henderson
@ 2024-12-11 6:39 ` Thomas Huth
1 sibling, 0 replies; 37+ messages in thread
From: Thomas Huth @ 2024-12-11 6:39 UTC (permalink / raw)
To: Alex Bennée, qemu-devel
Cc: Daniel Henrique Barboza, qemu-s390x, Halil Pasic, Jiaxun Yang,
Weiwei Li, Liu Zhiwei, Cleber Rosa, Palmer Dabbelt, Leif Lindholm,
Eric Farman, Marc-André Lureau, John Snow,
Philippe Mathieu-Daudé, Harsh Prateek Bora, Aurelien Jarno,
Paolo Bonzini, Joel Stanley, Bernhard Beschow, qemu-ppc,
qemu-riscv, Daniel Henrique Barboza, Laurent Vivier, qemu-arm,
Wainer dos Santos Moschetta, Fabiano Rosas, Markus Armbruster,
Bin Meng, Pavel Dovgalyuk, Marcel Apfelbaum, Richard Henderson,
Marcin Juszkiewicz, Christian Borntraeger, Beraldo Leal,
Peter Maydell, Radoslaw Biernacki, Daniel P. Berrangé,
Nicholas Piggin, Mark Cave-Ayland, Michael S. Tsirkin,
Alistair Francis
On 10/12/2024 21.43, Alex Bennée wrote:
> We have proper detection of prompts now so we don't need to guess with
> sleep() sprinkled through the test. The extra step of calling halt is
> just to flush the final bits of the log (although the last line is
> still missed).
>
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> ---
> tests/functional/test_aarch64_virt.py | 22 ++++++++++------------
> 1 file changed, 10 insertions(+), 12 deletions(-)
Reviewed-by: Thomas Huth <thuth@redhat.com>
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: [PATCH 20/20] tests/functional: extend test_aarch64_virt with vulkan test
2024-12-10 20:43 ` [PATCH 20/20] tests/functional: extend test_aarch64_virt with vulkan test Alex Bennée
2024-12-10 22:20 ` Richard Henderson
@ 2024-12-11 6:58 ` Thomas Huth
2024-12-12 12:32 ` Alex Bennée
1 sibling, 1 reply; 37+ messages in thread
From: Thomas Huth @ 2024-12-11 6:58 UTC (permalink / raw)
To: Alex Bennée, qemu-devel, Daniel P. Berrange
Cc: Daniel Henrique Barboza, qemu-s390x, Halil Pasic, Jiaxun Yang,
Weiwei Li, Liu Zhiwei, Cleber Rosa, Palmer Dabbelt, Leif Lindholm,
Eric Farman, Marc-André Lureau, John Snow,
Philippe Mathieu-Daudé, Harsh Prateek Bora, Aurelien Jarno,
Paolo Bonzini, Joel Stanley, Bernhard Beschow, qemu-ppc,
qemu-riscv, Daniel Henrique Barboza, Laurent Vivier, qemu-arm,
Wainer dos Santos Moschetta, Fabiano Rosas, Markus Armbruster,
Bin Meng, Pavel Dovgalyuk, Marcel Apfelbaum, Richard Henderson,
Marcin Juszkiewicz, Christian Borntraeger, Beraldo Leal,
Peter Maydell, Radoslaw Biernacki, Daniel P. Berrangé,
Nicholas Piggin, Mark Cave-Ayland, Michael S. Tsirkin,
Alistair Francis
On 10/12/2024 21.43, Alex Bennée wrote:
> Now we have virtio-gpu Vulkan support lets add a test for it.
> Currently this is using images build by buildroot:
>
> https://lists.buildroot.org/pipermail/buildroot/2024-December/768196.html
>
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> ---
> tests/functional/test_aarch64_virt.py | 83 ++++++++++++++++++++++++++-
> 1 file changed, 80 insertions(+), 3 deletions(-)
>
> diff --git a/tests/functional/test_aarch64_virt.py b/tests/functional/test_aarch64_virt.py
> index 801300607c..25d11e2626 100755
> --- a/tests/functional/test_aarch64_virt.py
> +++ b/tests/functional/test_aarch64_virt.py
> @@ -14,11 +14,12 @@
> import os
> import logging
>
> +from qemu.machine.machine import VMLaunchFailure
> +
> from qemu_test import BUILD_DIR
> from qemu_test import QemuSystemTest, Asset
> -from qemu_test import exec_command, wait_for_console_pattern
> -from qemu_test import get_qemu_img, run_cmd
> -
> +from qemu_test import exec_command, wait_for_console_pattern, exec_command_and_wait_for_pattern
> +from qemu_test import has_cmd, get_qemu_img, run_cmd
>
> class Aarch64VirtMachine(QemuSystemTest):
> KERNEL_COMMON_COMMAND_LINE = 'printk.time=0 '
> @@ -125,5 +126,81 @@ def test_aarch64_virt_gicv2(self):
> self.common_aarch64_virt("virt,gic-version=2")
>
>
> + ASSET_VIRT_GPU_KERNEL = Asset(
> + ('https://fileserver.linaro.org/s/ce5jXBFinPxtEdx/'
> + 'download?path=%2F&files='
> + 'Image'),
> + '89e5099d26166204cc5ca4bb6d1a11b92c217e1f82ec67e3ba363d09157462f6')
> +
> + ASSET_VIRT_GPU_ROOTFS = Asset(
> + ('https://fileserver.linaro.org/s/ce5jXBFinPxtEdx/'
> + 'download?path=%2F&files='
> + 'rootfs.ext4.zstd'),
> + '792da7573f5dc2913ddb7c638151d4a6b2d028a4cb2afb38add513c1924bdad4')
> +
> + def test_aarch64_virt_with_gpu(self):
> + # This tests boots with a buildroot test image that contains
> + # vkmark and other GPU exercising tools. We run a headless
> + # weston that nevertheless still exercises the virtio-gpu
> + # backend.
> +
> + (has_zstd, msg) = has_cmd('zstd')
> + if has_zstd is False:
> + self.skipTest(msg)
I'd recommend to use a decorator instead:
@skipUnless(*has_cmd('zstd'))
or if Daniel's patch series lands first, switch to @skipIfMissingCommands:
https://lore.kernel.org/qemu-devel/20241129173120.761728-7-berrange@redhat.com/
> + self.zstd = 'zstd'
You only use self.zstd once, so the detour through a variable seems
unnecessary here?
> + image_path_zst = self.ASSET_VIRT_GPU_ROOTFS.fetch()
> + kernel_path = self.ASSET_VIRT_GPU_KERNEL.fetch()
> +
> + image_path = self.workdir + "/rootfs.ext4"
> +
> + run_cmd([self.zstd, "-f", "-d", image_path_zst,
> + "-o", image_path])
> +
> + self.set_machine('virt')
Please move set_machine to the top of the function. Reasoning: It can cancel
the test if the 'virt' machine has not been compiled into the binary. In
that case you'd extracted the rootfs image in vain.
> + self.vm.set_console()
> + kernel_command_line = (self.KERNEL_COMMON_COMMAND_LINE +
> + 'console=ttyAMA0 root=/dev/vda')
> + self.require_accelerator("tcg")
Same, please move to the beginning since it can skip the test.
> + self.vm.add_args("-accel", "tcg")
> + self.vm.add_args("-cpu", "neoverse-v1,pauth-impdef=on")
> + self.vm.add_args("-machine",
> + "virt,virtualization=on,"
> + "gic-version=max",
> + '-kernel', kernel_path,
> + '-append', kernel_command_line)
> + self.vm.add_args("-smp", "2", "-m", "2048")
> + self.vm.add_args("-device", "virtio-gpu-gl-pci,hostmem=4G,blob=on,venus=on")
> + self.vm.add_args("-display", "egl-headless")
> + self.vm.add_args("-display", "dbus,gl=on")
> + self.vm.add_args("-device", "virtio-blk-device,drive=hd0")
> + self.vm.add_args("-blockdev",
> + "driver=raw,file.driver=file,node-name=hd0,read-only=on,"
> + f"file.filename={image_path}")
> + self.vm.add_args("--snapshot")
Any reason for using double dashes just here and not for the other commands?
> + try:
> + self.vm.launch()
> + except VMLaunchFailure as e:
> + if "old virglrenderer, blob resources unsupported" in e.output:
> + self.skipTest("No blob support for virtio-gpu")
> + elif "old virglrenderer, venus unsupported" in e.output:
> + self.skipTest("No venus support for virtio-gpu")
> + else:
> + self.log.info(f"un-handled launch failure: {e.output}")
s/un-handled/unhandled/ ?
Thomas
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: [PATCH 15/20] tests/functional/aarch64: add tests for FEAT_RME
2024-12-10 20:43 ` [PATCH 15/20] tests/functional/aarch64: add tests for FEAT_RME Alex Bennée
2024-12-10 22:15 ` Richard Henderson
@ 2024-12-11 8:04 ` Thomas Huth
2024-12-11 16:21 ` Pierrick Bouvier
1 sibling, 1 reply; 37+ messages in thread
From: Thomas Huth @ 2024-12-11 8:04 UTC (permalink / raw)
To: Alex Bennée, qemu-devel
Cc: Daniel Henrique Barboza, qemu-s390x, Halil Pasic, Jiaxun Yang,
Weiwei Li, Liu Zhiwei, Cleber Rosa, Palmer Dabbelt, Leif Lindholm,
Eric Farman, Marc-André Lureau, John Snow,
Philippe Mathieu-Daudé, Harsh Prateek Bora, Aurelien Jarno,
Paolo Bonzini, Joel Stanley, Bernhard Beschow, qemu-ppc,
qemu-riscv, Daniel Henrique Barboza, Laurent Vivier, qemu-arm,
Wainer dos Santos Moschetta, Fabiano Rosas, Markus Armbruster,
Bin Meng, Pavel Dovgalyuk, Marcel Apfelbaum, Richard Henderson,
Marcin Juszkiewicz, Christian Borntraeger, Beraldo Leal,
Peter Maydell, Radoslaw Biernacki, Daniel P. Berrangé,
Nicholas Piggin, Mark Cave-Ayland, Michael S. Tsirkin,
Alistair Francis, Pierrick Bouvier
On 10/12/2024 21.43, Alex Bennée wrote:
> From: Pierrick Bouvier <pierrick.bouvier@linaro.org>
>
> This boot an OP-TEE environment, and launch a nested guest VM inside it
> using the Realms feature. We do it for virt and sbsa-ref platforms.
>
> Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
>
> -----
>
> v2:
> - move test to its own file
> - add sbsa test
> - check output of `cca-workload-attestation report`
>
> v3:
> - build and run test with cca-v4 images
> - factorize nested guest test between both tests
> - remove accel tcg option as it is the default when running tests
> Note: It's a long test and there is a work in progress to understand why
> debug build is so slow (x12 vs optimized).
>
> v4:
> - use pauth-impdef=on to speed up build time execution (x2.5 faster)
> - increase timeout value
>
> Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
> Message-Id: <20241203213629.2482806-1-pierrick.bouvier@linaro.org>
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> ---
> tests/functional/meson.build | 4 +
> tests/functional/test_aarch64_rme_sbsaref.py | 70 +++++++++++++
> tests/functional/test_aarch64_rme_virt.py | 100 +++++++++++++++++++
> 3 files changed, 174 insertions(+)
> create mode 100755 tests/functional/test_aarch64_rme_sbsaref.py
> create mode 100755 tests/functional/test_aarch64_rme_virt.py
>
> diff --git a/tests/functional/meson.build b/tests/functional/meson.build
> index 0a76bd9954..4e207c53d5 100644
> --- a/tests/functional/meson.build
> +++ b/tests/functional/meson.build
> @@ -13,6 +13,8 @@ endif
> test_timeouts = {
> 'aarch64_aspeed' : 600,
> 'aarch64_raspi4' : 480,
> + 'aarch64_rme_virt' : 1200,
> + 'aarch64_rme_sbsaref' : 1200,
I was a little bit worried when I saw the big timeout values here, but
that's only for debug builds, right? I gave it a try in a standard build,
the tests both finished within 5 minutes, so the standard runtime still
seems to be ok.
Tested-by: Thomas Huth <thuth@redhat.com>
> + # This tests the FEAT_RME cpu implementation, by booting a VM
supporting it,
> + # and launching a nested VM using it.
> + def test_aarch64_rme_sbsaref(self):
> + stack_path_tar_gz = self.ASSET_RME_STACK_SBSA.fetch()
> + archive_extract(stack_path_tar_gz, self.workdir)
> +
> + self.set_machine('sbsa-ref')
> + self.vm.set_console()
> + self.require_accelerator('tcg')
Please move the set_machine and require_accelerator to the beginning of the
function since they can skip the test in case the prerequisite is not
available. Otherwise you've extracted the asset in vain.
Thomas
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: [PATCH 15/20] tests/functional/aarch64: add tests for FEAT_RME
2024-12-11 8:04 ` Thomas Huth
@ 2024-12-11 16:21 ` Pierrick Bouvier
0 siblings, 0 replies; 37+ messages in thread
From: Pierrick Bouvier @ 2024-12-11 16:21 UTC (permalink / raw)
To: Thomas Huth, Alex Bennée, qemu-devel
Cc: Daniel Henrique Barboza, qemu-s390x, Halil Pasic, Jiaxun Yang,
Weiwei Li, Liu Zhiwei, Cleber Rosa, Palmer Dabbelt, Leif Lindholm,
Eric Farman, Marc-André Lureau, John Snow,
Philippe Mathieu-Daudé, Harsh Prateek Bora, Aurelien Jarno,
Paolo Bonzini, Joel Stanley, Bernhard Beschow, qemu-ppc,
qemu-riscv, Daniel Henrique Barboza, Laurent Vivier, qemu-arm,
Wainer dos Santos Moschetta, Fabiano Rosas, Markus Armbruster,
Bin Meng, Pavel Dovgalyuk, Marcel Apfelbaum, Richard Henderson,
Marcin Juszkiewicz, Christian Borntraeger, Beraldo Leal,
Peter Maydell, Radoslaw Biernacki, Daniel P. Berrangé,
Nicholas Piggin, Mark Cave-Ayland, Michael S. Tsirkin,
Alistair Francis
On 12/11/24 00:04, Thomas Huth wrote:
> On 10/12/2024 21.43, Alex Bennée wrote:
>> From: Pierrick Bouvier <pierrick.bouvier@linaro.org>
>>
>> This boot an OP-TEE environment, and launch a nested guest VM inside it
>> using the Realms feature. We do it for virt and sbsa-ref platforms.
>>
>> Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
>>
>> -----
>>
>> v2:
>> - move test to its own file
>> - add sbsa test
>> - check output of `cca-workload-attestation report`
>>
>> v3:
>> - build and run test with cca-v4 images
>> - factorize nested guest test between both tests
>> - remove accel tcg option as it is the default when running tests
>> Note: It's a long test and there is a work in progress to understand why
>> debug build is so slow (x12 vs optimized).
>>
>> v4:
>> - use pauth-impdef=on to speed up build time execution (x2.5 faster)
>> - increase timeout value
>>
>> Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
>> Message-Id: <20241203213629.2482806-1-pierrick.bouvier@linaro.org>
>> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
>> ---
>> tests/functional/meson.build | 4 +
>> tests/functional/test_aarch64_rme_sbsaref.py | 70 +++++++++++++
>> tests/functional/test_aarch64_rme_virt.py | 100 +++++++++++++++++++
>> 3 files changed, 174 insertions(+)
>> create mode 100755 tests/functional/test_aarch64_rme_sbsaref.py
>> create mode 100755 tests/functional/test_aarch64_rme_virt.py
>>
>> diff --git a/tests/functional/meson.build b/tests/functional/meson.build
>> index 0a76bd9954..4e207c53d5 100644
>> --- a/tests/functional/meson.build
>> +++ b/tests/functional/meson.build
>> @@ -13,6 +13,8 @@ endif
>> test_timeouts = {
>> 'aarch64_aspeed' : 600,
>> 'aarch64_raspi4' : 480,
>> + 'aarch64_rme_virt' : 1200,
>> + 'aarch64_rme_sbsaref' : 1200,
>
> I was a little bit worried when I saw the big timeout values here, but
> that's only for debug builds, right? I gave it a try in a standard build,
> the tests both finished within 5 minutes, so the standard runtime still
> seems to be ok.
>
Yes, it's for debug only.
> Tested-by: Thomas Huth <thuth@redhat.com>
>
> > + # This tests the FEAT_RME cpu implementation, by booting a VM
> supporting it,
> > + # and launching a nested VM using it.
> > + def test_aarch64_rme_sbsaref(self):
> > + stack_path_tar_gz = self.ASSET_RME_STACK_SBSA.fetch()
> > + archive_extract(stack_path_tar_gz, self.workdir)
> > +
> > + self.set_machine('sbsa-ref')
> > + self.vm.set_console()
> > + self.require_accelerator('tcg')
>
> Please move the set_machine and require_accelerator to the beginning of the
> function since they can skip the test in case the prerequisite is not
> available. Otherwise you've extracted the asset in vain.
>
Alex, could you please kindly update it, as it's part of your series now?
> Thomas
>
Thanks,
Pierrick
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: [PATCH 20/20] tests/functional: extend test_aarch64_virt with vulkan test
2024-12-11 6:58 ` Thomas Huth
@ 2024-12-12 12:32 ` Alex Bennée
2024-12-12 14:03 ` Thomas Huth
0 siblings, 1 reply; 37+ messages in thread
From: Alex Bennée @ 2024-12-12 12:32 UTC (permalink / raw)
To: Thomas Huth
Cc: qemu-devel, Daniel P. Berrange, Daniel Henrique Barboza,
qemu-s390x, Halil Pasic, Jiaxun Yang, Weiwei Li, Liu Zhiwei,
Cleber Rosa, Palmer Dabbelt, Leif Lindholm, Eric Farman,
Marc-André Lureau, John Snow, Philippe Mathieu-Daudé,
Harsh Prateek Bora, Aurelien Jarno, Paolo Bonzini, Joel Stanley,
Bernhard Beschow, qemu-ppc, qemu-riscv, Daniel Henrique Barboza,
Laurent Vivier, qemu-arm, Wainer dos Santos Moschetta,
Fabiano Rosas, Markus Armbruster, Bin Meng, Pavel Dovgalyuk,
Marcel Apfelbaum, Richard Henderson, Marcin Juszkiewicz,
Christian Borntraeger, Beraldo Leal, Peter Maydell,
Radoslaw Biernacki, Nicholas Piggin, Mark Cave-Ayland,
Michael S. Tsirkin, Alistair Francis
Thomas Huth <thuth@redhat.com> writes:
> On 10/12/2024 21.43, Alex Bennée wrote:
>> Now we have virtio-gpu Vulkan support lets add a test for it.
>> Currently this is using images build by buildroot:
>> https://lists.buildroot.org/pipermail/buildroot/2024-December/768196.html
>> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
<snip>
>> + self.vm.set_console()
>> + kernel_command_line = (self.KERNEL_COMMON_COMMAND_LINE +
>> + 'console=ttyAMA0 root=/dev/vda')
>> + self.require_accelerator("tcg")
>
> Same, please move to the beginning since it can skip the test.
>
>> + self.vm.add_args("-accel", "tcg")
Actually this could run under KVM if we have it for Aarch64. Can we
represent that?
>> + self.vm.add_args("-cpu", "neoverse-v1,pauth-impdef=on")
I guess in that case we'd use -cpu host as well.
>> + self.vm.add_args("-machine",
>> + "virt,virtualization=on,"
>> + "gic-version=max",
>> + '-kernel', kernel_path,
>> + '-append', kernel_command_line)
>> + self.vm.add_args("-smp", "2", "-m", "2048")
>> + self.vm.add_args("-device", "virtio-gpu-gl-pci,hostmem=4G,blob=on,venus=on")
>> + self.vm.add_args("-display", "egl-headless")
>> + self.vm.add_args("-display", "dbus,gl=on")
>> + self.vm.add_args("-device", "virtio-blk-device,drive=hd0")
>> + self.vm.add_args("-blockdev",
>> + "driver=raw,file.driver=file,node-name=hd0,read-only=on,"
>> + f"file.filename={image_path}")
>> + self.vm.add_args("--snapshot")
>
> Any reason for using double dashes just here and not for the other commands?
>
>> + try:
>> + self.vm.launch()
>> + except VMLaunchFailure as e:
>> + if "old virglrenderer, blob resources unsupported" in e.output:
>> + self.skipTest("No blob support for virtio-gpu")
>> + elif "old virglrenderer, venus unsupported" in e.output:
>> + self.skipTest("No venus support for virtio-gpu")
>> + else:
>> + self.log.info(f"un-handled launch failure: {e.output}")
>
> s/un-handled/unhandled/ ?
>
> Thomas
--
Alex Bennée
Virtualisation Tech Lead @ Linaro
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: [PATCH 17/20] tests/qtest: move clock_steps to after checks
2024-12-10 20:43 ` [PATCH 17/20] tests/qtest: move clock_steps to after checks Alex Bennée
2024-12-11 6:37 ` Thomas Huth
@ 2024-12-12 12:34 ` Fabiano Rosas
1 sibling, 0 replies; 37+ messages in thread
From: Fabiano Rosas @ 2024-12-12 12:34 UTC (permalink / raw)
To: Alex Bennée, qemu-devel
Cc: Daniel Henrique Barboza, qemu-s390x, Halil Pasic, Jiaxun Yang,
Weiwei Li, Liu Zhiwei, Cleber Rosa, Palmer Dabbelt, Leif Lindholm,
Eric Farman, Marc-André Lureau, John Snow,
Philippe Mathieu-Daudé, Harsh Prateek Bora, Aurelien Jarno,
Paolo Bonzini, Joel Stanley, Bernhard Beschow, qemu-ppc,
qemu-riscv, Daniel Henrique Barboza, Thomas Huth, Laurent Vivier,
qemu-arm, Wainer dos Santos Moschetta, Markus Armbruster,
Bin Meng, Pavel Dovgalyuk, Marcel Apfelbaum, Richard Henderson,
Marcin Juszkiewicz, Christian Borntraeger, Beraldo Leal,
Peter Maydell, Radoslaw Biernacki, Daniel P. Berrangé,
Alex Bennée, Nicholas Piggin, Mark Cave-Ayland,
Michael S. Tsirkin, Alistair Francis
Alex Bennée <alex.bennee@linaro.org> writes:
> In the qtest environment time will not step forward if the system is
> paused (timers disabled) or we have no timer events to fire. As a
> result VirtIO events are responded to directly and we don't need to
> step time forward.
>
> Potentially the clock_step calls could be removed all together but as
> we may implement async behaviour later lets just move them to after
> the principle check for now.
>
> Future qtest patches will assert that time actually changes with a
> step is requested.
>
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Fabiano Rosas <farosas@suse.de>
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: [PATCH 18/20] system/qtest: properly feedback results of clock_[step|set]
2024-12-10 20:43 ` [PATCH 18/20] system/qtest: properly feedback results of clock_[step|set] Alex Bennée
2024-12-11 6:35 ` Thomas Huth
@ 2024-12-12 12:36 ` Fabiano Rosas
1 sibling, 0 replies; 37+ messages in thread
From: Fabiano Rosas @ 2024-12-12 12:36 UTC (permalink / raw)
To: Alex Bennée, qemu-devel
Cc: Daniel Henrique Barboza, qemu-s390x, Halil Pasic, Jiaxun Yang,
Weiwei Li, Liu Zhiwei, Cleber Rosa, Palmer Dabbelt, Leif Lindholm,
Eric Farman, Marc-André Lureau, John Snow,
Philippe Mathieu-Daudé, Harsh Prateek Bora, Aurelien Jarno,
Paolo Bonzini, Joel Stanley, Bernhard Beschow, qemu-ppc,
qemu-riscv, Daniel Henrique Barboza, Thomas Huth, Laurent Vivier,
qemu-arm, Wainer dos Santos Moschetta, Markus Armbruster,
Bin Meng, Pavel Dovgalyuk, Marcel Apfelbaum, Richard Henderson,
Marcin Juszkiewicz, Christian Borntraeger, Beraldo Leal,
Peter Maydell, Radoslaw Biernacki, Daniel P. Berrangé,
Alex Bennée, Nicholas Piggin, Mark Cave-Ayland,
Michael S. Tsirkin, Alistair Francis
Alex Bennée <alex.bennee@linaro.org> writes:
> Time will not advance if the system is paused or there are no timer
> events set for the future. In absence of pending timer events
> advancing time would make no difference the system state. Attempting
> to do so would be a bug and the test or device under test would need
> fixing.
>
> Tighten up the result reporting to `FAIL` if time was not advanced.
>
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2687
Acked-by: Fabiano Rosas <farosas@suse.de>
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: [PATCH 20/20] tests/functional: extend test_aarch64_virt with vulkan test
2024-12-12 12:32 ` Alex Bennée
@ 2024-12-12 14:03 ` Thomas Huth
0 siblings, 0 replies; 37+ messages in thread
From: Thomas Huth @ 2024-12-12 14:03 UTC (permalink / raw)
To: Alex Bennée
Cc: qemu-devel, Daniel P. Berrange, Daniel Henrique Barboza,
qemu-s390x, Halil Pasic, Jiaxun Yang, Weiwei Li, Liu Zhiwei,
Cleber Rosa, Palmer Dabbelt, Leif Lindholm, Eric Farman,
Marc-André Lureau, John Snow, Philippe Mathieu-Daudé,
Harsh Prateek Bora, Aurelien Jarno, Paolo Bonzini, Joel Stanley,
Bernhard Beschow, qemu-ppc, qemu-riscv, Daniel Henrique Barboza,
Laurent Vivier, qemu-arm, Wainer dos Santos Moschetta,
Fabiano Rosas, Markus Armbruster, Bin Meng, Pavel Dovgalyuk,
Marcel Apfelbaum, Richard Henderson, Marcin Juszkiewicz,
Christian Borntraeger, Beraldo Leal, Peter Maydell,
Radoslaw Biernacki, Nicholas Piggin, Mark Cave-Ayland,
Michael S. Tsirkin, Alistair Francis
On 12/12/2024 13.32, Alex Bennée wrote:
> Thomas Huth <thuth@redhat.com> writes:
>
>> On 10/12/2024 21.43, Alex Bennée wrote:
>>> Now we have virtio-gpu Vulkan support lets add a test for it.
>>> Currently this is using images build by buildroot:
>>> https://lists.buildroot.org/pipermail/buildroot/2024-December/768196.html
>>> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> <snip>
>>> + self.vm.set_console()
>>> + kernel_command_line = (self.KERNEL_COMMON_COMMAND_LINE +
>>> + 'console=ttyAMA0 root=/dev/vda')
>>> + self.require_accelerator("tcg")
>>
>> Same, please move to the beginning since it can skip the test.
>>
>>> + self.vm.add_args("-accel", "tcg")
>
> Actually this could run under KVM if we have it for Aarch64. Can we
> represent that?
Simply omit the line "require" line and add an additional -accel kvm here?
... I think nobody ever tried to run the functional tests with another
accelerator beside kvm and tcg on aarch64 hosts, so it should be fine.
Thomas
^ permalink raw reply [flat|nested] 37+ messages in thread
end of thread, other threads:[~2024-12-12 14:04 UTC | newest]
Thread overview: 37+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-10 20:43 [PATCH 00/20] testing/next: functional tests and qtest timers Alex Bennée
2024-12-10 20:43 ` [PATCH 01/20] tests/functional: update the arm tuxrun tests Alex Bennée
2024-12-10 20:43 ` [PATCH 02/20] tests/functional: update the i386 " Alex Bennée
2024-12-10 20:43 ` [PATCH 03/20] tests/functional: add a m68k " Alex Bennée
2024-12-10 20:43 ` [PATCH 04/20] tests/functional: update the mips32 " Alex Bennée
2024-12-10 20:43 ` [PATCH 05/20] tests/functional: update the mips32el " Alex Bennée
2024-12-10 20:43 ` [PATCH 06/20] tests/functional: update the mips64 " Alex Bennée
2024-12-10 20:43 ` [PATCH 07/20] tests/functional: update the mips64el " Alex Bennée
2024-12-10 20:43 ` [PATCH 08/20] tests/functional: update the ppc32 " Alex Bennée
2024-12-10 20:43 ` [PATCH 09/20] tests/functional: update the ppc64 " Alex Bennée
2024-12-10 20:43 ` [PATCH 10/20] tests/functional: update the riscv32 " Alex Bennée
2024-12-10 20:43 ` [PATCH 11/20] tests/functional: update the riscv64 " Alex Bennée
2024-12-10 20:43 ` [PATCH 12/20] tests/functional: update the s390x " Alex Bennée
2024-12-10 20:43 ` [PATCH 13/20] tests/functional: update the sparc64 " Alex Bennée
2024-12-10 20:43 ` [PATCH 14/20] tests/functional: update the x86_64 " Alex Bennée
2024-12-10 20:43 ` [PATCH 15/20] tests/functional/aarch64: add tests for FEAT_RME Alex Bennée
2024-12-10 22:15 ` Richard Henderson
2024-12-11 2:32 ` Pierrick Bouvier
2024-12-11 8:04 ` Thomas Huth
2024-12-11 16:21 ` Pierrick Bouvier
2024-12-10 20:43 ` [PATCH 16/20] util/qemu-timer: fix indentation Alex Bennée
2024-12-10 22:16 ` Richard Henderson
2024-12-11 6:30 ` Thomas Huth
2024-12-10 20:43 ` [PATCH 17/20] tests/qtest: move clock_steps to after checks Alex Bennée
2024-12-11 6:37 ` Thomas Huth
2024-12-12 12:34 ` Fabiano Rosas
2024-12-10 20:43 ` [PATCH 18/20] system/qtest: properly feedback results of clock_[step|set] Alex Bennée
2024-12-11 6:35 ` Thomas Huth
2024-12-12 12:36 ` Fabiano Rosas
2024-12-10 20:43 ` [PATCH 19/20] tests/functional: remove hacky sleep from the tests Alex Bennée
2024-12-10 22:18 ` Richard Henderson
2024-12-11 6:39 ` Thomas Huth
2024-12-10 20:43 ` [PATCH 20/20] tests/functional: extend test_aarch64_virt with vulkan test Alex Bennée
2024-12-10 22:20 ` Richard Henderson
2024-12-11 6:58 ` Thomas Huth
2024-12-12 12:32 ` Alex Bennée
2024-12-12 14:03 ` Thomas Huth
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.