diff options
| author | Nikunj A Dadhania | 2014-09-22 23:27:43 +0200 |
|---|---|---|
| committer | Alex Williamson | 2014-09-22 23:27:43 +0200 |
| commit | 75bd0c7253f384e868b638db5c6350796cf584f7 (patch) | |
| tree | f7c2556100d23bfe2d7da07c896d4e3d8a3272a7 /include | |
| parent | Revert "vfio: Make BARs native endian" (diff) | |
| download | qemu-75bd0c7253f384e868b638db5c6350796cf584f7.tar.gz qemu-75bd0c7253f384e868b638db5c6350796cf584f7.tar.xz qemu-75bd0c7253f384e868b638db5c6350796cf584f7.zip | |
vfio: make rom read endian sensitive
All memory regions used by VFIO are LITTLE_ENDIAN and they
already take care of endiannes when accessing real device BARs
except ROM - it was broken on BE hosts.
This fixes endiannes for ROM BARs the same way as it is done
for other BARs.
This has been tested on PPC64 BE/LE host/guest in all possible
combinations including TCG.
Signed-off-by: Nikunj A Dadhania <nikunj@linux.vnet.ibm.com>
[aik: added commit log]
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
