From: Ian Campbell Subject: Re: [PATCH] tools/xenctx: Correct use of xc_domain_{, un}pause() Date: Thu, 10 Jul 2014 11:32:47 +0100 Message-ID: <1404988367.32404.26.camel@hastur.hellion.org.uk> References: <1404489980-14564-1-git-send-email-andrew.cooper3@citrix.com> <1404920630.11945.43.camel@hastur.hellion.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1404920630.11945.43.camel@hastur.hellion.org.uk> 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: George Dunlap , Ian Jackson , Xen-devel List-Id: xen-devel@lists.xenproject.org On Wed, 2014-07-09 at 16:43 +0100, Ian Campbell wrote: > On Fri, 2014-07-04 at 17:06 +0100, Andrew Cooper wrote: > > The previous code never worked correctly. There was a TOCTOU race between > > checking dominfo and pausing the domain. > > > > Since c/s 3eb1c708, Xen properly reference counts pause hypercalls, so > > unconditionally pause and unpause the domain. > > > > Signed-off-by: Andrew Cooper > > Acked-by: Ian Campbell Applied.