summary refs log tree commit diff stats
path: root/python/scripts
diff options
context:
space:
mode:
authorJamin Lin <jamin_lin@aspeedtech.com>2025-05-15 16:09:36 +0800
committerCédric Le Goater <clg@redhat.com>2025-05-25 23:39:11 +0200
commit7328c48b57c97e13863fdc3a76d6d9c8fe07d6ae (patch)
tree75cb3c348f08d5a9a2edeca7c70416f92b0bb2fe /python/scripts
parentfb8e59abbe46957cd599bb9aa9221fad1e4e989e (diff)
downloadfocaccia-qemu-7328c48b57c97e13863fdc3a76d6d9c8fe07d6ae.tar.gz
focaccia-qemu-7328c48b57c97e13863fdc3a76d6d9c8fe07d6ae.zip
hw/misc/aspeed_hace: Extract direct mode hash buffer setup into helper function
To improve code readability and maintainability of do_hash_operation(), this
commit introduces a new helper function: hash_prepare_direct_iov().
This function encapsulates the logic for setting up the I/O vector (iov)
in direct mode (non-scatter-gather).

No functional changes are introduced.

Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Link: https://lore.kernel.org/qemu-devel/20250515081008.583578-5-jamin_lin@aspeedtech.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
Diffstat (limited to 'python/scripts')
0 files changed, 0 insertions, 0 deletions