On Mon, 22 Apr 2024 17:20, Philippe Mathieu-Daudé <phi...@linaro.org>
wrote:
Since VirtIO devices can change endianness at runtime,
we need to use the device endianness, not the target
one.
Cc: qemu-sta...@nongnu.org
Fixes: eb9ad377bb ("virtio-sound: handle control messages and streams")
Signed-off-by: Philippe Mathieu-Daudé <phi...@linaro.org>
---
Reviewed-by: Manos Pitsidianakis <manos.pitsidiana...@linaro.org>
Thanks for the explanation on v2 btw. virtio_is_big_endian()'s doc
should probably reflect it's not just about legacy devices (virtio sound
isn't legacy) but about target originating data streams too