Files
xemu/tests/qtest/libqos
Thomas Huth 3008224ca8 tests/qtest/libqos: Avoid double swapping when using modern virtio
The logic in the qvirtio_read/write function is rather a headache,
involving byte-swapping when the target is big endian, just to
maybe involve another byte-swapping  in the qtest_read/write
function immediately afterwards (on the QEMU side). Let's do it in
a more obvious way here: For virtio 1.0, we know that the values have
to be little endian, so let's read/write the bytes in that well known
order here.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Tested-by: Alex Bennée <alex.bennee@linaro.org>
Message-ID: <20250430132817.610903-1-thuth@redhat.com>
Signed-off-by: Fabiano Rosas <farosas@suse.de>
2025-05-09 16:14:31 -03:00
..
2022-05-03 15:16:51 +04:00
2022-05-03 15:16:51 +04:00
2025-01-31 19:36:44 +01:00
2023-09-08 13:08:52 +03:00
2023-09-08 13:08:52 +03:00
…
2022-05-03 15:16:51 +04:00
…
2023-09-08 13:08:52 +03:00