diff options
author | Ani Sinha <anisinha@redhat.com> | 2025-01-20 10:08:33 +0530 |
---|---|---|
committer | Fabiano Rosas <farosas@suse.de> | 2025-02-03 12:15:50 -0300 |
commit | 9c38fea83be147aa0b65eec881a2883089ecac40 (patch) | |
tree | 658e0307292aa67d54d07f6601aefcaf04a33310 /scripts/xml-preprocess.py | |
parent | 453b3f3cdc6326ad75a9dedd6bb21c570e7697ef (diff) | |
download | qemu-9c38fea83be147aa0b65eec881a2883089ecac40.zip qemu-9c38fea83be147aa0b65eec881a2883089ecac40.tar.gz qemu-9c38fea83be147aa0b65eec881a2883089ecac40.tar.bz2 |
tests/qtest/libqos: add DMA support for writing and reading fw_cfg files
At present, the libqos/fw_cfg.c library does not support the modern DMA
interface which is required to write to the fw_cfg files. It only uses the IO
interface. Implement read and write methods based on DMA. This will enable
developers to add tests that writes to the fw_cfg file(s). The structure of
the code is taken from edk2 fw_cfg implementation. It has been tested by
writing a qtest that writes to a fw_cfg file.
Signed-off-by: Ani Sinha <anisinha@redhat.com>
Message-ID: <20250120043847.954881-3-anisinha@redhat.com>
Signed-off-by: Fabiano Rosas <farosas@suse.de>
Diffstat (limited to 'scripts/xml-preprocess.py')
0 files changed, 0 insertions, 0 deletions