From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Jan Beulich" Subject: Re: Domain Save Image Format proposal (draft B) Date: Tue, 11 Feb 2014 13:10:38 +0000 Message-ID: <52FA2F5E020000780011B234@nat28.tlf.novell.com> References: <52F90A71.40802@citrix.com> <1392111040.26657.50.camel@kazak.uk.xensource.com> <52FA0C1A.5080004@citrix.com> <1392120588.26657.99.camel@kazak.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1392120588.26657.99.camel@kazak.uk.xensource.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: David Vrabel , Ian Campbell Cc: Shriram Rajagopalan , "Xen-devel@lists.xen.org" , Ian Jackson , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org >>> On 11.02.14 at 13:09, Ian Campbell wrote: > On Tue, 2014-02-11 at 11:40 +0000, David Vrabel wrote: >> On 11/02/14 09:30, Ian Campbell wrote: >> > On Mon, 2014-02-10 at 17:20 +0000, David Vrabel wrote: >> >> -------------------------------------------------------------------- >> >> Field Description >> >> ----------- -------------------------------------------------------- >> >> count Number of pages described in this record. >> >> >> >> pfn An array of count PFNs. Bits 63-60 contain >> >> the XEN\_DOMCTL\_PFINFO_* value for that PFN. >> > >> > Now might be a good time to remove this intertwining? I suppose 60-bits >> > is a lot of pfn's, but if the VMs address space is sparse it isn't out >> > of the question. >> >> I don't think we want to consider systems with > 64 bits of address >> space so 60-bits is more than enough for PFNs. > > Is it? What about systems with 61..63 bits of address space? Their PFNs would, assuming 4k page size, still only be 49..51 bits wide. That said - if reasonably cleanly doable within such a revised save image format, I would second Ian's desire to split the type from the PFN. Not so much because of limited PFN space, but because of the chance of needing to introduce further types, requiring more than 4 bits. Jan