Commit f504975609436bd708d7d8252d22fead688b87fc
1 parent
558fa836
Fix save/restore regression introduced by r5318
sysenter_cs is a u32 and is loaded as a u32. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5351 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
1 additions
and
1 deletions
target-i386/machine.c
... | ... | @@ -88,7 +88,7 @@ void cpu_save(QEMUFile *f, void *opaque) |
88 | 88 | cpu_put_seg(f, &env->gdt); |
89 | 89 | cpu_put_seg(f, &env->idt); |
90 | 90 | |
91 | - qemu_put_betls(f, &env->sysenter_cs); | |
91 | + qemu_put_be32s(f, &env->sysenter_cs); | |
92 | 92 | qemu_put_betls(f, &env->sysenter_esp); |
93 | 93 | qemu_put_betls(f, &env->sysenter_eip); |
94 | 94 | ... | ... |