From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_2 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 48374C433DF for ; Mon, 15 Jun 2020 06:39:33 +0000 (UTC) Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 153272067B for ; Mon, 15 Jun 2020 06:39:32 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 153272067B Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kaod.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jkilm-0001VE-DI; Mon, 15 Jun 2020 06:38:58 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jkill-0001V8-1S for xen-devel@lists.xenproject.org; Mon, 15 Jun 2020 06:38:57 +0000 X-Inumbo-ID: e26584ac-aed2-11ea-bb8b-bc764e2007e4 Received: from 6.mo179.mail-out.ovh.net (unknown [46.105.56.76]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id e26584ac-aed2-11ea-bb8b-bc764e2007e4; Mon, 15 Jun 2020 06:38:55 +0000 (UTC) Received: from player789.ha.ovh.net (unknown [10.110.103.168]) by mo179.mail-out.ovh.net (Postfix) with ESMTP id AED6B16F830 for ; Mon, 15 Jun 2020 08:38:54 +0200 (CEST) Received: from kaod.org (lns-bzn-46-82-253-208-248.adsl.proxad.net [82.253.208.248]) (Authenticated sender: groug@kaod.org) by player789.ha.ovh.net (Postfix) with ESMTPSA id 4707A136379BC; Mon, 15 Jun 2020 06:38:36 +0000 (UTC) Authentication-Results: garm.ovh; auth=pass (GARM-98R0023cd0aa35-8cad-4a04-9371-86d222787d89,F1BB0E26B38E3581C3F8E07DA172D6E56B46BED4) smtp.auth=groug@kaod.org Date: Mon, 15 Jun 2020 08:38:35 +0200 From: Greg Kurz To: Markus Armbruster Subject: Re: [PATCH v10 1/9] error: auto propagated local_err Message-ID: <20200615083835.54e3fcb1@bahia.lan> In-Reply-To: <877dw8dhvk.fsf@dusky.pond.sub.org> References: <20200317151625.20797-1-vsementsov@virtuozzo.com> <20200317151625.20797-2-vsementsov@virtuozzo.com> <20200610163921.28d824aa@bahia.lan> <877dw8dhvk.fsf@dusky.pond.sub.org> X-Mailer: Claws Mail 3.17.5 (GTK+ 2.24.32; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Ovh-Tracer-Id: 1692509037167942030 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: -100 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeduhedrudeijedgudduvdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpeffhffvuffkjghfofggtgfgsehtjeertdertddvnecuhfhrohhmpefirhgvghcumfhurhiiuceoghhrohhugheskhgrohgurdhorhhgqeenucggtffrrghtthgvrhhnpeehkefhtdehgeehheejledufeekhfdvleefvdeihefhkefhudffhfeuuedvffdthfenucfkpheptddrtddrtddrtddpkedvrddvheefrddvtdekrddvgeeknecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmohguvgepshhmthhpqdhouhhtpdhhvghlohepphhlrgihvghrjeekledrhhgrrdhovhhhrdhnvghtpdhinhgvtheptddrtddrtddrtddpmhgrihhlfhhrohhmpehgrhhouhhgsehkrghougdrohhrghdprhgtphhtthhopeigvghnqdguvghvvghlsehlihhsthhsrdigvghnphhrohhjvggtthdrohhrgh X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Kevin Wolf , Vladimir Sementsov-Ogievskiy , Michael Roth , qemu-block@nongnu.org, Paul Durrant , Philippe =?UTF-8?B?TWF0aGlldS1EYXVkw6k=?= , Christian Schoenebeck , qemu-devel@nongnu.org, Max Reitz , Stefano Stabellini , Gerd Hoffmann , Stefan Hajnoczi , Anthony Perard , xen-devel@lists.xenproject.org, Laszlo Ersek , Stefan Berger Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" On Mon, 15 Jun 2020 07:21:03 +0200 Markus Armbruster wrote: > Greg Kurz writes: > > > On Tue, 17 Mar 2020 18:16:17 +0300 > > Vladimir Sementsov-Ogievskiy wrote: > > > >> Introduce a new ERRP_AUTO_PROPAGATE macro, to be used at start of > >> functions with an errp OUT parameter. > >> > >> It has three goals: > >> > >> 1. Fix issue with error_fatal and error_prepend/error_append_hint: user > >> can't see this additional information, because exit() happens in > >> error_setg earlier than information is added. [Reported by Greg Kurz] > >> > > > > I have more of these coming and I'd really like to use ERRP_AUTO_PROPAGATE. > > > > It seems we have a consensus on the macro itself but this series is gated > > by the conversion of the existing code base. > > > > What about merging this patch separately so that people can start using > > it at least ? > > Please give me a few more days to finish the work I feel should go in > before the conversion. With any luck, Vladimir can then rebase / > recreate the conversion easily, and you can finally use the macro for > your own work. > Sure. Thanks.