[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [PATCH] hw/core/loader: allow loading larger ROMs
From: |
Xingtao Yao (Fujitsu) |
Subject: |
RE: [PATCH] hw/core/loader: allow loading larger ROMs |
Date: |
Thu, 27 Jun 2024 06:11:11 +0000 |
Hi, Gregor
>
> The read() syscall is not guaranteed to return all data from a file. The
> default ROM loader implementation currently does not take this into account,
> instead failing if all bytes are not read at once. This change wraps the
> read() syscall in a do/while loop to ensure all bytes of the ROM are read.
Can you reproduce this issue?
Thanks
Xingtao