[Top][All Lists]

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

Re: [Qemu-ppc] [PATCH] target-ppc: ppc64 target's virtio can be either e

From: Benjamin Herrenschmidt
Subject: Re: [Qemu-ppc] [PATCH] target-ppc: ppc64 target's virtio can be either endian.
Date: Tue, 10 Dec 2013 06:44:04 +1100

On Mon, 2013-12-09 at 16:33 +0100, Alexander Graf wrote:
> Also can't virtio_get_byteswap pass in the CPU pointer of the CPU
> that's calling in this moment? I'm not sure how racy it is to
> synchronize the first cpu while we're not in the first cpu's execution
> thread.

The LPCR bit is always set on all CPUs.

> Either way, if we do this "right" we don't even have to jump through
> these hoops, as little endian setting simply happens steered from
> QEMU, so QEMU will have all knowledge about the guest's little endian
> mode without the need to synchronize any state.


reply via email to

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