From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: Re: Question about mapping between domains Date: Tue, 14 Jul 2015 16:49:32 +0100 Message-ID: <1436888972.11153.4.camel@citrix.com> References: <1436448706-2687-1-git-send-email-oleksandr.dmytryshyn@globallogic.com> <1436778275.7019.32.camel@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Oleksandr Dmytryshyn Cc: Keir Fraser , Ian Jackson , Tim Deegan , xen-devel , Stefano Stabellini , Jan Beulich List-Id: xen-devel@lists.xenproject.org On Tue, 2015-07-14 at 18:31 +0300, Oleksandr Dmytryshyn wrote: > > There is an additional quirk for a 1:1 mapped dom0 which is that we > > don't actually decrease reservation when ballooning, but keep the 1:1 > > mfn in anticipation of ballooning it back in later. > Could You please tell me a bit more information about this quirk. How this quirk > can be enabled? It's enabled by the same dom0_11_mapping which the dom0 domain_builder uses, look for uses of is_domain_direct_mapped, in particular the ones in xen/common/memory.c. Ian.