mirror of https://github.com/xemu-project/xemu.git
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
This commit is contained in:
parent
558fa8361b
commit
f504975609
|
@ -88,7 +88,7 @@ void cpu_save(QEMUFile *f, void *opaque)
|
|||
cpu_put_seg(f, &env->gdt);
|
||||
cpu_put_seg(f, &env->idt);
|
||||
|
||||
qemu_put_betls(f, &env->sysenter_cs);
|
||||
qemu_put_be32s(f, &env->sysenter_cs);
|
||||
qemu_put_betls(f, &env->sysenter_esp);
|
||||
qemu_put_betls(f, &env->sysenter_eip);
|
||||
|
||||
|
|
Loading…
Reference in New Issue