From nobody Tue Nov 11 07:27:25 2025 Delivered-To: importer@patchew.org Received-SPF: none (zoho.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=none (zoho.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail(p=none dis=none) header.from=gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1570461270; cv=none; d=zoho.com; s=zohoarc; b=YuHrzSSmX8XA37URtJvFYQc4bEQHFr7O5dTU970DEWW0rJAV4hdV5HlwvDGTe0zJrT42cBGd5Yo5aSJPWnMUoTW7Idce0IANbJZN1xZzoV+khiCvYQDW7dxoTjd+9pZPrZxIjBWle+VEi2v/0gFXbSh5ctuCf4U8bVmRWDVhvSw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1570461270; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To:ARC-Authentication-Results; bh=onB4UH27we/zbctsNGOvIPadHqxWlQ02pOIevlmdBTA=; b=mSytpmwreURFPs+B4rkVjRdVKL2f8q3TNnWNQ4JAchqoexKKf+ljP4RGvaiv+4bnmpnH+AwyRVG5Z/McIBP3I8xVrT2LByxoiPy4zjOS9cC7dDvXjHRGcsqCxENoSu2/6xPwMvNuPbDja6MWZpcvjLxe6aKPNjG6fJU9Ww1yxvU= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=fail; spf=none (zoho.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1570461270465272.88316677523085; Mon, 7 Oct 2019 08:14:30 -0700 (PDT) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1iHUhO-0006hK-Gk; Mon, 07 Oct 2019 15:13:22 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1iHUhN-0006hE-NS for xen-devel@lists.xenproject.org; Mon, 07 Oct 2019 15:13:21 +0000 Received: from mail-qt1-x844.google.com (unknown [2607:f8b0:4864:20::844]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id fd7efd42-e914-11e9-80e3-bc764e2007e4; Mon, 07 Oct 2019 15:13:17 +0000 (UTC) Received: by mail-qt1-x844.google.com with SMTP id r5so19711869qtd.0 for ; Mon, 07 Oct 2019 08:13:17 -0700 (PDT) Received: from five.crux.rad.ainfosec.com (209-217-208-226.northland.net. [209.217.208.226]) by smtp.googlemail.com with ESMTPSA id c185sm8354313qkg.74.2019.10.07.08.13.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Oct 2019 08:13:16 -0700 (PDT) X-Inumbo-ID: fd7efd42-e914-11e9-80e3-bc764e2007e4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=PPC0S7sPiHZ9eZt4eeH4dqS3WzPg9DdSZ+5hxQ5L6qo=; b=gw5i2YiGVNAsgJ+7sgG1/PnIL5Ksl921fiHywV95JKlXut6SXzK1s3YrtYAE6gVvgW R+gEhjec4MOPtDN85AV+O/qHRsEfBKJPQYV9yLVNyJQaRBmh4BZH5KncWyFxi2ubAqa7 +SFm2uQVjyUEyQd8Nv12xiYxkNcogRNdyMWy0b+pvWC8YNO3iB8nq9Ezrb0hht2ZUHfL tvfTazjjag+mJXAtQw5s8EXqLV29xiz5qPfpoWA/VAkeEgYXREgFc6A2d5KziJYrFnr2 DjW0vGzo+UmktUGnGTlnk6bWf4eRv6ohnM0XnzhKrq7+BnJSuRrBNoFtUKkzUV2s8Rl9 ebPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=PPC0S7sPiHZ9eZt4eeH4dqS3WzPg9DdSZ+5hxQ5L6qo=; b=VHzCo6BFa2LJyBUMb6g5PIT8+ItcwDaulYAilitni18Rp5eG5i/Hii7VSq2UxXvOjr C6+Vz6EYOSc8lWCNGRFckg1tDF4/yuzufQVZDI3ItjcBEgQzILWrel2r7vZjPI78axLl DKKlzSl3yKurBQaS9QgLAK7yaFBS7TZ3Pfe+WIMlhCeJZ5PGcsHY2Jlray8Qrxp2LhNw 4KH6iCWOWhe1IqvDX9S+F3G4wvHXju1fEZGhr0Zgidn0jgw6Eq0ILAPORLUUJcYQ8HQx rF6sKNzhctMKmIaS0tYXwzrJEfx5a5boX5lSmzb1sJoQ031MgXbQHpjD8CeYYUR2/wzO tSMQ== X-Gm-Message-State: APjAAAU5WUAoQ5M8+CUHbwn/rsypONCDtA6IEwAc91zn0xOC3xCf87nv aD9YHQRGyyWoqz8eahoZdY43XEZQ X-Google-Smtp-Source: APXvYqyB0iq5l5KC7Ac+YCZ85JvmAsh3/gJ3776MI0mgRoRNJWDJfbxulVUJOanxJ0vwJnu/EsE69Q== X-Received: by 2002:ac8:198b:: with SMTP id u11mr30267909qtj.108.1570461196581; Mon, 07 Oct 2019 08:13:16 -0700 (PDT) From: Nick Rosbrook To: xen-devel@lists.xenproject.org Date: Mon, 7 Oct 2019 11:12:48 -0400 Message-Id: <5c509297c01b8931986b1d039de1c72e89e44037.1570456846.git.rosbrookn@ainfosec.com> X-Mailer: git-send-email 2.19.1 In-Reply-To: References: MIME-Version: 1.0 Subject: [Xen-devel] [PATCH 01/24] golang/xenlight: fix calls to libxl_domain_unpause/pause X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Nick Rosbrook , Ian Jackson , kerriganb@ainfosec.com, George Dunlap , Wei Liu Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) From: Nick Rosbrook These functions require a third argument of type const *libxl_asyncop_how. Pass nil to fix compilation errors. This will have the effect of performing these operations synchronously. Signed-off-by: Nick Rosbrook Reviewed-by: George Dunlap --- Cc: George Dunlap Cc: Ian Jackson Cc: Wei Liu tools/golang/xenlight/xenlight.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/golang/xenlight/xenlight.go b/tools/golang/xenlight/xenl= ight.go index f5d171c2d5..59b8186a64 100644 --- a/tools/golang/xenlight/xenlight.go +++ b/tools/golang/xenlight/xenlight.go @@ -1011,7 +1011,7 @@ func (Ctx *Context) DomainUnpause(Id Domid) (err erro= r) { return } =20 - ret :=3D C.libxl_domain_unpause(Ctx.ctx, C.uint32_t(Id)) + ret :=3D C.libxl_domain_unpause(Ctx.ctx, C.uint32_t(Id), nil) =20 if ret !=3D 0 { err =3D Error(-ret) @@ -1026,7 +1026,7 @@ func (Ctx *Context) DomainPause(id Domid) (err error)= { return } =20 - ret :=3D C.libxl_domain_pause(Ctx.ctx, C.uint32_t(id)) + ret :=3D C.libxl_domain_pause(Ctx.ctx, C.uint32_t(id), nil) =20 if ret !=3D 0 { err =3D Error(-ret) --=20 2.19.1 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel