Message ID | CAJ+F1CK65D9PyY0LqA_m24k0j4FptRcK7Br71Pip1rBOxCVrnA@mail.gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org> 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 8EB63601D3 for <patchwork-qemu-devel@patchwork.kernel.org>; Wed, 25 Apr 2018 10:13:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7F66A28DF9 for <patchwork-qemu-devel@patchwork.kernel.org>; Wed, 25 Apr 2018 10:13:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 73BDF28F46; Wed, 25 Apr 2018 10:13:42 +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.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,FREEMAIL_FROM,FROM_EXCESS_BASE64,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI,T_DKIM_INVALID 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 17C7528DF9 for <patchwork-qemu-devel@patchwork.kernel.org>; Wed, 25 Apr 2018 10:13:41 +0000 (UTC) Received: from localhost ([::1]:35571 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org>) id 1fBHQi-0004sI-JK for patchwork-qemu-devel@patchwork.kernel.org; Wed, 25 Apr 2018 06:13:40 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47350) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <marcandre.lureau@gmail.com>) id 1fBHPq-0004Gj-Ge for qemu-devel@nongnu.org; Wed, 25 Apr 2018 06:12:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <marcandre.lureau@gmail.com>) id 1fBHPp-0003CV-IE for qemu-devel@nongnu.org; Wed, 25 Apr 2018 06:12:46 -0400 Received: from mail-wm0-x236.google.com ([2a00:1450:400c:c09::236]:54777) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <marcandre.lureau@gmail.com>) id 1fBHPp-0003CL-B5 for qemu-devel@nongnu.org; Wed, 25 Apr 2018 06:12:45 -0400 Received: by mail-wm0-x236.google.com with SMTP id f6so6161280wmc.4 for <qemu-devel@nongnu.org>; Wed, 25 Apr 2018 03:12:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=8qRDkM5DF0lnOqKO3N3w1ZrhiqH9pF3cSTHhlCV7wYE=; b=YBABpOkbACAC1ua0KD4uULqR7nG2+wIOV24WUHo3wGiVygXpTT8pmWRwM2IOWUUySg fkwpaKcBHZDp3/RZ3yPTMWfyBhBrVfJjSpMCw+OfNLU0/fsb+KPpmyYs3kusi8bpr5rs MkarwoFf4f4SldXFevgiZ58Xy5OCdxZWjK2a5iY2W/Jz2dNNoozJY/8gwGf4yEKO2w3L wALKeKD+sm/0bQ6Tf/otmOJ96+sjXldOyykmwTgUaXXghz8ZppbC6kZEJ6d+ZOikHMuC 8lKnAtYkX5s39QAeiXMeF20Nlv3xIhxwfrVXa8Y4KVxJZWKKM71Kcl79UnBtSI2abvGL 4RwA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=8qRDkM5DF0lnOqKO3N3w1ZrhiqH9pF3cSTHhlCV7wYE=; b=ZzkcXZgdjnA6C/YAb+3l+uddHR5TbehhznJhTlf4LQadG6zU5cTSSZJV/67m4d1fRr HWgtkEITPNywaA7izy1z72an4dbNe3x5FXVGq63uyWQ/qwncxT2/nQga44uFPQIA3nwp G1yrX2sYgeVjajrqcfmO6sTImduSuEcJn6ZTLmwrY3FpKZpOMZLlHEXQei4rKa5ioXRL g58AwizIalttw+RTDyDkjnE9qkxzx2naNmPi8ElJFxqb4P7Ded7cx4g+txHN3OXa7oDG Bgxw02/vfRoKfnJuPACWInkND/ciizknXRMd6m42lJvmapppsBl6+bKfZQQcYJrtKwdb BodQ== X-Gm-Message-State: ALQs6tDIbIALinki1VTk+s1zU9VV8Lbj4jrFzkSteJpHCsp0cnQv3WPU j8+hnGdOURsdtX6tSTIZxEMRVnvmtnkEe34AMYM= X-Google-Smtp-Source: AIpwx48Jwo8JaEZB8yRukOS/gmsLQUDv0C3elsv/55ARDmY6aMGf0xaD5STbQRBIKJ1Pgwu7BX0RV6ZTOs4k++OH7R8= X-Received: by 10.28.21.84 with SMTP id 81mr14691179wmv.36.1524651164125; Wed, 25 Apr 2018 03:12:44 -0700 (PDT) MIME-Version: 1.0 Received: by 10.223.156.193 with HTTP; Wed, 25 Apr 2018 03:12:43 -0700 (PDT) In-Reply-To: <0cb6d53c-551c-4c2c-d524-c37c4bdcfd0e@redhat.com> References: <0cb6d53c-551c-4c2c-d524-c37c4bdcfd0e@redhat.com> From: =?UTF-8?B?TWFyYy1BbmRyw6kgTHVyZWF1?= <marcandre.lureau@gmail.com> Date: Wed, 25 Apr 2018 12:12:43 +0200 Message-ID: <CAJ+F1CK65D9PyY0LqA_m24k0j4FptRcK7Br71Pip1rBOxCVrnA@mail.gmail.com> To: Thomas Huth <thuth@redhat.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c09::236 Subject: Re: [Qemu-devel] QEMU monitor banner printed multiple times X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <http://lists.nongnu.org/archive/html/qemu-devel/> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Cc: Paolo Bonzini <pbonzini@redhat.com>, QEMU Developers <qemu-devel@nongnu.org> Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org> X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/monitor.c b/monitor.c index 39f8ee17ba..6f4646bf0c 100644 --- a/monitor.c +++ b/monitor.c @@ -4411,8 +4411,10 @@ static void monitor_event(void *opaque, int event) break; case CHR_EVENT_OPENED: - monitor_printf(mon, "QEMU %s monitor - type 'help' for more " - "information\n", QEMU_VERSION); + if (!mon->reset_seen) { + monitor_printf(mon, "QEMU %s monitor - type 'help' for more " + "information\n", QEMU_VERSION); + } -- Marc-André Lureau