From patchwork Tue May 30 13:57:56 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Anton Nefedov X-Patchwork-Id: 9754645 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 A020E602BF for ; Tue, 30 May 2017 14:06:32 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 927F326E74 for ; Tue, 30 May 2017 14:06:32 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 85ECC2846F; Tue, 30 May 2017 14:06:32 +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=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED, 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 E4D4026E74 for ; Tue, 30 May 2017 14:06:31 +0000 (UTC) Received: from localhost ([::1]:54017 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dFhn5-0002GN-44 for patchwork-qemu-devel@patchwork.kernel.org; Tue, 30 May 2017 10:06:31 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45895) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dFhfP-0004xE-TQ for qemu-devel@nongnu.org; Tue, 30 May 2017 09:58:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dFhfM-0007EK-3E for qemu-devel@nongnu.org; Tue, 30 May 2017 09:58:36 -0400 Received: from mail-he1eur01on0114.outbound.protection.outlook.com ([104.47.0.114]:16853 helo=EUR01-HE1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dFhfL-0007DL-R7 for qemu-devel@nongnu.org; Tue, 30 May 2017 09:58:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=virtuozzo.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=vBWjzpw9ohKVS4dSwtzvnj/LxN4t/KzWT2ZlN/V5Omg=; b=Wn3K1n/frRXBIzVrU4E2rOPTHCTVQ+SB/yRR32yoATPgTIgOnkuU9q1NxNdSqgdvFSsXNAWhbFh7YM94tDNuoqoGjOnzoDaJ5wraim24UOSza6jrGEmf9jLFnbI+LDmOwKiRgJTp5n5ghx1xGePn/E5tctwoZteb5AKNVEy5nKg= Authentication-Results: nongnu.org; dkim=none (message not signed) header.d=none; nongnu.org; dmarc=none action=none header.from=virtuozzo.com; Received: from xantnef-ws.sw.ru (195.214.232.6) by HE1PR0801MB1993.eurprd08.prod.outlook.com (2603:10a6:3:4f::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1124.9; Tue, 30 May 2017 13:58:29 +0000 From: Anton Nefedov To: Date: Tue, 30 May 2017 16:57:56 +0300 Message-ID: <1496152683-102751-7-git-send-email-anton.nefedov@virtuozzo.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1496152683-102751-1-git-send-email-anton.nefedov@virtuozzo.com> References: <1496152683-102751-1-git-send-email-anton.nefedov@virtuozzo.com> MIME-Version: 1.0 X-Originating-IP: [195.214.232.6] X-ClientProxiedBy: DB6PR02CA0033.eurprd02.prod.outlook.com (2603:10a6:6:15::46) To HE1PR0801MB1993.eurprd08.prod.outlook.com (2603:10a6:3:4f::23) X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HE1PR0801MB1993: X-MS-Office365-Filtering-Correlation-Id: 68790571-8f05-4dad-a709-08d4a763f438 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201703131423075)(201703031133081); SRVR:HE1PR0801MB1993; X-Microsoft-Exchange-Diagnostics: 1; HE1PR0801MB1993; 3:vE3eceqCeweSzCxFftT8P7sdlssJCdUrNoCZGfSYQjy5KH3sosvllwOYzZjlLgArWYx/7bSoBXXJjsS/ckxkqF4Ww2gfN3eK2ZWfDalO9PINKoxdmZJliactmAMeBLu1/fAUWS33UAIbWB8gSNxNewb8LOs3ojJHxpbR46ZCUxh9f/NH8rZHBHOeCWENy/CoTWXsuX9Oi+o5xOt7r7rYGadPAvseC9va72B/B7ItTng+Y1Z6XRHaPYb5Bh8dSRRc49efaPjAAyKdlxijjc30Geu4u5L2HmrEuMNNSxbBjjfFsUcPo87ch583+mcyv8so0D/cpJAQwGYi76+1NUG6AQ==; 25:r6HTRANINowmdS6I3cxK5oF5oXllFn/B5ostl01rIlwMJWRVzERft85Rf6M2NB9kdifWjMDdIl6KdaGmDsWvAmsnzM9oVIJnoImxwJoz6wRunbxpWb9gCkDcMngIgSq0luuP/lwZdKx+k1flw3ATpis7udjoKpSs1LimiDdFdzguy03UIwaw6/q5DST8OOZ4qbeHvZexJhwL2G6ZlDl3itWWv9qSB+zoTSikVU6jzOK4KuttKxijMCPu90AOzzOb00WC1/ZYJPbz1Nq0dUh3YEXPrmX4qf2XCEyYkuJJCRHBVLtwMnEOHPGzFULwdL+3VuLHcO0vQ77GIIOWxqYEY+GzzrFFZYHfoFOwnXizpLlZ5ftdVsSTHJeQENuch19gOyvA88QOyZSj6DKR2ojP4c7JLzZ/0JsoDoNbr9jCkhACtIG2WI3WZ6NiowE1vWRN26uLbQAGTy/F3Mrx43eZdjAEsWpdvWjcC4dKy/b6gMk= X-Microsoft-Exchange-Diagnostics: 1; HE1PR0801MB1993; 31:haqxhnrwMQmBHRBlcLel8A6nKGJGsZfCbpSEALzd9JRzbRYfPs1nJO5h9i9quk7jGnJSg2ywTnwhfN7MR6rlh8Tttwm4T1Mtbfx2zIlhbAxPrtiJ0Y9pmREStxvf/kNa8Xv9AQBci7cseldHXd75jWsLM8kfBw+fEIzg8yJugj4c46w/hinJgnu7fbQ2NDIR4C1GRlsHrxwh8hwhLFqDJ4pZphC2BBiN/kwBJGcKag0=; 20:n0YEv7H0jvpnDNcDPGY0/SrlRCjH8Tw++S6evyk+n3Ooi5WVFR9P0RQxqYiY1xp8vSLs2oWiVHpoMpd+bpY5E0Y3ur0scXAqKPEGjstDEJS5MTbQSGWjFD7QMIzjzRXVBZRq8Y0Pxl3m9iNiBoJ1gMdRFflQrmmbzAak/qOSSFA/qNJrXbuoQXxyConRgCZVMHxt1lWP+FHvNzLxs2ePoGFGfhbs2gixSXIyH9qhaVCI+0yXskaX38CKHOrYNjIuCpM9wfHEOt+1GlPQdPrudOdWiULi1SZPvl5aWWR9lcvrP49U3YG46YSZhOtNTzPXK0WGKIZ3awIY11NJox+NaRxiCKi9Biau8cK/2aRG4diSEG5m2gWl1PHet+gWiLe8+34ePO2vIOtJj4f3Bz4Gtu6c2ZDJCXsG+eNP7u2gSjM= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700073)(100105000095)(100000701073)(100105300095)(100000702073)(100105100095)(6040450)(601004)(2401047)(8121501046)(5005006)(93006095)(93001095)(3002001)(100000703073)(100105400095)(10201501046)(6041248)(20161123564025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123560025)(20161123562025)(20161123558100)(20161123555025)(6072148)(100000704073)(100105200095)(100000705073)(100105500095); SRVR:HE1PR0801MB1993; BCL:0; PCL:0; RULEID:(100000800073)(100110000095)(100000801073)(100110300095)(100000802073)(100110100095)(100000803073)(100110400095)(100000804073)(100110200095)(100000805073)(100110500095); SRVR:HE1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ascii?Q?3gknSznkTKeSdP2fVdC63SprF0I6xXVzqbf0pi+ZgMssNYcMY8+l0CUCyyh5?= =?us-ascii?Q?Q1kvYzrmjSO0i6QB6OGwAzn5wzsxJTo23Crj6xK/EzlXTZbTUZhWdOZB5NI1?= =?us-ascii?Q?PufZzLSyHpYp0ANi47AUi3JUxoU5D8ZKnojtJw6nhA8FTrx4zF1vYwWsbT7x?= =?us-ascii?Q?1zefw41R6H/J3uHkfOMdX4c4WEFUpAgmENvntKe8Ehddjd0XftzXLE4rH4pz?= =?us-ascii?Q?YNCEVUDYvsV16AhivLCvheYAPcAhrGWtzodC3L9NjxMNNA2E4B60CWHcRyyH?= =?us-ascii?Q?hunUFsXbH9+XPSIBmnN8YMeYPV+zUlJb?= X-Forefront-PRVS: 032334F434 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(4630300001)(6009001)(39830400002)(39450400003)(39410400002)(39400400002)(6506006)(6486002)(86362001)(6916009)(2950100002)(6666003)(54906002)(38730400002)(53936002)(6512007)(25786009)(478600001)(5660300001)(47776003)(305945005)(7736002)(66066001)(107886003)(5003940100001)(110136004)(189998001)(2906002)(4326008)(50226002)(3846002)(8676002)(81166006)(6116002)(53416004)(50466002)(2351001)(48376002)(76176999)(42186005)(50986999)(33646002)(36756003); DIR:OUT; SFP:1102; SCL:1; SRVR:HE1PR0801MB1993; H:xantnef-ws.sw.ru; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; HE1PR0801MB1993; 23:B6RWj75F08nVf5uF1eWTuP6Laz+yRjafpdDW597?= =?us-ascii?Q?StfClD5LizR2j0rGDMHpZz1ooBzu8MLYUJd4rblabCdtwVVSa1TdwbMnfbqA?= =?us-ascii?Q?brq7XAZIRAOzT6LxZmrlkaR4G6Dxh2MP51HEhwX1G0vcqq1h/I3zalb4ogLw?= =?us-ascii?Q?CsY+wrqmAVDae1TFEloSSuHiO10xVozGkobdhATRyeFUjGG02FRaoe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GR+/5YorAlWHRBfzfbZj3ANgBYXVG+AQ0SCNO0SZem5sU60HOHFOK9iI; 24:kFSTO5aNaahzG61T6ZdnSFe4M+nAxLPl+Tnkmhk+cbCctjdor6VsCg/P65kB0xlSoEZkZoAmv0W40SSiETWPAHAAWs5w7okgVVyv30/R3ec= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; HE1PR0801MB1993; 7:+TcDofsezwB4k6GjaOBtWbbcvnmKNF8wZNJbmTkBaTMfy6ka+u8sjqanicGS9BUwrV4QTcjigCWc+XiPWgsdrSB2UMHX6vrIviuNIsgNcLpiGWCvl2SBbSKM32W9rmCfVqa3Hy8DKEM0lmdqfICSU7uqFq/kHDmF24+f2rHkQo68Sn7JZ2Y13CsH/Y7O+8sBvRc8AYNEsKOqqo3X74C8SnLTsBr255Opzyv0eEwsk7EkF/YNlR3SGaM61XHUAjJHr+xUP3wDEZpvGR3NXZ3hlIT2sia1yIk2lsMqPrQ/Db2XVSecwB+FatSWh0a/z4jqwokRkNDe7dlYdKeUsKdECQ==; 20:sQjk3mfe58Fj+4CsSzVuAuJjuZOx+tkKhQjiGZ05cG9KyMX9+U49U3ULrY6FZJxk8Z0ibILYp1/i7fH4aPINmM/u/QCubxw4U/WbGR2V4K2nKHrJG+jfTHMMDTKru2JEKlS+vwKupl4K4lB2ptSXEIB4BKW9qSbKY49oivYJvwk= X-OriginatorOrg: virtuozzo.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 May 2017 13:58:29.9270 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0801MB1993 X-detected-operating-system: by eggs.gnu.org: Windows 7 or 8 [fuzzy] X-Received-From: 104.47.0.114 Subject: [Qemu-devel] [PATCH v3 06/13] test-char: unref chardev-udp after test 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, Anton Nefedov , den@virtuozzo.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 this is only not a problem if the test is last in a suite, otherwise it makes the following main_loop() calls to fail Signed-off-by: Anton Nefedov Reviewed-by: Marc-André Lureau --- tests/test-char.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test-char.c b/tests/test-char.c index f3b377f..d63d3d2 100644 --- a/tests/test-char.c +++ b/tests/test-char.c @@ -456,6 +456,8 @@ static void char_udp_test(void) close(sock); g_free(tmp); + qemu_chr_fe_deinit(&be); + object_unparent(OBJECT(chr)); } static void char_file_test(void)