Revert "vfio: Make BARs native endian"
commit6758008e2c4e79fb6bd04fe8e7a41665fa583965
authorAlexey Kardashevskiy <aik@ozlabs.ru>
Mon, 22 Sep 2014 21:26:36 +0000 (22 15:26 -0600)
committerAlex Williamson <alex.williamson@redhat.com>
Mon, 22 Sep 2014 21:26:36 +0000 (22 15:26 -0600)
tree03e64c162683c0a159d9f83c17a14f5f9bc30fc6
parent07e2863d0271ac6c05206d8ce9e4f4c39b25d3ea
Revert "vfio: Make BARs native endian"

This reverts commit c40708176a6b52b73bec14796b7c71b882ceb102.

The resulting code wrongly assumed target and host endianness are
the same which is not always the case for PPC64.

[aw: or potentially any host supporting VFIO and TCG]

Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
hw/misc/vfio.c