aboutsummaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorJamin Lin <jamin_lin@aspeedtech.com>2025-05-15 16:09:37 +0800
committerCédric Le Goater <clg@redhat.com>2025-05-25 23:39:11 +0200
commit0b7dd5f9910c41d9a3faa51001b018a06f0c3ac7 (patch)
tree534c0a426ee65c6b3ac0ecb0bee6c8c11843c673 /python
parent7328c48b57c97e13863fdc3a76d6d9c8fe07d6ae (diff)
downloadqemu-0b7dd5f9910c41d9a3faa51001b018a06f0c3ac7.zip
qemu-0b7dd5f9910c41d9a3faa51001b018a06f0c3ac7.tar.gz
qemu-0b7dd5f9910c41d9a3faa51001b018a06f0c3ac7.tar.bz2
hw/misc/aspeed_hace: Extract SG-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_sg_iov(). This function handles scatter-gather (SG) mode setup, including SG list parsing, address mapping, and optional accumulation mode support with padding detection. 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-6-jamin_lin@aspeedtech.com Signed-off-by: Cédric Le Goater <clg@redhat.com>
Diffstat (limited to 'python')
0 files changed, 0 insertions, 0 deletions