qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 0/2] dataplane: use endian-aware memory accessor


From: Cornelia Huck
Subject: Re: [Qemu-devel] [PATCH 0/2] dataplane: use endian-aware memory accessors
Date: Mon, 19 Jan 2015 18:33:03 +0100

On Mon, 19 Jan 2015 17:04:35 +0000
Stefan Hajnoczi <address@hidden> wrote:

> In commit 0f5d1d2a49778863db54b4b1ac2dc008a8f21f11 ("virtio: memory accessors
> for endian-ambivalent targets") endian-aware memory accessors were added to
> support bi-endian targets like recent ppc64 systems.
> 
> The dataplane vring.c code does not use these accessors and is therefore 
> unable
> to emulate virtio devices when the endianness differs between the device and
> host.
> 
> These patches modify vring.c to use the endian-aware accessors.

I had modified the accesses in vring.c to consider endianness for
virtio-1 support as well. I wonder whether we can find some common
ground there?

It's been a while since I have had time to work on this, but searching
for "dataplane: allow virtio-1 devices" should lead you to the relevant
patch.




reply via email to

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