On 10/28/25 15:16, Bastian Blank wrote:
Both the FIBMAP and FIGETBSZ ioctl get "int *" (pointer to 32bit
integer) as argument, not "long *" as specified in qemu.  Using the
correct type makes the emulation work in cross endian context.

Both ioctl does not seem to be documented. However the kernel
implementation has always used "int *".

Signed-off-by: Bastian Blank <[email protected]>
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/3185

Reviwed-by: Michael Tokarev <[email protected]>

Again, I can pick this up through qemu-trivial if there's no
objection, Laurent?

And Cc: qemu-stable.

Thanks,

/mjt

Reply via email to