qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] target-ppc: KVMPPC_H_CAS fix cpu-version endian


From: Alexander Graf
Subject: Re: [Qemu-devel] [PATCH] target-ppc: KVMPPC_H_CAS fix cpu-version endianess
Date: Fri, 27 Jun 2014 18:13:29 +0200
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.6.0


On 27.06.14 17:16, Greg Kurz wrote:
On Fri, 27 Jun 2014 15:47:37 +0200
Laurent Dufour <address@hidden> wrote:

During KVMPPC_H_CAS processing, the cpu-version updated value is stored
without taking care of the current endianess. As a consequence, the guest
may not switch to the right CPU model, leading to unexpected results.

If needed, the value is now converted.

Fixes: 6d9412ea8132 ("target-ppc: Implement "compat" CPU option")
Signed-off-by: Laurent Dufour <address@hidden>
---
Reviewed-by: Greg Kurz <address@hidden>

Good catch! Thanks, applied to ppc-next.


Alex




reply via email to

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