From patchwork Thu Feb 15 21:25:46 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Marc-Andr=C3=A9_Lureau?= X-Patchwork-Id: 874137 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=2001:4830:134:3::11; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3zj8Vk6nyhz9t2f for ; Fri, 16 Feb 2018 08:27:09 +1100 (AEDT) Received: from localhost ([::1]:33342 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1emR3a-0005wl-Sz for incoming@patchwork.ozlabs.org; Thu, 15 Feb 2018 16:27:06 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47434) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1emR2g-0005sg-Tv for qemu-devel@nongnu.org; Thu, 15 Feb 2018 16:26:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1emR2g-0000pd-3r for qemu-devel@nongnu.org; Thu, 15 Feb 2018 16:26:10 -0500 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:42034 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 1emR2f-0000p5-Uw for qemu-devel@nongnu.org; Thu, 15 Feb 2018 16:26:10 -0500 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 849418182D27 for ; Thu, 15 Feb 2018 21:25:59 +0000 (UTC) Received: from localhost (ovpn-112-19.ams2.redhat.com [10.36.112.19]) by smtp.corp.redhat.com (Postfix) with ESMTP id 558D01004C4; Thu, 15 Feb 2018 21:25:53 +0000 (UTC) From: =?utf-8?q?Marc-Andr=C3=A9_Lureau?= To: qemu-devel@nongnu.org Date: Thu, 15 Feb 2018 22:25:46 +0100 Message-Id: <20180215212552.26997-1-marcandre.lureau@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.11.54.5 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.8]); Thu, 15 Feb 2018 21:25:59 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.8]); Thu, 15 Feb 2018 21:25:59 +0000 (UTC) for IP:'10.11.54.5' DOMAIN:'int-mx05.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'marcandre.lureau@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: [Qemu-devel] [PATCH 0/6] vhost-user-test and leak fixes 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, =?utf-8?q?Marc-Andr=C3=A9_Lureau?= Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" Hi, The following patches fix a regression introduced in commit 218bb57dd79d that prevent ASAN from being detected & used. There is also a works around for a GCC ASAN optimization bug. A few test leaks are fixed, and a few patches reenable vhost-user memfd test fixing the recent race bug that was identified in the previous version. Marc-André Lureau (6): build-sys: fix -fsanitize=address check lockable: workaround GCC link issue with ASAN vhost-user-test: add back memfd check vhost-user-test: do not hang if chardev creation failed ahci-test: fix opts leak of skip tests sdhci-test: fix leaks include/qemu/lockable.h | 2 +- tests/ahci-test.c | 1 + tests/sdhci-test.c | 2 ++ tests/vhost-user-test.c | 94 +++++++++++++++++++++++++++++++++++-------------- configure | 22 ++++++------ 5 files changed, 83 insertions(+), 38 deletions(-)