From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KkLLz-0000R2-LX for qemu-devel@nongnu.org; Mon, 29 Sep 2008 12:12:07 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KkLLx-0000Q2-KG for qemu-devel@nongnu.org; Mon, 29 Sep 2008 12:12:07 -0400 Received: from [199.232.76.173] (port=46219 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KkLLx-0000Pq-Bj for qemu-devel@nongnu.org; Mon, 29 Sep 2008 12:12:05 -0400 Received: from savannah.gnu.org ([199.232.41.3]:47924 helo=sv.gnu.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KkLJ6-0001PT-Q3 for qemu-devel@nongnu.org; Mon, 29 Sep 2008 12:09:08 -0400 Received: from cvs.savannah.gnu.org ([199.232.41.69]) by sv.gnu.org with esmtp (Exim 4.63) (envelope-from ) id 1KkLJ5-0007yB-Lj for qemu-devel@nongnu.org; Mon, 29 Sep 2008 16:09:07 +0000 Received: from aliguori by cvs.savannah.gnu.org with local (Exim 4.63) (envelope-from ) id 1KkLJ5-0007y7-CP for qemu-devel@nongnu.org; Mon, 29 Sep 2008 16:09:07 +0000 MIME-Version: 1.0 Errors-To: aliguori Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Anthony Liguori Message-Id: Date: Mon, 29 Sep 2008 16:09:07 +0000 Subject: [Qemu-devel] [5351] Fix save/restore regression introduced by r5318 Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Revision: 5351 http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5351 Author: aliguori Date: 2008-09-29 16:09:07 +0000 (Mon, 29 Sep 2008) Log Message: ----------- Fix save/restore regression introduced by r5318 sysenter_cs is a u32 and is loaded as a u32. Signed-off-by: Anthony Liguori Modified Paths: -------------- trunk/target-i386/machine.c Modified: trunk/target-i386/machine.c =================================================================== --- trunk/target-i386/machine.c 2008-09-29 13:55:36 UTC (rev 5350) +++ trunk/target-i386/machine.c 2008-09-29 16:09:07 UTC (rev 5351) @@ -88,7 +88,7 @@ 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);