On Fri, Feb 21, 2014 at 12:28:11PM +0100, Greg Kurz wrote:
diff --git a/hw/virtio/virtio.c b/hw/virtio/virtio.c
index aeabf3a..4fd6ac2 100644
--- a/hw/virtio/virtio.c
+++ b/hw/virtio/virtio.c
@@ -19,6 +19,9 @@
#include hw/virtio/virtio.h
#include qemu/atomic.h
#include
On Tue, 25 Feb 2014 16:21:21 +0100
Stefan Hajnoczi stefa...@redhat.com wrote:
On Fri, Feb 21, 2014 at 12:28:11PM +0100, Greg Kurz wrote:
diff --git a/hw/virtio/virtio.c b/hw/virtio/virtio.c
index aeabf3a..4fd6ac2 100644
--- a/hw/virtio/virtio.c
+++ b/hw/virtio/virtio.c
@@ -19,6 +19,9 @@
From: Rusty Russell ru...@rustcorp.com.au
virtio data structures are defined as target endian, which assumes
that's a fixed value. In fact, that actually means it's
platform-specific.
The OASIS virtio 1.0 spec will fix this. Meanwhile, create a hook for
little endian ppc (and potentially ARM).