From nobody Thu May 2 22:59:47 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=none (zohomail.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=eu.citrix.com ARC-Seal: i=1; a=rsa-sha256; t=1579284796; cv=none; d=zohomail.com; s=zohoarc; b=Af1PNKgXH085Z3IknHgjsZZG+HIOFq6rW+NbWByN72MY7Wh0R08K+Z60+O1txkx9bLmzhoz/+lAC8vl3H/WOBnsrcyYh16zMavI881cmjdUcP/jduYbz0rfJ4Y7FBZb3d2Vf0CI3N0TjdPOk1bXIVJHVg1eLdTVBKIFHrXdbq4c= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1579284796; 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; bh=t5EtLfR84iMreh79JFQgGNpPvYWpectViuoBeUt/8gw=; b=Yp1jcQxANJTHdwtFJ5iWWDVWsPsYoF39ngGU29b6MrqpoeQPn9DLIXVtoxwCmtgNTv01ct3Szw2dM/RfVvuhsrNswyLfCemYRdry+/HigOrUtq6YqN6G71Wtak68wdZhOQHBSJFCpHeN5BHA5C4dKewRSx5XmjvdAUmSF4YFz04= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=none (zohomail.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 1579284796383432.2932206862995; Fri, 17 Jan 2020 10:13:16 -0800 (PST) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1isW6c-0007rL-CO; Fri, 17 Jan 2020 18:12:26 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1isW6b-0007rG-5l for xen-devel@lists.xenproject.org; Fri, 17 Jan 2020 18:12:25 +0000 Received: from esa2.hc3370-68.iphmx.com (unknown [216.71.145.153]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id e43ea356-3954-11ea-b833-bc764e2007e4; Fri, 17 Jan 2020 18:12:16 +0000 (UTC) X-Inumbo-ID: e43ea356-3954-11ea-b833-bc764e2007e4 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=citrix.com; s=securemail; t=1579284736; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version; bh=eZXcvQp3NOKDappdXnY4eEG+fzoqk8OoUGk+rH4s+Ic=; b=Qp3PhvAVcGid1zw5aEqZbefDY8Ex6m6gTlu65VsHq6i3fULvd82UfyUE 3LYooHKrjiFAJdALnYA22EceewNX0BqcqJu8lKJ72AhgSVXqTFd9y+P3a jDHlo3Ky0eGKQamNiXuoCZTia0JJhS8k874ZFHmtlLeiMaPLA/2aievZF g=; Authentication-Results: esa2.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none; spf=None smtp.pra=ian.jackson@eu.citrix.com; spf=Pass smtp.mailfrom=Ian.Jackson@citrix.com; spf=None smtp.helo=postmaster@mail.citrix.com Received-SPF: none (zohomail.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; Received-SPF: None (esa2.hc3370-68.iphmx.com: no sender authenticity information available from domain of ian.jackson@eu.citrix.com) identity=pra; client-ip=162.221.158.21; receiver=esa2.hc3370-68.iphmx.com; envelope-from="Ian.Jackson@citrix.com"; x-sender="ian.jackson@eu.citrix.com"; x-conformance=sidf_compatible Received-SPF: Pass (esa2.hc3370-68.iphmx.com: domain of Ian.Jackson@citrix.com designates 162.221.158.21 as permitted sender) identity=mailfrom; client-ip=162.221.158.21; receiver=esa2.hc3370-68.iphmx.com; envelope-from="Ian.Jackson@citrix.com"; x-sender="Ian.Jackson@citrix.com"; x-conformance=sidf_compatible; x-record-type="v=spf1"; x-record-text="v=spf1 ip4:209.167.231.154 ip4:178.63.86.133 ip4:195.66.111.40/30 ip4:85.115.9.32/28 ip4:199.102.83.4 ip4:192.28.146.160 ip4:192.28.146.107 ip4:216.52.6.88 ip4:216.52.6.188 ip4:162.221.158.21 ip4:162.221.156.83 ip4:168.245.78.127 ~all" Received-SPF: None (esa2.hc3370-68.iphmx.com: no sender authenticity information available from domain of postmaster@mail.citrix.com) identity=helo; client-ip=162.221.158.21; receiver=esa2.hc3370-68.iphmx.com; envelope-from="Ian.Jackson@citrix.com"; x-sender="postmaster@mail.citrix.com"; x-conformance=sidf_compatible IronPort-SDR: +V2jTyjwkf54BuXH5q6RMbdsA63lqkiPf/LwK2AghyOEZXJ4mg41X9tn4wPUIW3NPtKYwctFhn ldOqQvfQDtfcK9GQXebjUmXulE7iaMjXcK6Ff4DV9JHl37jwG8bj5nb2ojUpYSI/yD05Ox8oOW gWXZ91AhT49wt9pdDxVDeuQ55t6x05zRCnk9pddmCS9OcuXfoQWLq4exxonPLKvCkj5VU5pf/2 mUqB7n0rplbQRs1NDNIUYerNDkKnjONuuf4MOfhl05oVwU9dw8ecJe1AB1ndqFZ6hLbwd+gTvj Rog= X-SBRS: 2.7 X-MesageID: 11101342 X-Ironport-Server: esa2.hc3370-68.iphmx.com X-Remote-IP: 162.221.158.21 X-Policy: $RELAYED X-IronPort-AV: E=Sophos;i="5.70,331,1574139600"; d="scan'208";a="11101342" From: Ian Jackson To: Date: Fri, 17 Jan 2020 18:12:07 +0000 Message-ID: <20200117181207.7087-1-ian.jackson@eu.citrix.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <61695d47-d419-a2cc-6503-9202e85da6a0@citrix.com> References: <61695d47-d419-a2cc-6503-9202e85da6a0@citrix.com> MIME-Version: 1.0 Subject: [Xen-devel] [PATCH] libxl: event: Document lifetime API for libxl_childproc_setmode 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: Anthony PERARD , Ian Jackson , 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) There is already an identical comment for libxl_osevent_register_hooks. libxl_childproc_setmode's hooks parameter has the same property and this should be documented. Reported-by; George Dunlap Signed-off-by: Ian Jackson Acked-by: Wei Liu Reported-by; George Dunlap --- tools/libxl/libxl_event.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/libxl/libxl_event.h b/tools/libxl/libxl_event.h index d1517f7456..8d0aa6417e 100644 --- a/tools/libxl/libxl_event.h +++ b/tools/libxl/libxl_event.h @@ -548,6 +548,8 @@ typedef struct { * May not be called when libxl might have any child processes, or the * behaviour is undefined. So it is best to call this at * initialisation. + * + * The value *hooks is not copied and must outlast the libxl_ctx. */ void libxl_childproc_setmode(libxl_ctx *ctx, const libxl_childproc_hooks *= hooks, void *user); --=20 2.11.0 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel