From: "Jan Beulich" Subject: Re: [PATCH v3 0/1] Introduce VCPUOP_reset_vcpu_info Date: Fri, 22 Aug 2014 14:23:30 +0100 Message-ID: <53F76072020000780002CB92@mail.emea.novell.com> References: <1408442683-12125-1-git-send-email-vkuznets@redhat.com> <53F39EA8.5020602@cantab.net> <20140820133742.GI3120@laptop.dumpdata.com> <20140820215730.GB6411@laptop.dumpdata.com> <87mwayku4n.fsf@vitty.brq.redhat.com> <20140822022741.GG20329@laptop.dumpdata.com> <53F72490020000780002C91E@mail.emea.novell.com> <53F73A82.3060702@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1XKooY-00078w-3O for xen-devel@lists.xenproject.org; Fri, 22 Aug 2014 13:23:34 +0000 In-Reply-To: <53F73A82.3060702@citrix.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 , Konrad Rzeszutek Wilk , Vitaly Kuznetsov Cc: David Vrabel , xen-devel@lists.xenproject.org, Andrew Jones List-Id: xen-devel@lists.xenproject.org >>> On 22.08.14 at 14:41, wrote: > If the domain has mapped granted pages then the new domain should not > retain the mappings (otherwise you will end up with a domain having > mappings of a grant that does not agree with the domain in the granter's > grant table). Of course. > If the domain has granted pages, it should probably copy those pages and > not reuse then (because updating the map tracking info is probably > non-trivial). I think grants should be dropped in any event (and if the tool stack establishes any it should re-establish them). Those that have a mapping elsewhere might indeed need to have their pages copied if updating the maptrack is too cumbersome. Jan