qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v8 00/20] virtio endian-ambivalent target


From: Michael S. Tsirkin
Subject: Re: [Qemu-devel] [PATCH v8 00/20] virtio endian-ambivalent target
Date: Wed, 18 Jun 2014 16:42:04 +0300

On Wed, Jun 18, 2014 at 01:53:15PM +0100, Peter Maydell wrote:
> On 18 June 2014 11:38, Stefan Hajnoczi <address@hidden> 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...

So it was buggy. We never thought anyone would do a cross endian CPU :(.
We are fixing it in 1.0.

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

That's not a theoretical future.
Spec will almost certainly be frozen two weeks from now.
So it is almost certain that drivers will be there in 3.17. 

Existing distros can then simply backport the
drivers - same as they would with any other new hardware.

-- 
MST



reply via email to

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