diff options
author | aliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-09-29 16:09:07 +0000 |
---|---|---|
committer | aliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-09-29 16:09:07 +0000 |
commit | f504975609436bd708d7d8252d22fead688b87fc (patch) | |
tree | 6773a5e7d675ba4a0ec97f9e5166c49e568dba15 | |
parent | 558fa8361bc3e35fce73448c0b45e9d85ab59130 (diff) |
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
-rw-r--r-- | target-i386/machine.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target-i386/machine.c b/target-i386/machine.c index 26ca0f4a83..b0593dfb4e 100644 --- a/target-i386/machine.c +++ b/target-i386/machine.c @@ -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); |