From nobody Tue May 7 21:12:48 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1568890953; cv=none; d=zoho.com; s=zohoarc; b=hjNn49OP/sc5t4dIFEdhMzqmsNNTvdVoh3w9x04nIHh4TmiE9mzAFl54XboqMxfgvQdM+m+s/7YQC6VGEKEQbE9R70jBQZFhplJyakL7H/1kh31QwoeUSFC+dc/M0yWlX0xVW4BgvLbZKEafIvIFN4EPq6ITVwq4aeeMC2iKGHA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1568890953; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To:ARC-Authentication-Results; bh=d1J4MGlijndC28swFqgmvtcvf1VKQGGNIH1Mlr+Isjs=; b=Fj4rIxROJs7hgrTUMkFKNpnsejJKhvNK2Q95NR9PBOhOd0Iy0N70zCVnYD4fycoNxhezXarLOhDbcSLLwEIX5hxjSNGJk4HRJoxviM+Rb3Ytw+B6lhJq50FuZOasDoy4ylPU6YFNDusnb7WwGsBa3ktiU7GHqmuqUsWvpZbGEQw= ARC-Authentication-Results: i=1; mx.zoho.com; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (209.51.188.17 [209.51.188.17]) by mx.zohomail.com with SMTPS id 1568890953248985.5179546728951; Thu, 19 Sep 2019 04:02:33 -0700 (PDT) Received: from localhost ([::1]:42408 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iAuCe-0003Qz-6j for importer@patchew.org; Thu, 19 Sep 2019 07:02:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56676) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iAuA6-0001wR-3L for qemu-devel@nongnu.org; Thu, 19 Sep 2019 06:59:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iAuA4-0005P6-Rj for qemu-devel@nongnu.org; Thu, 19 Sep 2019 06:59:46 -0400 Received: from mx1.redhat.com ([209.132.183.28]:47214) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iAuA4-0005On-Mp for qemu-devel@nongnu.org; Thu, 19 Sep 2019 06:59:44 -0400 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id E19CE309BF06; Thu, 19 Sep 2019 10:59:43 +0000 (UTC) Received: from x1w.redhat.com (ovpn-204-74.brq.redhat.com [10.40.204.74]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 430A8608A5; Thu, 19 Sep 2019 10:59:41 +0000 (UTC) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Date: Thu, 19 Sep 2019 12:59:30 +0200 Message-Id: <20190919105932.19412-2-philmd@redhat.com> In-Reply-To: <20190919105932.19412-1-philmd@redhat.com> References: <20190919105932.19412-1-philmd@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.45]); Thu, 19 Sep 2019 10:59:44 +0000 (UTC) Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.132.183.28 Subject: [Qemu-devel] [PATCH 1/2] tests/docker: Add fedora-win10sdk-cross image X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Fam Zheng , Lucian Petrut , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Justin Terry , Stefan Weil , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Ilias Maratos Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" Content-Type: text/plain; charset="utf-8" Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- tests/docker/Makefile.include | 1 + .../dockerfiles/fedora-win10sdk-cross.docker | 21 +++++++++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 tests/docker/dockerfiles/fedora-win10sdk-cross.docker diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile.include index 50a400b573..0df72a810b 100644 --- a/tests/docker/Makefile.include +++ b/tests/docker/Makefile.include @@ -125,6 +125,7 @@ docker-image-debian-ppc64-cross: docker-image-debian10 docker-image-debian-riscv64-cross: docker-image-debian10 docker-image-debian-sh4-cross: docker-image-debian10 docker-image-debian-sparc64-cross: docker-image-debian10 +docker-image-fedora-win10sdk-cross: docker-image-fedora =20 docker-image-travis: NOUSER=3D1 =20 diff --git a/tests/docker/dockerfiles/fedora-win10sdk-cross.docker b/tests/= docker/dockerfiles/fedora-win10sdk-cross.docker new file mode 100644 index 0000000000..1aafdad483 --- /dev/null +++ b/tests/docker/dockerfiles/fedora-win10sdk-cross.docker @@ -0,0 +1,21 @@ +# +# Docker MinGW64 cross-compiler target with WHPX header installed +# +# This docker target builds on the Fedora 30 base image. +# +# SPDX-License-Identifier: GPL-2.0-or-later +# +FROM qemu:fedora + +# Install headers extracted by the Android folks from the win10sdk.iso: +# https://developer.microsoft.com/en-us/windows/downloads/windows-10-sdk +ENV WIN10SDK_INCDIR /usr/local/include/win10sdk +RUN mkdir ${WIN10SDK_INCDIR} && \ + for hdr in WinHvEmulation.h WinHvPlatformDefs.h WinHvPlatform.h; do \ + curl -s "https://android.googlesource.com/platform/prebuilts/gcc/l= inux-x86/host/x86_64-w64-mingw32-4.8/+/1bde9c3b14f3a3b081ada6e32da9f2870671= b46f/x86_64-w64-mingw32/include/${hdr}?format=3DTEXT" | base64 --decode > $= {WIN10SDK_INCDIR}/${hdr}; \ + done + +ENV QEMU_CONFIGURE_OPTS ${QEMU_CONFIGURE_OPTS} \ + --cross-prefix=3Dx86_64-w64-mingw32- \ + --extra-cflags=3D"-I ${WIN10SDK_INCDIR}" --disable-werror \ + --enable-hax --enable-whpx --=20 2.20.1 From nobody Tue May 7 21:12:48 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1568890954; cv=none; d=zoho.com; s=zohoarc; b=H/TWl4+U84UG1J0+tEBpg0WbZpQ7/aF1WgdU+kl5mUGleAWgAiDPhzv+K3m9o5/3iGvtEiKL1hdzF7mSvgTybDQsxzhlByYl/29iUFaDRE3eJTVX8lYouVLl5sdlVOxfkzn+Gvl+2nF+G8BsH8+WEKQgS9rIpVyhNp51IXCgFpI= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1568890954; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To:ARC-Authentication-Results; bh=uRs2o4fYpwrTPI0/nhPpUrfczY/DmM3I2CAiOSLcxEI=; b=TEC3RE5BqN6jSjbB2iNUjEVuvIUGRK1dSFqIQgZOgqTeruGdOGDKszINPNzfDCE7RG7hOq+zQXBzTra3RwJAER2vt845DSOxLfESeHRkS6UVlQllrUcXz7HwTQ+LMRkR+HChg4q5EPAMucQX0jk0NY2/g4rH6FXZTOV3If8AOBw= ARC-Authentication-Results: i=1; mx.zoho.com; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (209.51.188.17 [209.51.188.17]) by mx.zohomail.com with SMTPS id 1568890954133574.7754760339751; Thu, 19 Sep 2019 04:02:34 -0700 (PDT) Received: from localhost ([::1]:42412 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iAuCh-0003WE-JH for importer@patchew.org; Thu, 19 Sep 2019 07:02:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56693) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iAuA8-0001xN-Lj for qemu-devel@nongnu.org; Thu, 19 Sep 2019 06:59:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iAuA7-0005Qg-Q7 for qemu-devel@nongnu.org; Thu, 19 Sep 2019 06:59:48 -0400 Received: from mx1.redhat.com ([209.132.183.28]:48274) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iAuA7-0005QI-LB for qemu-devel@nongnu.org; Thu, 19 Sep 2019 06:59:47 -0400 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id E3F9C3175295; Thu, 19 Sep 2019 10:59:46 +0000 (UTC) Received: from x1w.redhat.com (ovpn-204-74.brq.redhat.com [10.40.204.74]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 55095608A5; Thu, 19 Sep 2019 10:59:44 +0000 (UTC) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Date: Thu, 19 Sep 2019 12:59:31 +0200 Message-Id: <20190919105932.19412-3-philmd@redhat.com> In-Reply-To: <20190919105932.19412-1-philmd@redhat.com> References: <20190919105932.19412-1-philmd@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.49]); Thu, 19 Sep 2019 10:59:47 +0000 (UTC) Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.132.183.28 Subject: [Qemu-devel] [PATCH 2/2] .shippable.yml: Build WHPX enabled binaries X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Fam Zheng , Lucian Petrut , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Justin Terry , Stefan Weil , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Ilias Maratos Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" Content-Type: text/plain; charset="utf-8" Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- .shippable.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.shippable.yml b/.shippable.yml index bbc6f88510..01b33bd034 100644 --- a/.shippable.yml +++ b/.shippable.yml @@ -25,6 +25,8 @@ env: TARGET_LIST=3Dmips64el-softmmu,mips64el-linux-user - IMAGE=3Ddebian-ppc64el-cross TARGET_LIST=3Dppc64-softmmu,ppc64-linux-user,ppc64abi32-linux-user + - IMAGE=3Dfedora-win10sdk-cross + TARGET_LIST=3Dx86_64-softmmu,i386-softmmu build: pre_ci: # usually host ARCH is set by configure --=20 2.20.1