On 18 June 2014 11:38, Stefan Hajnoczi <stefa...@gmail.com> wrote:
> What bothers me is that real hardware can't do this.

Real hardware doesn't have "endianness matches guest CPU endianness"
semantics, which is what the virtio spec mandates...

> Given that VIRTIO
> 1.0 is always little-endian I guess this is just a temporary hack for
> ppc little-endian.  Would be nice to add a comment so it's clear why
> this approach is being taken instead of a cleaner solution.

Also for ARM big-endian, and indeed for any CPU with runtime
configurable endianness that wants to use the kernel virtio
drivers that exist in the real world rather than the theoretical
future ones that might some day be written for the 1.0 virtio
spec...

thanks
-- PMM

Reply via email to