From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from atuin.qyliss.net (localhost [IPv6:::1]) by atuin.qyliss.net (Postfix) with ESMTP id CD5D76C00; Tue, 15 Jul 2025 15:36:34 +0000 (UTC) Received: by atuin.qyliss.net (Postfix, from userid 993) id C5BDB6BBD; Tue, 15 Jul 2025 15:36:32 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on atuin.qyliss.net X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DMARC_MISSING,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS autolearn=unavailable autolearn_force=no version=4.0.1 Received: from fhigh-b3-smtp.messagingengine.com (fhigh-b3-smtp.messagingengine.com [202.12.124.154]) by atuin.qyliss.net (Postfix) with ESMTPS id BD80C6B75 for ; Tue, 15 Jul 2025 15:36:30 +0000 (UTC) Received: from phl-compute-04.internal (phl-compute-04.phl.internal [10.202.2.44]) by mailfhigh.stl.internal (Postfix) with ESMTP id 776C97A0220; Tue, 15 Jul 2025 11:36:28 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-04.internal (MEProxy); Tue, 15 Jul 2025 11:36:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alyssa.is; h=cc :content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm1; t=1752593788; x=1752680188; bh=QE0vzzSG+r 2f5BlM7C57J1p6ESpTrsCffeHky7ZpKN4=; b=fpIkBBGt2VY8+/I5ZdAhEqwuMT lJ5xU9r8Cuuhsy9nWafUX5fXjpNJOG2ouZzHBCLcT5BeAPqU2VCxBy7QmfhzR0XJ 2TSN3yDhYpsJ9u1uYH+PRW/OjXjXXNGRZ6dH+yOcR1LTlEQRE5emI2HQ0Ve4VeTY b039O5Ymo2zgpV7XUQVwcuI8LIKu/0i2TQnBent5Qe7tTJvzWPddV2l3bcVtTv52 TZCdSa2mxk1JNlXP0roxmLHMfAWon/YrtDy2XzByAP+Xuk4XkWVD3Mk7lJx7i4DQ ofPSuX0j0PxcPGO5hjI8zy4OsC3PXn/fZqQntVmb39kl4HFZ8IBqJpy59cog== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t= 1752593788; x=1752680188; bh=QE0vzzSG+r2f5BlM7C57J1p6ESpTrsCffeH ky7ZpKN4=; b=g4k5W3ttp5evf/LaX0X+e+itp0Re6mIdppp7abidRRoqahBh7M5 aFWXuRDqNKmYY/CqZGGU/TASUZBtIVv8oCzZrmgrFnRSwaxtXlww4bt3SsM50plm bp3Abc3tU4xfePG+VoGhc5N7tLQfdKBroR0ZUlaz7v1pThUqUEH8tWuRLLdJsfrS F8ICZXp4XfZE0aUN6niAsWayl3SkGA7YnnLD29ZJXOPzahVjTCxWtNjHpRWN9Xzw v0VLxGuHEd6zFbtITTcHYOT5tJlKBno9txGnng7mVxjTJB6KiAYyqWPOotuN4DN8 N/YBTvQSrKBwJKUIzEHKmckANwvIdMyR3pQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdefgdehhedvtdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjug hrpefhvffujghffffkgggtsehgtderredttdejnecuhfhrohhmpeetlhihshhsrgcutfho shhsuceohhhisegrlhihshhsrgdrihhsqeenucggtffrrghtthgvrhhnpeffkedugeevgf ffjedvteekgefgjedvkefgffegleejhffgveeviefhudegteevieenucffohhmrghinhep shhpvggtthhruhhmqdhoshdrohhrghdpghhithhlrggsrdgtohhmnecuvehluhhsthgvrh fuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhephhhisegrlhihshhsrgdrihhs pdhnsggprhgtphhtthhopedvpdhmohguvgepshhmthhpohhuthdprhgtphhtthhopeguvg hmihhosggvnhhouhhrsehgmhgrihhlrdgtohhmpdhrtghpthhtohepuggvvhgvlhesshhp vggtthhruhhmqdhoshdrohhrgh X-ME-Proxy: Feedback-ID: i12284293:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 15 Jul 2025 11:36:23 -0400 (EDT) Received: by mbp.qyliss.net (Postfix, from userid 1000) id 607DE1138EC0; Tue, 15 Jul 2025 17:36:08 +0200 (CEST) From: Alyssa Ross To: Demi Marie Obenour , Spectrum OS Development Subject: Re: Cannot build release.nix without KVM In-Reply-To: <875xfv83p5.fsf@alyssa.is> References: <875xfv83p5.fsf@alyssa.is> Date: Tue, 15 Jul 2025 17:36:06 +0200 Message-ID: <87y0sph3fd.fsf@alyssa.is> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Message-ID-Hash: ZSVHOETHCXM6BW2AAZO7TMQDH6CBUCGT X-Message-ID-Hash: ZSVHOETHCXM6BW2AAZO7TMQDH6CBUCGT X-MailFrom: hi@alyssa.is X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-devel.spectrum-os.org-0; header-match-devel.spectrum-os.org-1; header-match-devel.spectrum-os.org-2; header-match-devel.spectrum-os.org-3; header-match-devel.spectrum-os.org-4; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.9 Precedence: list List-Id: Patches and low-level development discussion Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Alyssa Ross writes: > Demi Marie Obenour writes: > >> On a Qubes OS VM (which doesn't have nested virtualization), building >> release.nix fails because start-vmm-test (rightly) errors out. Having >> KVM be a *build*-time dependency of Spectrum OS seems rather strict, >> especially because I can always copy the generated files over to another >> machine and run them there. In particular, I can copy the resulting ima= ge >> and run it in QEMU. > > Ah, I've made a mistake here I think. KVM shouldn't be a build > dependency, because the Scaleway aarch64 builders used to populate the > binary cache don't have it. It's only recently that release.nix > includes start-vmm-test, so I haven't run those builders since, and > hadn't noticed it. > > One option would be to introduce a build configuration[1] option that > just disables any tests that need KVM. Another would be to run those > tests inside QEMU TCG if KVM is available, which would have the benefit > of the tests still running (and not introducing more config options). I > wonder what the most lightweight way to optionally run some code in a > TCG VM would be=E2=80=A6 > > [1]: https://spectrum-os.org/doc/development/build-configuration.html Sadly the obvious solution of running it under QEMU user emulation doesn't work=E2=80=A6 https://gitlab.com/qemu-project/qemu/-/issues/871 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRV/neXydHjZma5XLJbRZGEIw/wogUCaHZ1ZgAKCRBbRZGEIw/w osrRAQCY2LfshStyhC3BnYFzmpGiLlevNn5mTU4Cv6HUIzFDZAEAlvralos4t8mj /fyPqOrc7vldGblrZeq7yE4+TKIvGws= =fIrE -----END PGP SIGNATURE----- --=-=-=--