From: Dan Magenheimer Subject: RE: [RFC] save image file format CHANGE (minor, but feedback appreciated) Date: Thu, 30 Jul 2009 15:59:11 -0700 (PDT) Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=Windows-1252 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: 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 Fraser , "Xen-Devel (E-mail)" Cc: Tim Deegan , Stefano@acsinet11.oracle.com, Gianluca Guida , John Levon , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org Well for PV guests, the p2m table is definitely assumed to be first. Are you saying, I can/should put the tmem stuff between the p2m table and the mapped data pages? If so, cool, I will give that a try. Thanks! Dan > -----Original Message----- > From: Keir Fraser [mailto:keir.fraser@eu.citrix.com] > Sent: Thursday, July 30, 2009 4:42 PM > To: Dan Magenheimer; Xen-Devel (E-mail) > Cc: Tim Deegan; Gianluca Guida; Stefano Stabellini; John Levon; > Stefano@acsinet11.oracle.com > Subject: Re: [Xen-devel] [RFC] save image file format CHANGE=20 > (minor, but > feedback appreciated) >=20 >=20 > On 30/07/2009 23:05, "Dan Magenheimer"=20 > wrote: >=20 > > It appears that the "next negative number as marker" > > mechanism only works for data that trails the last > > iteration of (mapped) pages, and thus works only after > > the domain has been suspended. (True?) >=20 > No. It so happens that all such markers are emitted after=20 > saved pages right > now, but you can see in xc_domain_restore.c that markers are=20 > detected right > at the top of the read pages loop. You could add a new marker, emit it > before any pages in xc_domain_save.c, and pick it up just fine in the > restore loop. You'd read the rest of your stuff and act on=20 > it, then do a C > 'continue' to kick off the next loop iteration, which would=20 > presumably start > reading ordinary saved memory pages. >=20 > Your patch is definitely not required. >=20 > -- Keir >=20 >=20 >=20 > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel >