From: Tim Deegan Subject: Re: [PATCH RFC 00/20] Change parts of the shadow interface to be domain based Date: Mon, 16 Feb 2015 13:29:52 +0100 Message-ID: <20150216122952.GA49723@deinos.phlegethon.org> References: <1423761379-8520-1-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: <1423761379-8520-1-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: Keir Fraser , Jan Beulich , Xen-devel List-Id: xen-devel@lists.xenproject.org Hi, Thanks for this; I think the code looks a lot saner with all the vcpu<->domain fiddling removed. :) At 17:15 +0000 on 12 Feb (1423757759), Andrew Cooper wrote: > The purpose of this series is to prevent toolstack entry points into the > shadow code from passing d->vcpu[0] for actions which are inherenly domain > wide. It also fixes the fact that shadow heuristics were being applied to > vcpu 0 for toolstack-initiated actions. > > This series is composed mostly of mechanical changes. The only patches which > have a practical difference on shadow execution are patches 4 and 20 So having read the series, you can add my Reviewed-by: to all except 4 and 20. 20 looks probably OK but I want to give it a second pass. 4 definitely needs some thought -- in particular v == current is not the same as d == current->domain. I wonder if there's some better test; maybe also checking that current is in the right mode will help. Let me think about it and I'll review again later in the week. I'll want to have a look at the remaining users of the vcpu variant hash_foreach as well. Cheers, Tim.