diff options
author | Stefano Garzarella <sgarzare@redhat.com> | 2024-06-18 12:04:47 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2024-07-02 09:27:56 -0400 |
commit | 5ab04420c3de11ae4a573b08b53584a2a0c5dd00 (patch) | |
tree | 515aa58a4904da90ce9cf3276af450b61d2edc4e /backends/hostmem-shm.c | |
parent | 03582094da1ea7ce978cec58008c81f7458ee8dd (diff) |
contrib/vhost-user-*: use QEMU bswap helper functions
Let's replace the calls to le*toh() and htole*() with qemu/bswap.h
helpers to make the code more portable.
Suggested-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Tested-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Acked-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
Message-Id: <20240618100447.145697-1-sgarzare@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'backends/hostmem-shm.c')
0 files changed, 0 insertions, 0 deletions