From nobody Sun Feb 8 13:45:36 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass(p=none dis=none) header.from=kernel.org ARC-Seal: i=1; a=rsa-sha256; t=1684183837; cv=none; d=zohomail.com; s=zohoarc; b=I7LRzPLlgJqqx1k7SWl09RqqMM+w8PUsT7P1DZLT4lnv/BiM2OYkNtZxx23wwvJRCRB1oUAm2cbrhGfAyN0pSvNU2AXf3t47p6TLiJkm7yLwn0DNEXB2NppFtwfrBG6ld5Z8wnxjBw1x/tyqbTutYo+AEm8i6P5/2214l/WXNPQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1684183837; h=Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=hiqIHnNZR0P8fX0gRGx7UB3VLPvINS4Yj67dOpRKiOo=; b=GUrdgj8bokjFvAk7eZ+D54vSElib6KkvRkPz4xSiZQBXv1hm3rbs3ygh5xrpHwmLocw5evCkyBC+ckwmRr90AOcpVl+12xdh4nWKkEb3rD7Tdx4/4zPAhV6auZv8DkGgTKylP/ANf+E/IVCmtTsHJCiit7/iQ06Ecy0ElFgkiK4= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 168418383754797.74548005952806; Mon, 15 May 2023 13:50:37 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.534840.832228 (Exim 4.92) (envelope-from ) id 1pyf8L-0002qy-9K; Mon, 15 May 2023 20:49:29 +0000 Received: by outflank-mailman (output) from mailman id 534840.832228; Mon, 15 May 2023 20:49:29 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1pyf8L-0002qr-6N; Mon, 15 May 2023 20:49:29 +0000 Received: by outflank-mailman (input) for mailman id 534840; Mon, 15 May 2023 20:49:28 +0000 Received: from se1-gles-flk1-in.inumbo.com ([94.247.172.50] helo=se1-gles-flk1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1pyf8K-0002ql-6c for xen-devel@lists.xenproject.org; Mon, 15 May 2023 20:49:28 +0000 Received: from dfw.source.kernel.org (dfw.source.kernel.org [2604:1380:4641:c500::1]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id f928abda-f361-11ed-8611-37d641c3527e; Mon, 15 May 2023 22:49:24 +0200 (CEST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 30973622B4; Mon, 15 May 2023 20:49:23 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DBFA6C433D2; Mon, 15 May 2023 20:49:21 +0000 (UTC) X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: f928abda-f361-11ed-8611-37d641c3527e DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1684183762; bh=sQ/P2ULzjfN6VJdKvCGOHahGexxLVnAbbczGd7tIb4g=; h=From:To:Cc:Subject:Date:From; b=PHoTsjyVqEJ6xkCFgPhFCpW528/f6IZIKRYX1gquqi9O4evcYIbchSABLRDBsCBES LSmMPBGJNgaM9G4w1aD9gxks7aSOdzbk1auCKHCLPpxyrjxXoL6vrhi1Hzn+MIwV73 tjJB/K5+ve8Tvy0OEvC6yiQx4lNup3Xry75+iMyLSb/AbBIQwPaJWDRsGzkj1VtmbR QB+LnKvWfYeQYe2vwq182tJWtxsov2GB3no0jR6uBxV1SjsZunUHPj6dXBzqUDmwFh UeYOmQS6hXtSSU5Yp1ANGZ18SphzLNIajaPQVMTohZyvh1PyVb4vml2B1e6p+QKiKC 0Jx0lJwrKXNOA== From: Stefano Stabellini To: xen-devel@lists.xenproject.org Cc: marmarek@invisiblethingslab.com, cardoe@cardoe.com, sstabellini@kernel.org, Stefano Stabellini Subject: [PATCH v2] automation: add a Dom0 PVH test based on Qubes' runner Date: Mon, 15 May 2023 13:49:19 -0700 Message-Id: <20230515204919.4174845-1-sstabellini@kernel.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @kernel.org) X-ZM-MESSAGEID: 1684183839068100001 Content-Type: text/plain; charset="utf-8" From: Stefano Stabellini Straightforward Dom0 PVH test based on the existing basic Smoke test for the Qubes runner. Signed-off-by: Stefano Stabellini Acked-by: Marek Marczykowski-G=C3=B3recki --- Changes in v2: - rename dom0pvh to extra_xen_opts --- automation/gitlab-ci/test.yaml | 8 ++++++++ automation/scripts/qubes-x86-64.sh | 14 +++++++++----- 2 files changed, 17 insertions(+), 5 deletions(-) diff --git a/automation/gitlab-ci/test.yaml b/automation/gitlab-ci/test.yaml index 55ca0c27dc..9c0e08d456 100644 --- a/automation/gitlab-ci/test.yaml +++ b/automation/gitlab-ci/test.yaml @@ -149,6 +149,14 @@ adl-smoke-x86-64-gcc-debug: - *x86-64-test-needs - alpine-3.12-gcc-debug =20 +adl-smoke-x86-64-dom0pvh-gcc-debug: + extends: .adl-x86-64 + script: + - ./automation/scripts/qubes-x86-64.sh dom0pvh 2>&1 | tee ${LOGFILE} + needs: + - *x86-64-test-needs + - alpine-3.12-gcc-debug + adl-suspend-x86-64-gcc-debug: extends: .adl-x86-64 script: diff --git a/automation/scripts/qubes-x86-64.sh b/automation/scripts/qubes-= x86-64.sh index 056faf9e6d..4f17f1dd0b 100755 --- a/automation/scripts/qubes-x86-64.sh +++ b/automation/scripts/qubes-x86-64.sh @@ -5,6 +5,7 @@ set -ex test_variant=3D$1 =20 ### defaults +extra_xen_opts=3D wait_and_wakeup=3D timeout=3D120 domU_config=3D' @@ -18,8 +19,8 @@ vif =3D [ "bridge=3Dxenbr0", ] disk =3D [ ] ' =20 -### test: smoke test -if [ -z "${test_variant}" ]; then +### test: smoke test & smoke test PVH +if [ -z "${test_variant}" ] || [ "${test_variant}" =3D "dom0pvh" ]; then passed=3D"ping test passed" domU_check=3D" ifconfig eth0 192.168.0.2 @@ -36,6 +37,9 @@ done tail -n 100 /var/log/xen/console/guest-domU.log echo \"${passed}\" " +if [ "${test_variant}" =3D "dom0pvh" ]; then + extra_xen_opts=3D"dom0=3Dpvh" +fi =20 ### test: S3 elif [ "${test_variant}" =3D "s3" ]; then @@ -184,11 +188,11 @@ cd .. TFTP=3D/scratch/gitlab-runner/tftp CONTROLLER=3Dcontrol@thor.testnet =20 -echo ' -multiboot2 (http)/gitlab-ci/xen console=3Dcom1 com1=3D115200,8n1 loglvl=3D= all guest_loglvl=3Dall dom0_mem=3D4G +echo " +multiboot2 (http)/gitlab-ci/xen console=3Dcom1 com1=3D115200,8n1 loglvl=3D= all guest_loglvl=3Dall dom0_mem=3D4G $extra_xen_opts module2 (http)/gitlab-ci/vmlinuz console=3Dhvc0 root=3D/dev/ram0 module2 (http)/gitlab-ci/initrd-dom0 -' > $TFTP/grub.cfg +" > $TFTP/grub.cfg =20 cp -f binaries/xen $TFTP/xen cp -f binaries/bzImage $TFTP/vmlinuz --=20 2.25.1