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.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE 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 7FFC1523A2; Tue, 6 Dec 2022 15:57:37 +0000 (UTC) Received: by atuin.qyliss.net (Postfix, from userid 496) id 74EB4522F7; Tue, 6 Dec 2022 15:57:34 +0000 (UTC) Received: from mail-lj1-x231.google.com (mail-lj1-x231.google.com [IPv6:2a00:1450:4864:20::231]) by atuin.qyliss.net (Postfix) with ESMTPS id F07DB52385 for ; Tue, 6 Dec 2022 15:57:30 +0000 (UTC) Received: by mail-lj1-x231.google.com with SMTP id x6so17703953lji.10 for ; Tue, 06 Dec 2022 07:57:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=unikie.com; s=google; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=dWoVlWEwaLaTRI3s6ayAqkTVBjM4T8BDrwdBTkXtPnM=; b=j+VqJ40VC2DqBR+KpkJF5qwy3Z42cTqQFtESwt13nSdk4hrTjSS53jszitpZpYo8/9 FsUXA3svZ3TeWa8v+X4eq/pR9uR/xk7BX5x666dm1cGBOYMGj9KTBCAausWO1QzFc4Da krU78YXALyjeDj1syXxL8cuEIjpIrZMImdWcS5UNsyEmfR5+odAO9IROnE0V+ap4anL6 JNaZ6njV67pEaxdDTAnkWrlEcsjYaxZyPv/ieV3fuaJb4zjbY1sVsmJAO3DXQOcnmmd+ NNJbhSFIxes1/Mco93XOSRzH//6BoUfzEq+FUUwCVlgaqinKh5ZSke/KRUo+6DZyMUbz U9TQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=dWoVlWEwaLaTRI3s6ayAqkTVBjM4T8BDrwdBTkXtPnM=; b=IKlnkT7gOLchQxc4P6beRDTpp4R815i8TK7XHSDi3IY//wNwe2Vydi7tygy218C1qL mZ04jpMMqV60xXwHRXKesvoITmjxCPn5BtLtY06dx2cijj+bxNiouTPs76uU1UuZD7Sc pD4THvr538xEqY4I2An9zHJVyLPrN5WQLWLCqttlDZNJlJm0DNS+mutiJ1EUgQ4KXLFL 1PIF6uFaX8NmAVComHWZbMh4NdTUZVRuEUj95X4JIf05m50khu2dzhACw+gMtS5KI4WN rlrORQC5wnTeTbBGOoyoHAYdJZ/4wiyryDJu3qoi/ZVi5JfeqZP52B0AeButFfeFmL4I ZV9A== X-Gm-Message-State: ANoB5pnCcARvZumaMTxLPRH51C/VACBVzdlr6/y/b0P0an7Dx7avRSTu pdg2baTLci3KFZ/X8/p5hRCr9w== X-Google-Smtp-Source: AA0mqf6XmWrcPuz2Zm4oEqdee3AvbCy2iNwxpK+kZfgN2twK/sqqdUTubYI44aTXIGvkfGPJf52TCQ== X-Received: by 2002:a2e:a9a0:0:b0:278:f1a5:a365 with SMTP id x32-20020a2ea9a0000000b00278f1a5a365mr26125480ljq.29.1670342250205; Tue, 06 Dec 2022 07:57:30 -0800 (PST) Received: from smtpclient.apple (88-114-171-198.elisa-laajakaista.fi. [88.114.171.198]) by smtp.gmail.com with ESMTPSA id e27-20020ac2547b000000b004b5785b1d9csm695740lfn.302.2022.12.06.07.57.29 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 06 Dec 2022 07:57:29 -0800 (PST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.200.110.1.12\)) Subject: Re: Firefox appVM patches and appVM refactoring From: Vadim Likholetov In-Reply-To: <20221206152011.lhk7jc64nqtkd7xo@x220> Date: Tue, 6 Dec 2022 17:57:19 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: References: <20221206152011.lhk7jc64nqtkd7xo@x220> To: Alyssa Ross X-Mailer: Apple Mail (2.3731.200.110.1.12) Message-ID-Hash: QXXZ34Y5F6WHJ2PXBIT5FAKZXNT3PBWA X-Message-ID-Hash: QXXZ34Y5F6WHJ2PXBIT5FAKZXNT3PBWA X-MailFrom: vadim.likholetov@unikie.com X-Mailman-Rule-Hits: header-match-devel.spectrum-os.org-0 X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-config-1 CC: devel@spectrum-os.org 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: I=E2=80=99ve done this =E2=80=94 I have patched cloud-hypervisor to = have three console devices =E2=80=94 serial, console and user-console, = but than decided that this patches will never go to C-H mainline so got = back with more traditional approach with tmux :) > On 6 Dec 2022, at 17:20, Alyssa Ross wrote: >=20 > On Mon, Dec 05, 2022 at 12:42:35AM +0200, Vadim Likholetov wrote: >> Cloud-hypervisor has virtual hardware limitations -- it supports only = one >> console device and only one serial device. >> SpectrumOS is using serial device for kernel logs of appVM and = console >> device as a console. >> To have access both to root-executed part and to user-executed part = of the >> VM payload, I installed a tmux on console. >> Now, when you're running vm-console command you get access to the = tmux >> and have the ability to switch between root and user consoles, >> that can be useful during debugging VM payload. >=20 > I wonder what it would take to make cloud-hypervisor support multiple > virtio-console devices=E2=80=A6 I suspect it wouldn't be too hard, = since it > already supports multiples of every other virtio device just fine=E2=80=A6=