diff options
author | Mattias Nissler <mnissler@rivosinc.com> | 2023-08-23 02:29:30 -0700 |
---|---|---|
committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2024-05-08 19:43:15 +0200 |
commit | e6578f1f68a0e90789a841ada532c3e494c9a04c (patch) | |
tree | ecacbbf3889b8513c13cf7c8998c1ba659cd5994 /include/exec/cpu-common.h | |
parent | 09d98a241caf12e0de5ab738cfa5c911af97fbd6 (diff) | |
download | qemu-e6578f1f68a0e90789a841ada532c3e494c9a04c.zip qemu-e6578f1f68a0e90789a841ada532c3e494c9a04c.tar.gz qemu-e6578f1f68a0e90789a841ada532c3e494c9a04c.tar.bz2 |
hw/remote/vfio-user: Fix config space access byte order
PCI config space is little-endian, so on a big-endian host we need to
perform byte swaps for values as they are passed to and received from
the generic PCI config space access machinery.
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Jagannathan Raman <jag.raman@oracle.com>
Signed-off-by: Mattias Nissler <mnissler@rivosinc.com>
Message-ID: <20240507094210.300566-6-mnissler@rivosinc.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Diffstat (limited to 'include/exec/cpu-common.h')
0 files changed, 0 insertions, 0 deletions