From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HjEoO-00069P-GU for qemu-devel@nongnu.org; Wed, 02 May 2007 09:24:04 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HjEoN-00066s-14 for qemu-devel@nongnu.org; Wed, 02 May 2007 09:24:04 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HjEoM-00066o-S9 for qemu-devel@nongnu.org; Wed, 02 May 2007 09:24:02 -0400 Received: from agogare.doit.wisc.edu ([144.92.197.211]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_ARCFOUR_MD5:16) (Exim 4.60) (envelope-from ) id 1HjEhw-0005ro-S3 for qemu-devel@nongnu.org; Wed, 02 May 2007 09:17:24 -0400 Received: from avs-daemon.smtpauth2.wiscmail.wisc.edu by smtpauth2.wiscmail.wisc.edu (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) id <0JHF00I010WXRZ00@smtpauth2.wiscmail.wisc.edu> for qemu-devel@nongnu.org; Wed, 02 May 2007 08:17:21 -0500 (CDT) Received: from [146.151.107.38] (eh-104-107-38.resnet.wisc.edu [146.151.107.38]) by smtpauth2.wiscmail.wisc.edu (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) with ESMTPSA id <0JHF00IWA0WX5W00@smtpauth2.wiscmail.wisc.edu> for qemu-devel@nongnu.org; Wed, 02 May 2007 08:17:21 -0500 (CDT) Date: Wed, 02 May 2007 08:17:20 -0500 From: eady Message-id: <46388F60.6020406@wisc.edu> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7BIT Subject: [Qemu-devel] Saving state on a context switch 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 Can anyone think of a way to save and restore an additional cpu state variable during a context switch without modifying the target operating system? Basically I would like to add a variable to the CPUState structure that is saved and restored with the registers. Any ideas? Thanks, Nuri