From patchwork Mon Jan 18 06:37:59 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jiaxun Yang X-Patchwork-Id: 12026643 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B6FD2C433E0 for ; Mon, 18 Jan 2021 06:39:54 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 77B922225C for ; Mon, 18 Jan 2021 06:39:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732621AbhARGjh (ORCPT ); Mon, 18 Jan 2021 01:39:37 -0500 Received: from wnew4-smtp.messagingengine.com ([64.147.123.18]:54163 "EHLO wnew4-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729956AbhARGj3 (ORCPT ); Mon, 18 Jan 2021 01:39:29 -0500 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailnew.west.internal (Postfix) with ESMTP id 36CDF16A5; Mon, 18 Jan 2021 01:38:22 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Mon, 18 Jan 2021 01:38:23 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=flygoat.com; h= from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; s=fm1; bh=DgEncLxHOwju3s3qsQovwzM5MS urO/+K7pT6AH/ZnM4=; b=ccWMOF063Ku6MMNGUrlAMjPF9KPsClnCmWNEv2gxFJ LHXYvLUKN/6/lyxJbxnhB8vkYgHY6hlFiuLDt8hVJbz0U5Y+ElqsXBXuvyiOfld+ gzw2H3KEYEorw9Px/yJw6MZzS7xLsyGv3N/dgIq1bVCwo86/EtOuKvyJ0aoEBo0y hMSREwiHo9J3JRkF7H7W7uhqCxAeggDwJAL2gMfPWkBDf2ma88Nw4VQzRY9A64LG r0m7IrAscxNo9P4821yweTzSAG/Z7JSxju8Siwwjz/2P1zW8MIzcJVWpSXswMFSq QIvdVdYFncngMS7tvWYZpTCKUZwvEZs+VRZ6qe2BdwEQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :message-id:mime-version:subject:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=DgEncLxHOwju3s3qs QovwzM5MSurO/+K7pT6AH/ZnM4=; b=PlOoDjisa4rhkTAeEfJ3RsmKiRi1CJp/j QBz6jvD79OAzrVn+kO2p38KMV0cJtt1fzw2xvkA3DrK0EcEA9UmGKVmBTT3P99ia SAKBpcXmpSvHJxta9BFMyk7G5h+XkteSIBf7lCI/Y90Vluq9crgHMf931GN4Hm3V a+/ib6owhucEoRsSqVmnZQAIqdAPKHFHwLOu6QaruBJoFU9shd6cgzdMamkNnQt+ gO1a2Yp0C6SpWeZwqsEhV5YRDEPYZIvEN9ReQKWkDMMrFnM5zs50iOd9NEOVQh2p 1OlK3OjyshSvqQCeg4nmL1Fgp5mzRvwFbmNzodR1IPrgeWMFjlslg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrtdejgdeliecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufffkofgggfestdekredtredttdenucfhrhhomheplfhirgiguhhnucgj rghnghcuoehjihgrgihunhdrhigrnhhgsehflhihghhorghtrdgtohhmqeenucggtffrrg htthgvrhhnpeehgfdtkefggfetgeffgfeuuedtjeejudekveevfeevjeefgeettdefleet gfdvudenucffohhmrghinhepghhithhlrggsrdgtohhmnecukfhppeduudeirddvvdekrd ekgedrvdenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhm pehjihgrgihunhdrhigrnhhgsehflhihghhorghtrdgtohhm X-ME-Proxy: Received: from strike.U-LINK.com (unknown [116.228.84.2]) by mail.messagingengine.com (Postfix) with ESMTPA id 4F4BD24005B; Mon, 18 Jan 2021 01:38:14 -0500 (EST) From: Jiaxun Yang To: qemu-devel@nongnu.org Cc: David Gibson , qemu-ppc@nongnu.org, Greg Kurz , Max Reitz , kvm@vger.kernel.org, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Wainer dos Santos Moschetta , Paolo Bonzini , Fam Zheng , Viktor Prutyanov , Alistair Francis , Thomas Huth , Laurent Vivier , =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-block@nongnu.org, Kevin Wolf , Jiaxun Yang Subject: [PATCH v2 0/9] Alpine Linux build fix and CI pipeline Date: Mon, 18 Jan 2021 14:37:59 +0800 Message-Id: <20210118063808.12471-1-jiaxun.yang@flygoat.com> X-Mailer: git-send-email 2.30.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org Alpine Linux is a security-oriented, lightweight Linux distribution based on musl libc and busybox. It it popular among Docker guests and embedded applications. Adding it to test against different libc. Patches pending review at v2 are: 7, 8, 9 Tree avilable at: https://gitlab.com/FlyGoat/qemu/-/commits/alpine_linux_v2 CI All green: https://gitlab.com/FlyGoat/qemu/-/pipelines/242003288 It is known to have checkpatch complains about identation but they're all pre-existing issues as I'm only doing string replacement. v2: - Reoreder patches (Wainer) - Add shadow to dockerfile (Wainer) - Pickup proper signal.h fix (PMM) - Correct clock_adjtime title (Thomas Huth) - Collect review tags Jiaxun Yang (8): configure: Add sys/timex.h to probe clock_adjtime libvhost-user: Include poll.h instead of sys/poll.h hw/block/nand: Rename PAGE_SIZE to NAND_PAGE_SIZE elf2dmp: Rename PAGE_SIZE to ELF2DMP_PAGE_SIZE tests: Rename PAGE_SIZE definitions accel/kvm: avoid using predefined PAGE_SIZE tests/docker: Add dockerfile for Alpine Linux gitlab-ci: Add alpine to pipeline Michael Forney (1): osdep.h: Remove include configure | 1 + meson.build | 1 - contrib/elf2dmp/addrspace.h | 6 +- include/qemu/osdep.h | 4 -- subprojects/libvhost-user/libvhost-user.h | 2 +- accel/kvm/kvm-all.c | 3 + contrib/elf2dmp/addrspace.c | 4 +- contrib/elf2dmp/main.c | 18 +++--- hw/block/nand.c | 40 ++++++------- tests/migration/stress.c | 10 ++-- tests/qtest/libqos/malloc-pc.c | 4 +- tests/qtest/libqos/malloc-spapr.c | 4 +- tests/qtest/m25p80-test.c | 54 ++++++++--------- tests/tcg/multiarch/system/memory.c | 6 +- tests/test-xbzrle.c | 70 +++++++++++------------ .gitlab-ci.d/containers.yml | 5 ++ .gitlab-ci.yml | 23 ++++++++ tests/docker/dockerfiles/alpine.docker | 57 ++++++++++++++++++ 18 files changed, 198 insertions(+), 114 deletions(-) create mode 100644 tests/docker/dockerfiles/alpine.docker