On Wed, 11 Dec 2013 17:11:49 +0100
Alexander Graf wrote:
>
> I think this patch should really go in after / with the virtio-endian
> series, since as it is it would be dead code. So I'll just give you my
> ack here and hope whoever gets the virtio-endianness bits in also
> includes that with my r
On 11.12.2013, at 16:59, Greg Kurz wrote:
> We base it on the OS endian, as reflected by the endianness of the
> interrupt vectors (handled through the ILE bit in the LPCR register).
>
> This patch does two things:
> - make LPCR a KVM register
> - implement virtio_get_byteswap() over LPCR
>
>
We base it on the OS endian, as reflected by the endianness of the
interrupt vectors (handled through the ILE bit in the LPCR register).
This patch does two things:
- make LPCR a KVM register
- implement virtio_get_byteswap() over LPCR
Using first_cpu to fetch the registers from KVM may look arbi