From: "Jan Beulich" Subject: Re: [PATCH v3 for 4.5] x86/viridian: Freeze time reference counter when domain is paused Date: Thu, 16 Oct 2014 13:17:50 +0100 Message-ID: <543FD38E020000780003F364@mail.emea.novell.com> References: <1413451271-47779-1-git-send-email-paul.durrant@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1Xek08-0005Pe-Dt for xen-devel@lists.xenproject.org; Thu, 16 Oct 2014 12:17:52 +0000 In-Reply-To: <1413451271-47779-1-git-send-email-paul.durrant@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: Paul Durrant Cc: Keir Fraser , Andrew Cooper , Tim Deegan , Ian Campbell , Stefano Stabellini , xen-devel@lists.xenproject.org List-Id: xen-devel@lists.xenproject.org >>> On 16.10.14 at 11:21, wrote: > v3: > - Moved viridian calls into new arch_domain functions as suggested by Jan Much better this way imo, but sadly ... > --- a/xen/arch/arm/domain.c > +++ b/xen/arch/arm/domain.c > @@ -580,6 +580,18 @@ void arch_domain_destroy(struct domain *d) > free_xenheap_page(d->shared_info); > } > > +void arch_domain_shutdown(struct domain *d) > +{ > +} > + > +void arch_domain_pause(struct domain *d) > +{ > +} > + > +void arch_domain_unpause(struct domain *d) > +{ > +} > + ... you forgot to Cc the ARM maintainers (doing so now) - one of them will need to ack this addition. > @@ -925,32 +927,36 @@ int vcpu_unpause_by_systemcontroller(struct vcpu *v) > return 0; > } > > -void domain_pause(struct domain *d) > +void do_domain_pause(struct domain *d, > + void (*sleep_fn)(struct vcpu *v)) Already for v3 I pointed out that this could (and should) be static. I've taken note of this and the whitespace issue Andrew pointed out in case this can be committed without another full round. Jan