Message ID | 20190211130507.8710-10-alex.bennee@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp2587816jaa; Mon, 11 Feb 2019 05:17:20 -0800 (PST) X-Google-Smtp-Source: AHgI3IZ3mMaVHL0ogTiDHQm7pZO3FCptiip5zZbtbJgnMiDfvaHloAAsc31RXlPxwdOXWA4RJD8j X-Received: by 2002:adf:d18a:: with SMTP id h10mr2101471wri.149.1549891040243; Mon, 11 Feb 2019 05:17:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549891040; cv=none; d=google.com; s=arc-20160816; b=wWOk7NoAiOQ78VgAsxLI/ST686rLH5vcQFoVR4pyI/4wsxG9TckiWbvBCWgvCvvC1z 6IAq8XHkQfxFuMZBdFt+cHWf3OuNUY4cCE5ZMvpS32ErP90FAg3t/VNQQSQzQp5JhfEV ok27BRi4p56rfJi+4PchtXvl5yKS4ht+cK4BcaJ4hNDLVW1A8ALE5FiM6erkEsKRa+0+ GVBFquXWf4tmnHWk5FFLF5ZxDYdJLAFLbEM3CLXyC6cSnD6JLBQgQpMta2rMe5Z82y8w /8IKM5I7bXMpvypI7JYOGKvDUV2Pjm/AHGbFx7XyTPHcn9FRKp66oHvluyFNZEyiC6ox 5PiQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:to:from:dkim-signature; bh=VsTFgXcfCpO8/hyDwfYb1FDhkYhY9rassK2hKUboKbQ=; b=PlAi1/xIix3WDKWC8x11N6sO8YI1BZASPCGLu0RfRTQmEJVvPKzJXI0tCV7THQ2Ekd BfWh+D7L9v5IklOoIr9RuFi/UYg0I2Wvir2cBHVy9kElOjQbKRgtooiAhAM0fCzM+2ut UvgliVnvPv+QHmJo0yQmWAWsxdN8E40p2WhkCAiLqDyyXcgZb1B5g/CGUqFJ4f/8M2Q3 9AxS7yrVLpYqN0PjAFLkm9qTDmSS2ZFIpAYdLe8zmD0KL1gz5alZjKTO7UqdRqBfB878 NPVKvXTbwZrsC/P45tsWaDGGT7zoa6wCcXepdELLq3wxkHpuc/thG4DZ3K8FvPuDrQ3M +cUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=Y4HXgM4O; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id h4si7297663wru.202.2019.02.11.05.17.20 for <patch@linaro.org> (version=TLS1 cipher=AES128-SHA bits=128/128); Mon, 11 Feb 2019 05:17:20 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=Y4HXgM4O; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([127.0.0.1]:50096 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+patch=linaro.org@nongnu.org>) id 1gtBSZ-0007Cg-6z for patch@linaro.org; Mon, 11 Feb 2019 08:17:19 -0500 Received: from eggs.gnu.org ([209.51.188.92]:50697) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <alex.bennee@linaro.org>) id 1gtBHi-0007aB-Jm for qemu-devel@nongnu.org; Mon, 11 Feb 2019 08:06:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <alex.bennee@linaro.org>) id 1gtBHc-0004Cn-VP for qemu-devel@nongnu.org; Mon, 11 Feb 2019 08:06:06 -0500 Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]:40108) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <alex.bennee@linaro.org>) id 1gtBHb-0003qx-1E for qemu-devel@nongnu.org; Mon, 11 Feb 2019 08:05:59 -0500 Received: by mail-wm1-x331.google.com with SMTP id q21so17151939wmc.5 for <qemu-devel@nongnu.org>; Mon, 11 Feb 2019 05:05:22 -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=VsTFgXcfCpO8/hyDwfYb1FDhkYhY9rassK2hKUboKbQ=; b=Y4HXgM4OpVN0F+oHQSwsGI1jnCOOYsRKWXMdTTzJcf9ZK1i4R8mGPmBBy9ifeObPTk 7y3fklIIJ+EvqtQTyZbBlA3KfeIrKUjPTGvsdmbFEflNV8HrxevpE8l60oBAS2csb//i yuPeRtl6HoYqwVEjlzGres/fVIor8LJHgnhKoGKrEbT009qw4bWIQDOiOISkPzVj8gZM 3D+S7+fhvkJlAnFot2ajiekdwJ/mIurLsb0q2eFpiJx2kpG89NILg9z8H23CSY4uvbYO p3+O2/+kerunb0d/C+WNDcrKQtiA9mzojAAYnPXkcuIFid5pNJpAh1mApicic6hS+Tpq 4q+A== 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=VsTFgXcfCpO8/hyDwfYb1FDhkYhY9rassK2hKUboKbQ=; b=Uj27Oy1YvWvdjFk5NgyR7wxvO9o8r/BOSIaQbUU/EdfJNBh/CyJCgBAaOxiEo4icGu My82i46NXORbUMcJC83BmYJ2L2AYUXeq+iKp9SLkKuEt4Joe47wP/3sSEmOV9MvEXdLc 71IUNfikvoQB+Pr0MbUcrB1vLjh3ENSIjHmtWdVExEHvuuHG1x5qN2ldO16W0NJuzKnS O1B+GLh7evOSjpzx3VvrRykHSN4Ne0nu04ghzHcG7eCqz9qZtT+VZtft+MOZyK6qW/3d uT0Z5BfGmTZ05NZhCCbgGfQnCzZVb+il4j/8nwxnWHClcJ4dGK2LEmQcvRsigmiKrPzj //HA== X-Gm-Message-State: AHQUAuY3FCxl3acI4K1mP0TUlXJ03XVN4PIGV5eo4KVY/unibsKerx0j 8O9tfLr9FzS1phuARRYzO993xA== X-Received: by 2002:a1c:f319:: with SMTP id q25mr9395298wmq.151.1549890321439; Mon, 11 Feb 2019 05:05:21 -0800 (PST) Received: from zen.linaroharston ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id u17sm5355931wrg.71.2019.02.11.05.05.11 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 11 Feb 2019 05:05:14 -0800 (PST) Received: from zen.linaroharston. (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 77BF71FF89; Mon, 11 Feb 2019 13:05:07 +0000 (UTC) From: =?utf-8?q?Alex_Benn=C3=A9e?= <alex.bennee@linaro.org> To: peter.maydell@linaro.org Date: Mon, 11 Feb 2019 13:04:58 +0000 Message-Id: <20190211130507.8710-10-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190211130507.8710-1-alex.bennee@linaro.org> References: <20190211130507.8710-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::331 Subject: [Qemu-devel] [PULL 09/18] 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: =?utf-8?q?Alex_Benn=C3=A9e?= <alex.bennee@linaro.org>, qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patch=linaro.org@nongnu.org> |
Series |
testing updates: travis/cirrus/vm-test/binfmt
|
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> -- 2.20.1