Received: from eggs.gnu.org ([2001:4830:134:3::10]:39741) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fj6NZ-00084w-Tp for qemu-devel@nongnu.org; Fri, 27 Jul 2018 13:18:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fj6NW-0001Ic-N2 for qemu-devel@nongnu.org; Fri, 27 Jul 2018 13:18:13 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:36318 helo=mx1.redhat.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fj6NW-0001IB-HL for qemu-devel@nongnu.org; Fri, 27 Jul 2018 13:18:10 -0400 Reply-To: thuth@redhat.com References: <20180727151359.29061-1-armbru@redhat.com> <20180727151359.29061-23-armbru@redhat.com> From: Thomas Huth Message-ID: <007a70a2-4ee1-5d41-e53e-35d92f53f518@redhat.com> Date: Fri, 27 Jul 2018 19:18:08 +0200 MIME-Version: 1.0 In-Reply-To: <20180727151359.29061-23-armbru@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v2 22/23] libqtest: Replace qtest_startf() by qtest_initf() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Markus Armbruster , qemu-devel@nongnu.org Cc: f4bug@amsat.org, eblake@redhat.com On 07/27/2018 05:13 PM, Markus Armbruster wrote: > qtest_init() creates a new QTestState, and leaves @global_qtest alone. > qtest_start() additionally assigns it to @global_qtest, but > qtest_startf() additionall sets assigns NULL to @global_qtest. This > makes no sense. Replace it by qtest_initf() that works like > qtest_init(), i.e. leaves @global_qtest alone. FWIW, the original idea was to get rid of global_qtest, and then to remove qtest_init instead: https://lists.gnu.org/archive/html/qemu-devel/2017-09/msg02723.html Not sure whether Eric is still working on these patches, though. Thomas