diff options
| author | Thomas Huth <thuth@redhat.com> | 2016-04-15 11:03:00 +0200 |
|---|---|---|
| committer | David Gibson <david@gibson.dropbear.id.au> | 2016-04-18 15:14:38 +1000 |
| commit | aa378598fea819b15c00d48048bedfa0dc631132 (patch) | |
| tree | 22cd9753e38d9fbe3e2691aec88e323b3cee4711 /hw/misc/macio/cuda.c | |
| parent | 537d3e8e6beea9a0fbd6469eb38450e718244dad (diff) | |
| download | focaccia-qemu-aa378598fea819b15c00d48048bedfa0dc631132.tar.gz focaccia-qemu-aa378598fea819b15c00d48048bedfa0dc631132.zip | |
ppc: Fix migration of the XER register
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 <thuth@redhat.com> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'hw/misc/macio/cuda.c')
0 files changed, 0 insertions, 0 deletions