[PATCH v4 0/3] vfio-user client functional test

John Levon posted 3 patches 5 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20250903201931.168317-1-john.levon@nutanix.com
Maintainers: Thomas Huth <thuth@redhat.com>, "Philippe Mathieu-Daudé" <philmd@linaro.org>, "Daniel P. Berrangé" <berrange@redhat.com>, Paolo Bonzini <pbonzini@redhat.com>, Zhao Liu <zhao1.liu@intel.com>, John Levon <john.levon@nutanix.com>, Thanos Makatos <thanos.makatos@nutanix.com>, "Cédric Le Goater" <clg@redhat.com>
MAINTAINERS                                   |   1 +
tests/functional/qemu_test/cmd.py             |  65 +++++-
tests/functional/x86_64/meson.build           |   1 +
.../x86_64/test_vfio_user_client.py           | 207 ++++++++++++++++++
4 files changed, 262 insertions(+), 12 deletions(-)
create mode 100755 tests/functional/x86_64/test_vfio_user_client.py
[PATCH v4 0/3] vfio-user client functional test
Posted by John Levon 5 months ago
Add a basic functional test for the vfio-user client, along with a couple of
test framework extensions to support it.

v4: generalize the test so it's less sensitive to build/environment

John Levon (2):
  tests/functional: return output from cmd.py helpers
  tests/functional: add vm param to cmd.py helpers

Mark Cave-Ayland (1):
  tests/functional: add a vfio-user smoke test

 MAINTAINERS                                   |   1 +
 tests/functional/qemu_test/cmd.py             |  65 +++++-
 tests/functional/x86_64/meson.build           |   1 +
 .../x86_64/test_vfio_user_client.py           | 207 ++++++++++++++++++
 4 files changed, 262 insertions(+), 12 deletions(-)
 create mode 100755 tests/functional/x86_64/test_vfio_user_client.py

-- 
2.43.0
Re: [PATCH v4 0/3] vfio-user client functional test
Posted by Thomas Huth 5 months ago
On 03/09/2025 22.19, John Levon wrote:
> Add a basic functional test for the vfio-user client, along with a couple of
> test framework extensions to support it.
> 
> v4: generalize the test so it's less sensitive to build/environment
> 
> John Levon (2):
>    tests/functional: return output from cmd.py helpers
>    tests/functional: add vm param to cmd.py helpers
> 
> Mark Cave-Ayland (1):
>    tests/functional: add a vfio-user smoke test

  Hi,

FYI, I've added the first two patches to my current pull request from today 
(since there's another series on the list that needs similar changes to 
cmd.py, so we can hopefully get the conflict sorted that way).

For the third patch, I assume this will go via the vfio-user tree once 
you've addressed Daniels review comments - if not, let me know, then I can 
pick it up the next time.

  Thomas