From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I4G6H-0000Hw-Cx for qemu-devel@nongnu.org; Fri, 29 Jun 2007 09:01:25 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I4G6D-0000GS-5k for qemu-devel@nongnu.org; Fri, 29 Jun 2007 09:01:24 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I4G6C-0000GD-R6 for qemu-devel@nongnu.org; Fri, 29 Jun 2007 09:01:20 -0400 Received: from mail.windriver.com ([147.11.1.11] helo=mail.wrs.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1I4G6C-0000c4-69 for qemu-devel@nongnu.org; Fri, 29 Jun 2007 09:01:20 -0400 Received: from ALA-MAIL03.corp.ad.wrs.com (ala-mail03 [147.11.57.144]) by mail.wrs.com (8.13.6/8.13.6) with ESMTP id l5TD1JCi000437 for ; Fri, 29 Jun 2007 06:01:19 -0700 (PDT) Message-ID: <468502CD.4010400@windriver.com> Date: Fri, 29 Jun 2007 08:02:05 -0500 From: Jason Wessel MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] [PATCH] e100 savevm/loadvm support 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 The attached patch adds loadvm and savevm support to the e100 driver. One note about this patch is that the image is not portable across big/little endian hosts. Since it already appeared that the save/load images in general are not portable between a big/little endian hosts I just took the short cut of pushing the struct members that were not being saved directly into the save buffer. If it is the case that the save/load images are supposed to be endian agnostic, there is definitely some more work that needs to be done in all the simulated hw drivers. Signed-off-by: Jason Wessel Jason.