From: "Zhai, Edwin" Subject: save/restore dev in HV Date: Mon, 22 Jan 2007 10:44:07 +0800 Message-ID: <20070122024407.GX10106@edwin-srv.sh.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir , Tim Cc: xen-devel@lists.xensource.com, "Zhai, Edwin" List-Id: xen-devel@lists.xenproject.org Tim/Keir, thanks for your save/restore clean up. i still have concerns about following changeset: 13527 -- [HVM] Save/restore cleanups 01: PIT Define public structure for the saved PIT data and use it instead of a series of explicit loads and stores. if i'm right, all hw status are organized into a single & aligned struct for save/restore. it's clean and simple solution, but 1. it put more responsibility on developer to maintain the format/alignment of hw status struct. 2. compatibility issue. e.g. adding a new field in middle of the hw struct would break restoring an old image. if handling save/restore at fields granularity, we are likely to successfully restore it with only issue of this field. end user would be really frustrated if saved image on 3.0.4 can't be restored on 3.0.5:-( any ideas for this? thanks, -- best rgds, edwin