From patchwork Mon Mar 5 07:59:54 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Xu X-Patchwork-Id: 10258333 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 43C576037E for ; Mon, 5 Mar 2018 08:00:59 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 30CE3289BB for ; Mon, 5 Mar 2018 08:00:59 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2DE182896F; Mon, 5 Mar 2018 08:00:59 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id D2C5A289B5 for ; Mon, 5 Mar 2018 08:00:56 +0000 (UTC) Received: from localhost ([::1]:47681 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1esl3H-00083Y-FQ for patchwork-qemu-devel@patchwork.kernel.org; Mon, 05 Mar 2018 03:00:55 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56928) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1esl2a-0007gN-1F for qemu-devel@nongnu.org; Mon, 05 Mar 2018 03:00:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1esl2V-0000gd-NE for qemu-devel@nongnu.org; Mon, 05 Mar 2018 03:00:12 -0500 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:37898 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 1esl2V-0000gU-Ho for qemu-devel@nongnu.org; Mon, 05 Mar 2018 03:00:07 -0500 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id AB3744085010 for ; Mon, 5 Mar 2018 08:00:02 +0000 (UTC) Received: from xz-mi (dhcp-14-151.nay.redhat.com [10.66.14.151]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 95DD12026E03; Mon, 5 Mar 2018 07:59:56 +0000 (UTC) Date: Mon, 5 Mar 2018 15:59:54 +0800 From: Peter Xu To: qemu-devel@nongnu.org Message-ID: <20180305075954.GB7584@xz-mi> References: <20180305065040.10353-1-peterx@redhat.com> <152023581793.1371.12770150376954730773@bdbb90650ae5> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <152023581793.1371.12770150376954730773@bdbb90650ae5> User-Agent: Mutt/1.9.1 (2017-09-22) X-Scanned-By: MIMEDefang 2.78 on 10.11.54.4 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.5]); Mon, 05 Mar 2018 08:00:02 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.5]); Mon, 05 Mar 2018 08:00:02 +0000 (UTC) for IP:'10.11.54.4' DOMAIN:'int-mx04.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'peterx@redhat.com' RCPT:'' X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 66.187.233.73 Subject: Re: [Qemu-devel] [PATCH 0/9] chardev: qio related non-default context support X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: pbonzini@redhat.com, famz@redhat.com, stefanha@redhat.com, marcandre.lureau@redhat.com Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP On Sun, Mar 04, 2018 at 11:43:39PM -0800, no-reply@patchew.org wrote: [...] > TEST decodetree.py > LINK tests/check-qdict > LINK tests/test-char > LINK tests/check-qnum > LINK tests/check-qstring > LINK tests/check-qlist > LINK tests/check-qnull > tests/test-char.o: In function `char_mux_test': > /tmp/qemu-test/src/tests/test-char.c:169: undefined reference to `muxes_realized' This is a valid report. I need to squash this into patch 5 to fix it: I'll repost until I got some other feedbacks. diff --git a/include/chardev/char-mux.h b/include/chardev/char-mux.h index 8928977897..1e13187767 100644 --- a/include/chardev/char-mux.h +++ b/include/chardev/char-mux.h @@ -27,8 +27,6 @@ #include "chardev/char.h" #include "chardev/char-fe.h" -extern bool muxes_realized; - #define MAX_MUX 4 #define MUX_BUFFER_SIZE 32 /* Must be a power of 2. */ #define MUX_BUFFER_MASK (MUX_BUFFER_SIZE - 1) diff --git a/tests/test-char.c b/tests/test-char.c index b358620911..e49af9e398 100644 --- a/tests/test-char.c +++ b/tests/test-char.c @@ -166,7 +166,6 @@ static void char_mux_test(void) FeHandler h1 = { 0, }, h2 = { 0, }; CharBackend chr_be1, chr_be2; - muxes_realized = true; /* done after machine init */ opts = qemu_opts_create(qemu_find_opts("chardev"), "mux-label", 1, &error_abort); qemu_opt_set(opts, "backend", "ringbuf", &error_abort);