On Tue, Sep 23, 2014 at 11:14:57AM -0600, Alex Williamson wrote: > From: Nikunj A Dadhania <[email protected]> > > 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 <[email protected]> > [aik: added commit log] > Signed-off-by: Alexey Kardashevskiy <[email protected]> > Signed-off-by: Alex Williamson <[email protected]>
Reviewed-by: David Gibson <[email protected]> -- David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson
pgpxVm9fo3HAE.pgp
Description: PGP signature
