On Wed, Dec 01, 2021 at 09:22:02PM +0800, Andy Pei wrote: > if driver reads data larger than VIRTIO_BLK_F_SIZE_MAX, > it will cause some issue to the DMA engine.
More verbose commit messages please. > +void > +virtio_blk_op_one_segment(struct virtiodrive_s *vdrive, > + while (count > blk_num_max) { So this is two changes in one: (1) move code to the new virtio_blk_op_one_segment() helper function without changing functionality, and (2) actually fix the issue by splitting large requests into multiple smaller ones. Can we have that as two patches please? It's easier to review the actual code changes in (2) then. thanks, Gerd _______________________________________________ SeaBIOS mailing list -- seabios@seabios.org To unsubscribe send an email to seabios-le...@seabios.org