From nobody Mon Apr 24 10:04:03 2023 X-Original-To: freebsd-emulation@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Q4ghf0cV7z46bvt for ; Mon, 24 Apr 2023 10:04:18 +0000 (UTC) (envelope-from tomek@cedro.info) Received: from mail-yw1-x1134.google.com (mail-yw1-x1134.google.com [IPv6:2607:f8b0:4864:20::1134]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Q4ghd5Wdkz43P8 for ; Mon, 24 Apr 2023 10:04:17 +0000 (UTC) (envelope-from tomek@cedro.info) Authentication-Results: mx1.freebsd.org; none Received: by mail-yw1-x1134.google.com with SMTP id 00721157ae682-54fc1824f0bso46947207b3.0 for ; Mon, 24 Apr 2023 03:04:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cedro.info; s=google; t=1682330657; x=1684922657; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=XT9QiHIYZcFooJQuNJDMTGafMkIZM37sZ0e3N/yUPcI=; b=R3L6UhFjMq54ko8XdeaGePwz/3qlwxncfBTUVmbsPh18dhBSCUwp0PPTrtrmRvWJRg G+QpCnlEsloHzlJTa/Gb3+d6wNMdug4aldpUOQXuw8W+CkSp2mzVsY+HRChoMUpmrCa6 BwAO24AyhB2yw+JfQagASkHN9ePePm8BXvL12XRrK/7I5mr7zyyOtBMfd/fcMfT6ebMq mrOG3OjNzsimTslyNhNftufNCNNtIQbmwffbwAcHE962yViIp19MyHydmou4xUcpimne mUxwL44zMlbyM0rhh9WpT/6rlceN8e217nmw9vnAY2HnPNDJeaqhPIDPzCcq7jL/THF7 iQPA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682330657; x=1684922657; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=XT9QiHIYZcFooJQuNJDMTGafMkIZM37sZ0e3N/yUPcI=; b=S74G5rthZ+RHv31ZP4GMyhCtYzs+HBkG2ntr/WBCTaOLCJyiAeKhlsfULB/9/KAITp 3gBu07UdyEcGYgOTl2tCvEqfvWvO8Oa6jK8z/Hk6dxYr3E+PHucsUp5sEs/jlmVWy2Ya DwsCSlC+rKRJ8bfAWP/pV7skLZ8JbO+OdGLyD7c29JwtgXak0LMlzeUT1GoQ78qbBZGg bdoRaCRKBHTmfU6Q/yYYQ2iEwOAYS2T5TFzB//vAGW+PEbmVdb6UeNVZ+Y5Gt8sM7fuJ nYmqQ2EmuSU5Zf9VqF0D7SRXkL2oqo4a6psqtbM4gFxHDQF0HBApUNwt84m8bOh9+/H9 gSFw== X-Gm-Message-State: AAQBX9cKN3RC8tVQ6tWjDS5NELknrYvaBKqgGmPsaeLFBdUHdrSr9CfE /53dnMEfRLVJyT0hmcpiKN5QzGbPdcTh2Plw6po= X-Google-Smtp-Source: AKy350bcz9RMYxvdHf5cSeDBI3fX2B3/4kATYsRerPhWeELZiGGJV/Od/vAM0290iO75V8alrMEquA== X-Received: by 2002:a81:6c0d:0:b0:556:1070:7c60 with SMTP id h13-20020a816c0d000000b0055610707c60mr8164089ywc.18.1682330656867; Mon, 24 Apr 2023 03:04:16 -0700 (PDT) Received: from mail-yw1-f171.google.com (mail-yw1-f171.google.com. [209.85.128.171]) by smtp.gmail.com with ESMTPSA id o124-20020a0de582000000b00545a08184c6sm2840045ywe.86.2023.04.24.03.04.16 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 24 Apr 2023 03:04:16 -0700 (PDT) Received: by mail-yw1-f171.google.com with SMTP id 00721157ae682-54fc6949475so46807607b3.3 for ; Mon, 24 Apr 2023 03:04:16 -0700 (PDT) X-Received: by 2002:a0d:cc83:0:b0:54f:bec1:c118 with SMTP id o125-20020a0dcc83000000b0054fbec1c118mr8160872ywd.38.1682330655839; Mon, 24 Apr 2023 03:04:15 -0700 (PDT) List-Id: Development of Emulators of other operating systems List-Archive: https://lists.freebsd.org/archives/freebsd-emulation List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-emulation@freebsd.org MIME-Version: 1.0 References: <20230422211625.fbdd0c384b6d144dd9502348@sohara.org> <3774d906-e8f6-1330-7605-515f34084ff4@mittelstaedt.us> In-Reply-To: <3774d906-e8f6-1330-7605-515f34084ff4@mittelstaedt.us> From: Tomek CEDRO Date: Mon, 24 Apr 2023 12:04:03 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: embedded emulation: bhyve + vt-x on amd fx-8320 To: Ted Mittelstaedt Cc: freebsd-emulation@freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4Q4ghd5Wdkz43P8 X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N On Sun, Apr 23, 2023 at 7:02=E2=80=AFPM Ted Mittelstaedt wrote: > That requires more than just CPU hardware support. Unlike what you > think at the hardware level there is no such thing as "nested > virtualization" instead each virtual session is separate the OS and CPU > just keep track of what session is tied to what other session. Sort of > like trained monkeys juggling colored balls. Amazing to look at but > nothing really special going on there. Probably yes but the kernel / hypervisor code must be here and this is my initial question :-) > Since it works for you with Windows or Linux, use those OSes. I sort of > think it's the ultimate "up yours, Microsoft" to use a Windows OS as > nothing more than a platform to virtualize Linux sessions that you are > doing the actual work in LOL. I mean, everyone and their dog has an OS > now that can run virtual sessions it's nothing special anymore nor does > it show any real cleverness in OS development to write an OS that can > virtualize other OSes. Well in theory the Android is Open-Source so it should work everywhere, even if patches are required. I just avoid Windows and this is my "up yours". The same with Linux. FreeBSD is my choice and I feel best here, I do not really care about other OS and have nothing to prove to anyone, apples and oranges :-) > The fact you are virtualizing at ALL is a knock against the host OS as > it's basically an admission that the host OS does not have what it takes > to get the work done so you have to go to the trouble of creating a > virtual guest with a REAL os in it. Except the "Open-Source" part that is tied by some company to a binary releases and does not accept patches to make things work on other OS ;-) The best solution for mobile apps development would be a modern macOS machine, but decent configuration cost around $7.5k here (MacStudio 20xARM CPU 128GB RAM) and it has predefined lifetime (my MacBookPro 2015 stopped at macOS 12.6.5 while macOS 13.3 is out and that impacts XCode development tools too). This seems a necessary cost. Well, goodbye free applications. --=20 CeDeROM, SQ7MHZ, http://www.tomek.cedro.info