qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PULL 2/2] vfio: make rom read endian sensitive


From: David Gibson
Subject: Re: [Qemu-devel] [PULL 2/2] vfio: make rom read endian sensitive
Date: Wed, 24 Sep 2014 10:56:01 +1000
User-agent: Mutt/1.5.23 (2014-03-12)

On Tue, Sep 23, 2014 at 11:14:57AM -0600, Alex Williamson wrote:
> From: Nikunj A Dadhania <address@hidden>
> 
> 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 <address@hidden>
> [aik: added commit log]
> Signed-off-by: Alexey Kardashevskiy <address@hidden>
> Signed-off-by: Alex Williamson <address@hidden>

Reviewed-by: David Gibson <address@hidden>

-- 
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

Attachment: pgpbdz4tOjRIU.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]