From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on atuin.qyliss.net X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,SPF_HELO_PASS autolearn=unavailable autolearn_force=no version=3.4.6 Received: from atuin.qyliss.net (localhost [IPv6:::1]) by atuin.qyliss.net (Postfix) with ESMTP id B6741593A7; Mon, 19 Sep 2022 07:38:22 +0000 (UTC) Received: by atuin.qyliss.net (Postfix, from userid 496) id E1323592BB; Mon, 19 Sep 2022 07:38:16 +0000 (UTC) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by atuin.qyliss.net (Postfix) with ESMTPS id A5098592B2 for ; Mon, 19 Sep 2022 07:38:10 +0000 (UTC) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 083FD5C027D for ; Mon, 19 Sep 2022 03:38:09 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Mon, 19 Sep 2022 03:38:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alyssa.is; h=cc :content-transfer-encoding:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm1; t=1663573089; x=1663659489; bh=Ts vVrKurze9lh1PzgKfUA41ITVLVX+9O90RXvhEBt/I=; b=YEUCN9L3q4lx/yLtOk butSSwf63FKrY29ZudWj3f5J6anO/RcCr3eo80hvV3LWzx3s/xcJM3YtRK34UOwy Z+ohlEtR6w14m7K1fqNFkvTBDgqooR3awROWRAybObQGQbEWVi0YvuQxJ+O81sX8 9tMiLZKHNlu23+/aCCuZXSBUEQd8RS4bxCcDgH/eLjTAQo7LuMqboaLP4CsR9LHj 4ONdagyglDBqYfi3L/HTkIIgOzCzqYTO/y+Jqq0H6fgjU6NG5Tejrc4pTio/JucR FSM+QnOz+ueIHrthRcZMGyU4+pK/lxx0k0T8blIFFxRmBPJidM0OG0SMh4DjxT5R q2dw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; t=1663573089; x=1663659489; bh=TsvVrKurze9lh 1PzgKfUA41ITVLVX+9O90RXvhEBt/I=; b=1o6u0oICZ+ltX7rWjCGXtMWTa4Ah/ fTcXU1VhwvvJRJwHIKT0QN/DyVMftG2gzhDodlTVx7y4evEMQ2SV4gIFL45orYWe 3GOOljxcofmwVc4XuAeqK8Np3zTQfNltKFbiwfVVST6HvrlJmuEBSAw7K7q+a87K kXTXOA9HN+CZTjJ5b0e9oZs72zmNDRzVYxD9E/rqKPvRvJZPuFNtJ7hrj5qxt05o ivyDWVUAD9nbod+VMy2eaLyRufrtaepDZ++lY6AHv0KZQ69ekaVg9UekbPly8S/z E6Pas/E5CBWPEF717LdMi1QzyfeeKZjP9ReOQVV3kUbfrFt9Mq2j0pVbA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrfedviedguddvfecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkffojghfggfgsedtke ertdertddtnecuhfhrohhmpeetlhihshhsrgcutfhoshhsuceohhhisegrlhihshhsrgdr ihhsqeenucggtffrrghtthgvrhhnpefgfedukedvleeileeludefveehgeelgfegvdduje dvtdffueeuveffheeljeekvdenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhep mhgrihhlfhhrohhmpehqhihlihhsshesgidvvddtrdhqhihlihhsshdrnhgvth X-ME-Proxy: Feedback-ID: i12284293:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Mon, 19 Sep 2022 03:38:08 -0400 (EDT) Received: by x220.qyliss.net (Postfix, from userid 1000) id C63A29894; Mon, 19 Sep 2022 07:38:06 +0000 (UTC) From: Alyssa Ross To: devel@spectrum-os.org Subject: [PATCH 4/6] host/start-vm: boot using partition label Date: Mon, 19 Sep 2022 07:36:58 +0000 Message-Id: <20220919073659.1703271-5-hi@alyssa.is> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20220919073659.1703271-1-hi@alyssa.is> References: <20220919073659.1703271-1-hi@alyssa.is> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID-Hash: IHIUM5I4X3WSVBMTA6PL2HEUDEFZO2CB X-Message-ID-Hash: IHIUM5I4X3WSVBMTA6PL2HEUDEFZO2CB X-MailFrom: qyliss@x220.qyliss.net X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-config-1; header-match-devel.spectrum-os.org-0; header-match-devel.spectrum-os.org-1; header-match-devel.spectrum-os.org-2; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.5 Precedence: list List-Id: Patches and low-level development discussion Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: This will allow booting reliably from multiple disk images, without relying on order. Thanks-to: Puck Meerburg Signed-off-by: Alyssa Ross --- host/start-vm/start-vm.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/host/start-vm/start-vm.rs b/host/start-vm/start-vm.rs index 96d7eb1..302c020 100644 --- a/host/start-vm/start-vm.rs +++ b/host/start-vm/start-vm.rs @@ -29,7 +29,7 @@ fn vm_command(dir: PathBuf) -> Result { command.args(&["-dc", "test -S env/cloud-hypervisor.sock"]); command.arg("cloud-hypervisor"); command.args(&["--api-socket", "env/cloud-hypervisor.sock"]); - command.args(&["--cmdline", "console=ttyS0 root=/dev/vda"]); + command.args(&["--cmdline", "console=ttyS0 root=PARTLABEL=root"]); command.args(&["--memory", "size=128M"]); command.args(&["--console", "pty"]); -- 2.37.1