From: Ian Campbell Subject: Re: [PATCH] tools/xenctx: Correct use of xc_domain_{, un}pause() Date: Wed, 9 Jul 2014 16:43:50 +0100 Message-ID: <1404920630.11945.43.camel@hastur.hellion.org.uk> References: <1404489980-14564-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: In-Reply-To: <1404489980-14564-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: George Dunlap , Ian Jackson , Xen-devel List-Id: xen-devel@lists.xenproject.org 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