On 7/11/26 01:23, Dmitry Pimenov wrote:
blk_getlength() returns int64_t, but niagara_init() stored it in an int,
truncating the if=pflash virtual-ramdisk size for images >= 2 GiB. A ~4 GiB
image truncated to 0/negative, failed the `size > 0` check, and exit(1)'d
before the CPU ran, ending with:

   qemu-system-sparc64: could not load ram disk

AI-used-for: code (bug fix)

Signed-off-by: Dmitry Pimenov <[email protected]>

It feels like a qemu-stable material.  I'm picking it up, please
let me know if I should not.

Thank,s

/mjt


Reply via email to