From: Ian Campbell Subject: Re: [PATCH v5 RFC 05/14] tools/libxc: noarch common code Date: Tue, 17 Jun 2014 17:53:35 +0100 Message-ID: <1403024015.25771.37.camel@kazak.uk.xensource.com> References: <1402510482-21099-1-git-send-email-andrew.cooper3@citrix.com> <1402510482-21099-6-git-send-email-andrew.cooper3@citrix.com> <1403021435.25771.15.camel@kazak.uk.xensource.com> <53A06CCB.9010304@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <53A06CCB.9010304@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 Cc: Frediano Ziglio , David Vrabel , Xen-devel List-Id: xen-devel@lists.xenproject.org On Tue, 2014-06-17 at 17:28 +0100, Andrew Cooper wrote: > >> +// Hack out junk from the namespace > > Do you have a plan to not need these hacks? > > Not really. There are enough other areas of libxc which still use these > macros, and I can't go and simply update all other areas as I (or rather git grep) can't see the existing definitions/uses mfn_to_pfn and pfn_to_mfn outside of xc_domain_{save,restore}.c. Where are the defined and used outside of those? (I see some in mini-os, but you specifically said libxc) Likewise for the *_FIELD stuff which is used in ~2 places outside the save restore code according to grep. > struct > context is meaningless outside of libxc/saverestore. So how are these used there? Ian.