From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wei Liu Subject: Re: [PATCH v2 29/30] tools/libxc: Use featuresets rather than guesswork Date: Fri, 5 Feb 2016 16:13:45 +0000 Message-ID: <20160205161345.GJ23178@citrix.com> References: <1454679743-18133-1-git-send-email-andrew.cooper3@citrix.com> <1454679743-18133-30-git-send-email-andrew.cooper3@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1454679743-18133-30-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 Cc: Wei Liu , Ian Jackson , Ian Campbell , Xen-devel List-Id: xen-devel@lists.xenproject.org On Fri, Feb 05, 2016 at 01:42:22PM +0000, Andrew Cooper wrote: > It is conceptually wrong to base a VM's featureset on the features visible to > the toolstack which happens to construct it. > Agreed. > Instead, the featureset used is either an explicit one passed by the > toolstack, or the default which Xen believes it can give to the guest. > > Collect all the feature manipulation into a single function which adjusts the > featureset, and perform deep dependency removal. > > Signed-off-by: Andrew Cooper Acked-by: Wei Liu Note that I didn't review this patch in details.