Message ID | 20190207183744.5054-10-alex.bennee@linaro.org |
---|---|
State | New |
Headers | show
Return-Path: <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org> 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=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="W2crA9k2"; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 43wSNf0Xngz9s9G for <incoming@patchwork.ozlabs.org>; Fri, 8 Feb 2019 06:02:10 +1100 (AEDT) Received: from localhost ([127.0.0.1]:45468 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>) id 1grow3-0002Xq-Un for incoming@patchwork.ozlabs.org; Thu, 07 Feb 2019 14:02:07 -0500 Received: from eggs.gnu.org ([209.51.188.92]:41065) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <alex.bennee@linaro.org>) id 1groYn-0000KN-La for qemu-devel@nongnu.org; Thu, 07 Feb 2019 13:38:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <alex.bennee@linaro.org>) id 1groYk-0007aI-0i for qemu-devel@nongnu.org; Thu, 07 Feb 2019 13:38:03 -0500 Received: from mail-wr1-x42e.google.com ([2a00:1450:4864:20::42e]:47013) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <alex.bennee@linaro.org>) id 1groYg-0007S6-Ah for qemu-devel@nongnu.org; Thu, 07 Feb 2019 13:38:00 -0500 Received: by mail-wr1-x42e.google.com with SMTP id l9so892292wrt.13 for <qemu-devel@nongnu.org>; Thu, 07 Feb 2019 10:37:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=RI3hIy4OUCm1BggeTdQKyOo4KLrZ8N+o4uTqKehgzt0=; b=W2crA9k2iIjT+vKBSVwCvudwTUg6/jzyt3L9Bt2Liy8yw9zlXnciUgoGNUZiC2XDPg lp2BlJQGryYbong8h9+n20TRGu5aekVto9gPcGPefK8dtSc/ZvlkZfCUsBCDeRh1ZU7q wc08dgeIs63wCEWZzG9B24fw4lM6YNoJQtEMMnZIq5IR+PNKh0++Jrn9RHyUD9i0iYkb IRYlFFjqJYshHY6zAzNkZq40rfu+QbxT3/Ne1AelctKphqkRDSYALMHLcHTelrNhe54H 0ZLthNSYnVeZ6+6da+9hGMYV4chluQA9CAfriFzHYliGp27BUSHWAjRbxZ5PXkTceNX6 /xOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=RI3hIy4OUCm1BggeTdQKyOo4KLrZ8N+o4uTqKehgzt0=; b=dFz9NraR+72HYjhC9DaVB8szLDK7+H3cv3nS0hC0RYxT4Tdk5j5jeCT/Egy2LUec9b rWvl/dUsbPHlW+uHgSxxIpwkAIAXe64vQ0rS8JBWth6b/nE1wZ4xnkiqgc4sUL4F7sfe UOwsUcT8JzutQl+FxOW91upvHvLjGjghmPpgUuA3AjYud79Ub1+QVeubr9hS09HIevIr I5sRrnZoXu0D4ayZmyCkOJtEABJlGcAJt/r40AQJKwu2e7siZTydztvAHDvGf9UU45F7 kDPFane55NQ4y4/i2yC+VYnr8p6uLVi6qQoq83FJf0Hr7dYhtAsRuoIntpw3f9bGuraE h91A== X-Gm-Message-State: AHQUAuYc4BRyuEnYGRIfg4M+mk1pUEKMGUWYbG8tJ1CUd9KSOdCOfyXs RIyek6v2q5dNvd9iuXcTjKbGBQ== X-Google-Smtp-Source: AHgI3IazTVHgNQ/nFJ1wRL5wZ6YrSy77ZHQgsZ0L3uIzgVHq6rTwNehQrQDJ+1oTUgP/eIKvwCLekQ== X-Received: by 2002:adf:ed11:: with SMTP id a17mr6099844wro.283.1549564675696; Thu, 07 Feb 2019 10:37:55 -0800 (PST) Received: from zen.linaroharston ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id f130sm29479wme.41.2019.02.07.10.37.48 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 07 Feb 2019 10:37:53 -0800 (PST) Received: from zen.linaroharston. (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 0A04A1FF89; Thu, 7 Feb 2019 18:37:45 +0000 (UTC) From: =?utf-8?q?Alex_Benn=C3=A9e?= <alex.bennee@linaro.org> To: qemu-devel@nongnu.org Date: Thu, 7 Feb 2019 18:37:37 +0000 Message-Id: <20190207183744.5054-10-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190207183744.5054-1-alex.bennee@linaro.org> References: <20190207183744.5054-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::42e Subject: [Qemu-devel] [PATCH v2 09/16] tests: make docker.py check for persistent configs 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: qemu-arm@nongnu.org, =?utf-8?q?Alex_Benn=C3=A9e?= <alex.bennee@linaro.org> Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org> |
Series |
current testing/next queue (with build fixes)
|
expand
|
diff --git a/tests/docker/docker.py b/tests/docker/docker.py index 30f463af9f..768728785f 100755 --- a/tests/docker/docker.py +++ b/tests/docker/docker.py @@ -127,6 +127,11 @@ def _check_binfmt_misc(executable): with open(binfmt_entry) as x: entry = x.read() + if re.search("flags:.*F.*\n", entry): + print("binfmt_misc for %s uses persistent(F) mapping to host binary\n" % + (binary)) + return None + m = re.search("interpreter (\S+)\n", entry) interp = m.group(1) if interp and interp != executable:
binfmt_misc configured with the "F" flag opens the interpreter at config time. This means it can use an already open file-descriptor to run QEMU so there is no point trying to copy the binary into a container. Signed-off-by: Alex Bennée <alex.bennee@linaro.org> --- tests/docker/docker.py | 5 +++++ 1 file changed, 5 insertions(+)