From patchwork Tue Feb 25 12:10:48 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wei Liu X-Patchwork-Id: 11403433 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 50D5A1580 for ; Tue, 25 Feb 2020 12:12:11 +0000 (UTC) Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 378132084E for ; Tue, 25 Feb 2020 12:12:11 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 378132084E Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=xen.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1j6Z39-0000wA-1G; Tue, 25 Feb 2020 12:10:55 +0000 Received: from all-amaz-eas1.inumbo.com ([34.197.232.57] helo=us1-amaz-eas2.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1j6Z37-0000w4-2f for xen-devel@lists.xenproject.org; Tue, 25 Feb 2020 12:10:53 +0000 X-Inumbo-ID: ddeed0e8-57c7-11ea-92e4-12813bfff9fa Received: from mail-wr1-f68.google.com (unknown [209.85.221.68]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id ddeed0e8-57c7-11ea-92e4-12813bfff9fa; Tue, 25 Feb 2020 12:10:52 +0000 (UTC) Received: by mail-wr1-f68.google.com with SMTP id g3so14398162wrs.12 for ; Tue, 25 Feb 2020 04:10:52 -0800 (PST) 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:mime-version :content-transfer-encoding; bh=QyABrfa1WXTfNKFspuVD47XaadKxtXWMBSUlFih5a3Q=; b=s5cbWuokLxAXJH0JOfOJe8gsFk/z1iXSKU9kv9AZMXMbU4i3rMhZWK2sMP/R2hZELO DZ5QPtmW5K06ymc5jyOqPEMoSf3ATUUXnk3AXss7FEUNzUlditvvueqpR5mQfdaKrL/W 5td405iS1ozkQVKxo8P4lcVgfhftT8O34kuBo8ERLwUovg+9bKn0U8McFfWTxWHSSB2x 3R+RSO4MQ20icC3ydKyLOBVJm3SHjtQ0ElYDTftl7TT/1uAAm9dR4V7iGmy/LbId/lZ+ 0CylMxP4QXDBavrJtX8IvPbFbRTPXtIgwToE2G9bnYPSTwL/3/p+1b6ZLegNrdfXfMhx DVmg== X-Gm-Message-State: APjAAAUfujIOGUfJf64U8aIcgyAHETWI4xTbSxaheD/KFDOxyA7ooQ2d FlYlHwia0FwqWmgRWu7Ckkj+BGSe X-Google-Smtp-Source: APXvYqw9ckQm6h24hPVaTdBa7YznHvbpflgUIb1Pd39jDc4Sf5eg6DgUoaxHM7GRlbb75szqlOBrPA== X-Received: by 2002:adf:dd05:: with SMTP id a5mr14380wrm.108.1582632651678; Tue, 25 Feb 2020 04:10:51 -0800 (PST) Received: from localhost.localdomain (41.142.6.51.dyn.plus.net. [51.6.142.41]) by smtp.gmail.com with ESMTPSA id j15sm24206507wrp.9.2020.02.25.04.10.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Feb 2020 04:10:51 -0800 (PST) From: Wei Liu To: Xen Development List Date: Tue, 25 Feb 2020 12:10:48 +0000 Message-Id: <20200225121048.5889-1-wl@xen.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [Xen-devel] [PATCH] automation: document vsyscall=emulate for old glibc X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Doug Goldstein , Wei Liu Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" Signed-off-by: Wei Liu Reviewed-by: Paul Durrant Acked-by: Doug Goldstein --- automation/build/README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/automation/build/README.md b/automation/build/README.md index 476f82cf45..8cda2b65a5 100644 --- a/automation/build/README.md +++ b/automation/build/README.md @@ -58,6 +58,16 @@ understands. - XEN_CONFIG_EXPERT: If this is defined in your shell it will be automatically passed through to the container. +If your docker host has Linux kernel > 4.11, and you want to use containers +that run old glibc (for example, CentOS 6 or SLES11SP4), you may need to add + +``` +vsyscall=emulate +``` + +to the host kernel command line. That enables a legacy interface that is used +by old glibc. + Building a container --------------------