All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 0/2] tests/qtest/libqos: add DMA support for writing and reading fw_cfg files
@ 2025-01-09  7:49 Ani Sinha
  2025-01-09  7:49 ` [PATCH v4 1/2] libqos/fw_cfg: refactor file directory iteraton to make it more reusable Ani Sinha
  2025-01-09  7:49 ` [PATCH v4 2/2] tests/qtest/libqos: add DMA support for writing and reading fw_cfg files Ani Sinha
  0 siblings, 2 replies; 9+ messages in thread
From: Ani Sinha @ 2025-01-09  7:49 UTC (permalink / raw)
  Cc: berrange, armbru, Ani Sinha, kraxel, farosas, lvivier, pbonzini,
	philmd, qemu-devel

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



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2025-01-10 10:12 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-09  7:49 [PATCH v4 0/2] tests/qtest/libqos: add DMA support for writing and reading fw_cfg files Ani Sinha
2025-01-09  7:49 ` [PATCH v4 1/2] libqos/fw_cfg: refactor file directory iteraton to make it more reusable Ani Sinha
2025-01-09 20:01   ` Fabiano Rosas
2025-01-10  3:43     ` Ani Sinha
2025-01-09  7:49 ` [PATCH v4 2/2] tests/qtest/libqos: add DMA support for writing and reading fw_cfg files Ani Sinha
2025-01-09 20:30   ` Fabiano Rosas
2025-01-10  5:23     ` Ani Sinha
2025-01-10 10:12       ` Gerd Hoffmann
2025-01-10  6:43     ` Philippe Mathieu-Daudé

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.