On 15/04/16 10:03, Thomas Huth wrote:

> env->xer only holds the lower bits of the XER register nowadays, the
> SO, OV and CA bits are stored in separate variables (see the function
> cpu_write_xer() for details). Since the migration code currently only
> reads the "xer" variable, the upper bits are lost during migration.
> Fix it by using cpu_read_xer() instead.
> 
> Signed-off-by: Thomas Huth <[email protected]>

This looks like the pre_save counterpart to the post_load patch I sent
in January (see 6a9620e60cc1b16dba9ee9d9d8cb374e4303c072) so I'm fairly
sure this is right.

Reviewed-by: Mark Cave-Ayland <[email protected]>


ATB,

Mark.


Reply via email to