From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Vrabel Subject: Re: [PATCH v5 RFC 14/14] tools/libxc: noarch restore code Date: Thu, 12 Jun 2014 17:05:03 +0100 Message-ID: <5399CFAF.8000803@citrix.com> References: <1402510482-21099-1-git-send-email-andrew.cooper3@citrix.com> <1402510482-21099-15-git-send-email-andrew.cooper3@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1402510482-21099-15-git-send-email-andrew.cooper3@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Andrew Cooper , Xen-devel Cc: Frediano Ziglio , David Vrabel List-Id: xen-devel@lists.xenproject.org On 11/06/14 19:14, Andrew Cooper wrote: > --- a/tools/libxc/saverestore/common.h > +++ b/tools/libxc/saverestore/common.h > @@ -292,6 +292,12 @@ static inline int write_record(struct context *ctx, struct record *rec) > return write_split_record(ctx, rec, NULL, 0); > } > > +/* TODO - find a better way of hiding this. It should be private to > + * restore.c, but is needed by x86_pv_localise_page() > + */ > +int populate_pfns(struct context *ctx, unsigned count, > + const xen_pfn_t *original_pfns, const uint32_t *types); I don't see a problem with this being here, if it's needed in those two places. David