From owner-freebsd-virtualization@freebsd.org Wed Nov 18 10:11:47 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4EE352EA1AA; Wed, 18 Nov 2020 10:11:47 +0000 (UTC) (envelope-from andrei.cos.martin@gmail.com) Received: from mail-pj1-x1036.google.com (mail-pj1-x1036.google.com [IPv6:2607:f8b0:4864:20::1036]) (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 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Cbdrf1Ld8z3CKX; Wed, 18 Nov 2020 10:11:45 +0000 (UTC) (envelope-from andrei.cos.martin@gmail.com) Received: by mail-pj1-x1036.google.com with SMTP id fw15so40995pjb.0; Wed, 18 Nov 2020 02:11:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=nnR9nPJl6TTS77n5r7ShAO7PTVumi8K+7t9GlK3dFrM=; b=L/7wtIDfsWMmC6cEFXjRn1TtkmaRWf8v8mz8iaS85X6wgkTsDEzYr982+te/2WsK5B ujw1rvudvv9Kkyc3E4D6XBkI189c/xOGaMtFAJvkJpYdH2vSZLDm9ysDGg557dXSqbke ic9i8NzJenwXfVIaJrH96IoMqaUZGStoMbANHxaZTyshVXFndlAwX0/SQ1krHvdhXRWf qNWkQKX1o8wlzxRJRkUj0vDOIWlnMXxeoEko7yoXI9e9mlLRXAH1O/uQG2thCDaDZquj ZKVAMob6saJlSxqGKvHUosieFQRe8ZKB6Ezym/ph7aTmUMsCNFE0PJ8hepzEeUV/xNA9 XtUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=nnR9nPJl6TTS77n5r7ShAO7PTVumi8K+7t9GlK3dFrM=; b=R6hmcx5E4HFEBxIBoQvi1t1R2E8MBIdALmMBf7WBGrmCTYjNoJFeg9+1prt+/cPLaE 8TOiVgXSCKTE0rlB5El/ysf54cEhBjKY7tcQKbAL5iH0dmI072Zu1fwY08b1vEXtkC79 igH3MzKzFBy/RVZdzRnOUqLIu0jjxwnDozhG1EKhR04UB+MGBicimQwCUzRmJwEcgWHj hKkVwQKtTcefrKzO1Jd3rDcra1CQfCGHcnJKoXyo9cqGfQDzaQSwzgR7O2MqkkFkgzQe crNCf6SWmKiYktvv/FuC5ZqbJGJCUL6utGkx3t2C++Q1fQKllXNZTUO0fkw257W495lw W+jw== X-Gm-Message-State: AOAM53346gcw/mWS/hJVGm4HAqAzTCTKGKE5LPZe9/NUsSLOeTFF/ZPY +898e+QCOtlRpBMmziE9Qq2+trw8MoAooe7rlmDJrBEDtUIscw== X-Google-Smtp-Source: ABdhPJyOBdF4J6YkehOK1pMooPJruKP4NeMrIiMslA/oORTU0xk9MkiHsPHB9p9u3rzOC5gXtSGPGL3+F8T+psYfNQk= X-Received: by 2002:a17:902:d3d4:b029:d7:e936:7651 with SMTP id w20-20020a170902d3d4b02900d7e9367651mr3852099plb.57.1605694303582; Wed, 18 Nov 2020 02:11:43 -0800 (PST) MIME-Version: 1.0 References: <92471791-E6DC-47E4-9124-79558DDCA7D0@gmail.com> <91d3502e-20ef-8487-7560-66d30dc55e23@freebsd.org> In-Reply-To: <91d3502e-20ef-8487-7560-66d30dc55e23@freebsd.org> From: Andrei Martin Date: Wed, 18 Nov 2020 12:11:32 +0200 Message-ID: Subject: Re: [arm64][bhyve] Hypervisor implementation proposal To: Peter Grehan Cc: "freebsd-virtualization@freebsd.org" , freebsd-arm@freebsd.org, Mihai Carabas X-Rspamd-Queue-Id: 4Cbdrf1Ld8z3CKX X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=L/7wtIDf; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of andreicosmartin@gmail.com designates 2607:f8b0:4864:20::1036 as permitted sender) smtp.mailfrom=andreicosmartin@gmail.com X-Spamd-Result: default: False [-2.00 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2607:f8b0:4864:20::1036:from]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; NEURAL_SPAM_SHORT(1.00)[1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; SPAMHAUS_ZRD(0.00)[2607:f8b0:4864:20::1036:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::1036:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-virtualization,freebsd-arm]; FREEMAIL_CC(0.00)[freebsd.org,gmail.com] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Nov 2020 10:11:47 -0000 Hi Peter, Thanks for your response. I have updated the revision by removing the armv7 support and host platform support. Andrei On Mon, Nov 9, 2020 at 11:37 AM Peter Grehan wrote: > Hi Andrei, > > > The UPB team made a revision for the bhyve on arm/arm64 on > phabricator[1]. > > > > Any feedback is greatly appreciated. > > > > [1] https://reviews.freebsd.org/D26976 < > https://reviews.freebsd.org/D26976> > > Thanks for putting up the review: that is a sizeable amount of work. > > I'd suggest removing 32-bit host support from the review to reduce the > size. Note that Linux/KVM has dropped 32-bit host support (see the > thread at > > https://patchwork.kernel.org/project/kvm/cover/20200210141324.21090-1-maz@kernel.org/), > > and the same reasons would apply to FreeBSD. > If there is interest it could be resurrected at a later time. > > The MI/MD split could be done independently of this. It has been > talked about for a long while, so I'll commit to doing this in the > existing amd64 codebase. The ARM work could then be rebased into that. > > Also, any host platform support, such as the ARM simulator or > EspressoBin, could be split out since it's independent of the hypervisor > portion. > > later, > > Peter. >