[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v4 0/2] tests/qtest/libqos: add DMA support for writing and readi
From: |
Ani Sinha |
Subject: |
[PATCH v4 0/2] tests/qtest/libqos: add DMA support for writing and reading fw_cfg files |
Date: |
Thu, 9 Jan 2025 13:19:27 +0530 |
This patchset enables DMA interface support for writing fw-cfg files in
libqtest. The first patch is just a code refactoring so that fw-cfg
directory parsing can be part of a separate helper function.
The second patch is the actual patch that introduces two new apis for
writing and reading fw-cfg files using DMA interface. The apis are
tested by writing a qtest for vmfwupdate. Please see
tests/qtest/vmfwupdate-test.c changes in
https://gitlab.com/anisinha/qemu/-/commit/4d94a67d1cf29780f136a8bd2c21ff0e57c7b2db
To test the code, you can pull in this branch
https://gitlab.com/anisinha/qemu/-/commits/fuki-hyperface which has
vmfwupdate changes on top of the patches sent in this series.
cc: kraxel@redhat.com
cc: farosas@suse.de
cc: lvivier@redhat.com
cc: pbonzini@redhat.com
cc: armbru@redhat.com
cc: philmd@linaro.org
cc: berrange@redhat.com
cc: qemu-devel@nongnu.org
Ani Sinha (2):
libqos/fw_cfg: refactor file directory iteraton to make it more
reusable
tests/qtest/libqos: add DMA support for writing and reading fw_cfg
files
tests/qtest/libqos/fw_cfg.c | 201 ++++++++++++++++++++++++++++++++----
tests/qtest/libqos/fw_cfg.h | 6 +-
2 files changed, 184 insertions(+), 23 deletions(-)
--
2.45.2
- [PATCH v4 0/2] tests/qtest/libqos: add DMA support for writing and reading fw_cfg files,
Ani Sinha <=