From owner-freebsd-virtualization@freebsd.org Sun Jul 5 12:26:11 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 C57DB36A656 for ; Sun, 5 Jul 2020 12:26:11 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4B07GV606zz3d6L for ; Sun, 5 Jul 2020 12:26:10 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 19CDC5C00A7 for ; Sun, 5 Jul 2020 08:26:10 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Sun, 05 Jul 2020 08:26:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zyxst.net; h= date:from:to:subject:message-id:mime-version:content-type; s= fm3; bh=T4irrzU5nTAUVZBljQUhiRQ9nWafAg9dpwv8r6NRL1Q=; b=HW+ZZyoj 7Gjfj+f60FpwrP17QT9aLIXZS8nZJEOdKTgr7QmvyOLqr+rjWeNpxIX4Y1rj1EZO XCART8X5sQSWhqCxx1yWQx0OltScYOUwStrIB+57oVdO+ekV67PnseJ0sxgQ4D2Y tysxp79JazpgRt0Yb6WxgXvv+zoIF6bD/TOuSEOwQcHOYRljtG3wpDB4k1GyP/Dj X5MLPrwDp9RYZaMu/OcKdH6hmsZMmD6Qr5TbDbR57RukRqgVTrHxTpIroOMON3qB 16oUKIeWFN9glLe6mRLWnW7JOConCBM9TGOSB6rRegp17ZPikoYGrilW/CKny6wS hcr+zch6B+54lg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; bh=T4irrzU5nTAUVZBljQUhiRQ9nWafA g9dpwv8r6NRL1Q=; b=P/lb8/SBf2ow+hcNpK6JJJz55cvPY6DL8Vb1v+GnNogRL /RWrlJW9xRQFCdGj3LjSdtmPtSLtf0Np//eMm0/PtqhAB5S0xxbpBPAPnQZwxIn9 nbl6KO3kTygRWfMLdCqAUQsdJtVuXVI403gupy9IJ44PVSQlHpgt7e0dfVNR3OUl H/94nTN5F8GKl02fN3cS9FlX+5jdVhNcVf4ZHWKM4WK5ZbFucZlZwf0Ctl2kOqh7 eta9ut+pmvrjJ1iV+Ut5xc7FDuk6chVkaug8Hx2Eopu3Cv07+hBdrcI7PlcG7/S/ a0bSPWsdWhnbRvwJ59d1sgb2kQfRmmfndEutFSzSg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedruddugdehgecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepfffhvffukfggtggusehgtderredttd dvnecuhfhrohhmpehtvggthhdqlhhishhtshcuoehtvggthhdqlhhishhtshesiiihgihs thdrnhgvtheqnecuggftrfgrthhtvghrnhepvefghffftdefkeelleehtdejledvhfdvge eijeevfffguddvhfetgeejueejueeinecukfhppeekvddrjedtrdeluddrleelnecuvehl uhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepthgvtghhqdhlih hsthhsseiihiigshhtrdhnvght X-ME-Proxy: Received: from bastion.zyxst.net (bastion.zyxst.net [82.70.91.99]) by mail.messagingengine.com (Postfix) with ESMTPA id 686DA3069970 for ; Sun, 5 Jul 2020 08:26:09 -0400 (EDT) Date: Sun, 5 Jul 2020 13:25:40 +0100 From: tech-lists To: freebsd-virtualization@freebsd.org Subject: bhyve and ubuntu-server 20.04 Message-ID: <20200705122540.GA59493@bastion.zyxst.net> Mail-Followup-To: freebsd-virtualization@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="jRHKVT23PllUwdXP" Content-Disposition: inline X-Rspamd-Queue-Id: 4B07GV606zz3d6L X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=zyxst.net header.s=fm3 header.b=HW+ZZyoj; dkim=pass header.d=messagingengine.com header.s=fm3 header.b=P/lb8/SB; dmarc=none; spf=pass (mx1.freebsd.org: domain of tech-lists@zyxst.net designates 66.111.4.27 as permitted sender) smtp.mailfrom=tech-lists@zyxst.net X-Spamd-Result: default: False [-5.72 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[zyxst.net:s=fm3,messagingengine.com:s=fm3]; NEURAL_HAM_MEDIUM(-1.02)[-1.024]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:66.111.4.27]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-virtualization@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.02)[-1.016]; RCVD_COUNT_THREE(0.00)[4]; DMARC_NA(0.00)[zyxst.net]; DKIM_TRACE(0.00)[zyxst.net:+,messagingengine.com:+]; NEURAL_HAM_SHORT(-0.98)[-0.979]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:11403, ipnet:66.111.4.0/24, country:US]; RWL_MAILSPIKE_VERYGOOD(0.00)[66.111.4.27:from]; RCVD_IN_DNSWL_LOW(-0.10)[66.111.4.27:from] X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.33 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: Sun, 05 Jul 2020 12:26:11 -0000 --jRHKVT23PllUwdXP Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, Recently I've had to install ubuntu-server 20.04 under bhyve. But when load= ing the kernel via grub2-bhyve, I found that only hd0,gpt2 would work, and not hd0,msdos1 as per the handbook. This didn't take me to a selectable menu li= ke other versions of ubuntu, like 18.04. The screen just cleared and returned = to the shell prompt. Then I was able to boot the vm.=20 All the other things I tried like hd0,gpt1 would just drop me to the grub prompt. Hope this is of use to someone. --=20 J. --jRHKVT23PllUwdXP Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE8n3tWhxW11Ccvv9/s8o7QhFzNAUFAl8BxtMACgkQs8o7QhFz NAWKpBAAqSAuDrHPjpJk5qdfjGSJm/7h7dkUMTyBscof0jkYlhAdhjnWTvZ28lWh B+blUYDt72OgoRR3agTH7LG3p8ctqn3vpXhVRUEbhuZc7QQsiUBT953oHsq80j3V UidNifoRi1bKzzBOZsOWpldlJW+RX7XXUzdHJOXsVx6pVQ2nHW5vDaz+NxVySkRj P6bF35Fdufo8OCN5EhZING6QuJ96t4SyPyJ1ZSXrH8PwPXV3WqIducuqpli1acUN 7fFIn2ouyjWr6oM18fS1eIpgDE84GCji4kKsxlUKtBt1WBhuX1PRrYRSO8X4yuN1 tXpB2z5kSyXvoUIjBDoo0kIC4PrhD72GcQz/bIpLB/S/dg0ksppLET4ETo4I50rR f39nfpqZZHEmoqLjb7+gddBxRNNlkCjCh8NeD4DR7dqhGysxgoN5yVHwD8WueoKW DkeOBbt9CD5rArvgpiFa0p+dh3hEpNObeB/zpQ8DBkLt38VsvX6g6h3LR/pQvg/Q UCXnGDn0uMOk6gKwSi+CQ9hqF5EVIn1PLyx5WtlAcAwQgwSVDNkTDexEoA6HZAqz PVIikjzDs+QomNX8l14HlS7XoGOcONXrffHlfxIjCNy6fEKFd8/2sJJ/vnSbuK8R 8hYPXy75Qcg4uSzWiL3HI+4DXWs5viDpPA2YRxwegUG3BNW2oXE= =1qPh -----END PGP SIGNATURE----- --jRHKVT23PllUwdXP-- From owner-freebsd-virtualization@freebsd.org Sun Jul 5 12:49:21 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 16C2936B08C for ; Sun, 5 Jul 2020 12:49:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4B07nD6tnWz3f0h for ; Sun, 5 Jul 2020 12:49:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id EAAB136B08B; Sun, 5 Jul 2020 12:49:20 +0000 (UTC) Delivered-To: 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 EA6C436AF3F for ; Sun, 5 Jul 2020 12:49:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4B07nD604Yz3ddZ for ; Sun, 5 Jul 2020 12:49:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id AD11ED8AA for ; Sun, 5 Jul 2020 12:49:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 065CnKYm051898 for ; Sun, 5 Jul 2020 12:49:20 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 065CnKi4051897 for virtualization@FreeBSD.org; Sun, 5 Jul 2020 12:49:20 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 246647] Request Errata Notice (EN) for bug 229852 and bug 245392 in releng/12.1 Date: Sun, 05 Jul 2020 12:49:20 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 12.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: me@anatoli.ws X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: re@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.33 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: Sun, 05 Jul 2020 12:49:21 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D246647 --- Comment #17 from Anatoli --- Hi, Just wanted to confirm the fixes will be included in 12.1R-p7 and also would like to ask when it's expected to be released? There's a mention about these fixes in the the about to be published 2020q2 freebsd-quarterly [1] and it would be great to have the fixes released in p7 before the freebsd-quarterly is published. Thanks, Anatoli [1] https://github.com/freebsd/freebsd-quarterly/blob/master/2020q2/bhyve-intel= -openbsd.md --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-virtualization@freebsd.org Sun Jul 5 21:00: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 D2B5D34D3A8 for ; Sun, 5 Jul 2020 21:00:47 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4B0LhH5Jthz4NWm for ; Sun, 5 Jul 2020 21:00:47 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: by mailman.nyi.freebsd.org (Postfix) id B658234D344; Sun, 5 Jul 2020 21:00:47 +0000 (UTC) Delivered-To: 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 B617E34D343 for ; Sun, 5 Jul 2020 21:00:47 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4B0LhH4SSYz4Nmx for ; Sun, 5 Jul 2020 21:00:47 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 7C507135D4 for ; Sun, 5 Jul 2020 21:00:47 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 065L0l5l088548 for ; Sun, 5 Jul 2020 21:00:47 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 065L0l3R088547 for virtualization@FreeBSD.org; Sun, 5 Jul 2020 21:00:47 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <202007052100.065L0l3R088547@kenobi.freebsd.org> X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@FreeBSD.org using -f From: bugzilla-noreply@FreeBSD.org To: virtualization@FreeBSD.org Subject: Problem reports for virtualization@FreeBSD.org that need special attention Date: Sun, 5 Jul 2020 21:00:47 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.33 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: Sun, 05 Jul 2020 21:00:47 -0000 To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and obsolete releases. Status | Bug Id | Description ------------+-----------+--------------------------------------------------- New | 240945 | [hyper-v] [netvsc] hn network driver incorrectly 1 problems total for which you should take action. From owner-freebsd-virtualization@freebsd.org Mon Jul 6 08:18:24 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 6E4DC35F937 for ; Mon, 6 Jul 2020 08:18:24 +0000 (UTC) (envelope-from emily@callcenterquote.website) Received: from alias1s177315.cloud.flynet.pro (alias25s177315.cloud.flynet.pro [193.47.34.226]) by mx1.freebsd.org (Postfix) with ESMTP id 4B0dk728QPz3SRQ for ; Mon, 6 Jul 2020 08:18:22 +0000 (UTC) (envelope-from emily@callcenterquote.website) Received: from m1.bizquotes.click (unknown [10.20.15.1]) by alias1s177315.cloud.flynet.pro (Postfix) with ESMTP id BC3A950C39 for ; Fri, 3 Jul 2020 20:07:00 +0300 (IDT) Received: from list.bizquotes.click (unknown [192.168.100.137]) by m1.bizquotes.click (Postfix) with ESMTP id 13F2F7641 for ; Fri, 3 Jul 2020 19:27:08 +0300 (IDT) DKIM-Filter: OpenDKIM Filter v2.11.0 m1.bizquotes.click 13F2F7641 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bizquotes.org; s=zmail; t=1593793628; bh=oEm7q+Hvs3rL4TYfqdPczLLUZCn5NRKKNlyUgy6U56A=; h=To:Subject:Date:From:Reply-To:List-Unsubscribe:From; b=0n6KWJQ2Ugn79m9NlFXSKcDo8MlXcGMV/78Knm8r/h4Hi+utknGF7Jkx+nfc3fQud EsP0M7km4hTf0qNBnAIP+i+72sz9Z3Gzbl2Q451NEfRq2bwKH4Zbtc1lmqBeYifCLH 4FNUMM7uH2VTEFjHVM89LtO+M5Xv5g/V1u7UuzLg= To: freebsd-virtualization@freebsd.org Subject: Call Center Services for Charlie's Choice Message-ID: Date: Fri, 03 Jul 2020 16:13:34 +0000 From: "Emily Kirkland" Reply-To: emily@callcenterquote.website MIME-Version: 1.0 X-Mailer-LID: 41,41 X-Mailer-RecptId: 34790047 X-Mailer-SID: 27060 X-Mailer-Sent-By: 1 X-Rspamd-Queue-Id: 4B0dk728QPz3SRQ X-Spamd-Bar: +++ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bizquotes.org header.s=zmail header.b=0n6KWJQ2; dmarc=none; spf=pass (mx1.freebsd.org: domain of emily@callcenterquote.website designates 193.47.34.226 as permitted sender) smtp.mailfrom=emily@callcenterquote.website X-Spamd-Result: default: False [3.10 / 15.00]; HAS_REPLYTO(0.00)[emily@callcenterquote.website]; R_SPF_ALLOW(-0.20)[+Ip4:193.47.34.0/24]; REPLYTO_ADDR_EQ_FROM(0.00)[]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[bizquotes.org:+]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; HAS_INTERSPIRE_SIG(1.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:51724, ipnet:193.47.34.0/24, country:RU]; INTRODUCTION(2.00)[]; DATE_IN_PAST(1.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.76)[-0.762]; R_DKIM_ALLOW(-0.20)[bizquotes.org:s=zmail]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_SPAM_SHORT(0.23)[0.227]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-virtualization@freebsd.org]; HAS_PHPMAILER_SIG(0.00)[]; HAS_LIST_UNSUB(-0.01)[]; RCPT_COUNT_ONE(0.00)[1]; DMARC_NA(0.00)[callcenterquote.website]; NEURAL_SPAM_LONG(0.05)[0.047] Content-Type: text/plain; format=flowed; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.33 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: Mon, 06 Jul 2020 08:18:24 -0000 Hi, My name is Emily and I am with CallCenterQuote, a service that compares quotes for Call Centers. Call Centers can be leveraged for Customer Support, scheduling appointments and increasing sales in many industries. Handle all your customer calls in a professional manner and generate sales utilizing qualified salespeople. In order to compose a Quote, please provide the following information: * Full Name * Company Name * Phone number - Zip Code * How many calls do you anticipate? * What type of coverage are you looking for (Business Hours/24 hours/Weekends)? I encourage you check our pricing by replying to this email. Best regards, Emily Kirkland Call Center Specialist Emily@CallCenterQuote.website Unsubscribe by reply back "REMOVE" From owner-freebsd-virtualization@freebsd.org Mon Jul 6 08:36:42 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 F32EB35FF93 for ; Mon, 6 Jul 2020 08:36:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4B0f7G6DDHz3T9J for ; Mon, 6 Jul 2020 08:36:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id D3E7935FD67; Mon, 6 Jul 2020 08:36:42 +0000 (UTC) Delivered-To: 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 D3AE435F96D for ; Mon, 6 Jul 2020 08:36:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4B0f7G5Hfsz3THv for ; Mon, 6 Jul 2020 08:36:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 9A3F21B558 for ; Mon, 6 Jul 2020 08:36:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 0668agr8070813 for ; Mon, 6 Jul 2020 08:36:42 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0668agRe070812 for virtualization@FreeBSD.org; Mon, 6 Jul 2020 08:36:42 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 244721] bhyve: Silence ACPI RTC error/warning in Linux guests Date: Mon, 06 Jul 2020 08:36:42 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.33 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: Mon, 06 Jul 2020 08:36:43 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D244721 --- Comment #3 from commit-hook@freebsd.org --- A commit references this bug: Author: grehan Date: Mon Jul 6 08:36:15 UTC 2020 New revision: 362952 URL: https://svnweb.freebsd.org/changeset/base/362952 Log: Silence ACPI RTC error/warning in Linux guests. Allow guests to set the RTC bit in the ACPI PM control register. This eliminates an annoying (and harmless) Linux kernel boot message. PR: 244721 Submitted by: Jose Luis Duran MFC after: 1 week Changes: head/usr.sbin/bhyve/pm.c --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Mon Jul 6 08:37:50 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 41757360180 for ; Mon, 6 Jul 2020 08:37:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4B0f8Z14vRz3SwK for ; Mon, 6 Jul 2020 08:37:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 2513D35FF2F; Mon, 6 Jul 2020 08:37:50 +0000 (UTC) Delivered-To: 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 24D9236000B for ; Mon, 6 Jul 2020 08:37:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4B0f8Z09vZz3TMF for ; Mon, 6 Jul 2020 08:37:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id DF1AA1B8A2 for ; Mon, 6 Jul 2020 08:37:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 0668bnPl074833 for ; Mon, 6 Jul 2020 08:37:49 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0668bnTq074832 for virtualization@FreeBSD.org; Mon, 6 Jul 2020 08:37:49 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 244721] bhyve: Silence ACPI RTC error/warning in Linux guests Date: Mon, 06 Jul 2020 08:37:50 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: grehan@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: resolution bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.33 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: Mon, 06 Jul 2020 08:37:50 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D244721 Peter Grehan changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|New |Closed --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Mon Jul 6 17:24:00 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 BCDC436CC39 for ; Mon, 6 Jul 2020 17:24:00 +0000 (UTC) (envelope-from ml@netfence.it) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4B0sqh34k2z4KM2 for ; Mon, 6 Jul 2020 17:24:00 +0000 (UTC) (envelope-from ml@netfence.it) Received: by mailman.nyi.freebsd.org (Postfix) id 69A5436CB30; Mon, 6 Jul 2020 17:24:00 +0000 (UTC) Delivered-To: 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 696D836C863 for ; Mon, 6 Jul 2020 17:24:00 +0000 (UTC) (envelope-from ml@netfence.it) Received: from soth.netfence.it (net-2-44-121-52.cust.vodafonedsl.it [2.44.121.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mailserver.netfence.it", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4B0sqg3972z4KGx for ; Mon, 6 Jul 2020 17:23:55 +0000 (UTC) (envelope-from ml@netfence.it) Received: from alamar.ventu (alamar.local.netfence.it [10.1.2.18]) (authenticated bits=0) by soth.netfence.it (8.15.2/8.15.2) with ESMTPSA id 066HNjQ9077187 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NO) for ; Mon, 6 Jul 2020 19:23:48 +0200 (CEST) (envelope-from ml@netfence.it) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netfence.it; s=202005; t=1594056228; bh=g3jwxfrI/vu4Sm6gX/IJBKoGC7i2/tlHWER7Y2QUX4E=; h=To:From:Subject:Date; b=qrwHr7bjK4ByTPGbyMv41DNXVNe2nwFsD0inrlB0C9WLl61/y0xLy2cSLvLdEgVZC oQAJ+pyn4uJz+KWf/xUrTCkHwzl5r/KVXuP/DNnyKXzBVEMa/wTobqIko2hrJt8aoH 7Z9w4CcuiTu0LP/ucJ0e/rPbFWXkwO1RtPnKJkUw= X-Authentication-Warning: soth.netfence.it: Host alamar.local.netfence.it [10.1.2.18] claimed to be alamar.ventu To: virtualization@FreeBSD.org From: Andrea Venturoli Subject: bhyve, Windows guest and trim support Message-ID: Date: Mon, 6 Jul 2020 19:23:45 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4B0sqg3972z4KGx X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=netfence.it header.s=202005 header.b=qrwHr7bj; dmarc=pass (policy=none) header.from=netfence.it; spf=pass (mx1.freebsd.org: domain of ml@netfence.it designates 2.44.121.52 as permitted sender) smtp.mailfrom=ml@netfence.it X-Spamd-Result: default: False [-3.08 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[netfence.it:s=202005]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:2.44.121.52]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[virtualization@freebsd.org]; HAS_XAW(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.01)[-1.013]; TO_DN_NONE(0.00)[]; DKIM_TRACE(0.00)[netfence.it:+]; DMARC_POLICY_ALLOW(-0.50)[netfence.it,none]; NEURAL_HAM_SHORT(-0.02)[-0.024]; NEURAL_HAM_MEDIUM(-1.04)[-1.038]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:30722, ipnet:2.44.0.0/16, country:IT]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.33 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: Mon, 06 Jul 2020 17:24:00 -0000 Hello. I'm running zvol-backed Windows guests in bhyve on FreeBSD 12.1. Over time, I see the zvol effectively used space grow in size: a sign that Windows isn't trimming it. I'm using virtio-blk: I guess this driver does not support trim? I see reports that this support was added, but it's not clear to me whether it's in the released version or not (I've downloaded the stable binary ISO from RedHat). Is trim expected to work in such a scenario? If not, is it a bhyve problem or a guest-driver problem (or both)? I tried virtio-scsi, which should support trim, but the guest doesn't even start in this case, getting stuck at the UEFI boot stage and ending up in UEFI prompt. Again, is this expected? No guest driver has been loaded yet, so is it a bhyve limitation? Is some tweak needed? I tried changing from virtio-blk to ahci-hd: I was then able to manually trim the disk from inside the guest and recover a lot of space in the zpool. Alas ahci-hd is much slower, so I moved back to virtio-blk after that (at least for the time being). bye & Thanks av. From owner-freebsd-virtualization@freebsd.org Mon Jul 6 21:40:27 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 988C13498E6 for ; Mon, 6 Jul 2020 21:40:27 +0000 (UTC) (envelope-from dmarquess@gmail.com) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4B0zWb2s97z4c4K for ; Mon, 6 Jul 2020 21:40:27 +0000 (UTC) (envelope-from dmarquess@gmail.com) Received: by mailman.nyi.freebsd.org (Postfix) id 5FD33349644; Mon, 6 Jul 2020 21:40:27 +0000 (UTC) Delivered-To: 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 5F9BC349A95 for ; Mon, 6 Jul 2020 21:40:27 +0000 (UTC) (envelope-from dmarquess@gmail.com) Received: from mail-ed1-x52a.google.com (mail-ed1-x52a.google.com [IPv6:2a00:1450:4864:20::52a]) (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 4B0zWZ0Szqz4c2B for ; Mon, 6 Jul 2020 21:40:25 +0000 (UTC) (envelope-from dmarquess@gmail.com) Received: by mail-ed1-x52a.google.com with SMTP id dg28so36546107edb.3 for ; Mon, 06 Jul 2020 14:40:25 -0700 (PDT) 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=ZjF8q/SMau/s6ii90ECOoyUyGJxQXqZs8XQj2flgVDw=; b=QC0UvsOrTmf5SGdGi6TcWcj0a7Pmlnq3sNfJfjVKHclHG6bf3NIyaXbcvS/ZxTD8Ft Aay5+H8iM9wpU9eNV6vwocYXRxflQWUo1ltp4gcE234MVideu+JqWNCsxg9j2r0CSTN6 ZJm3L0dPYUD9oVmrFkQXTqRMEiUK3BGiKydU5fLpRCGc6+jaOcr0HbtgsJukEVYlvtcd dNhJJuZw8kiG/2265FEatTnMp1MHPro4zXjBeywsoIW6+p1IZatEycz6DMg66OgLPIRW 1rgxP2U0NmWMMELh7phhevwvFwbo5Zc7VBoRzRhvwLYcBuxestdNuMBGH1LFtfhj90SS Rclg== 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=ZjF8q/SMau/s6ii90ECOoyUyGJxQXqZs8XQj2flgVDw=; b=b4B4mfPHbXL/Nc4YqH1EXIVnQd7NEy11T/Ok/H+CAoFSCwffol5XlUWvCW6VLNejlV ONf3k++sgKe1WRBGd74Zg3x+nP6BGmhdL8tR0Eo19l2axZORN+a0yOkYLBqcfYjpkku2 Yg6jSgWHHk/eJlr4Q5X9z6YucWMEMxpi+X7UHe86t/0Bx3CyoZmzePyN4UhM/WHYbFMz Y/pyw3MRtbaNWNZXpyoMsZBexcvaiDGiYYs9+GnX0MQkdpwbOrCKUcbwsJrxD5dYdJeH MNwOiZ+Bdxl7F13JXIBzaGsjW9moerM1G/PLoF9ppCPs1T91cCkEJrqcU3N5a8rAsBud qchA== X-Gm-Message-State: AOAM531Zy1Qm/c2fe/l5F+RSlTUD5DXCZCa+NTV+TJxBEkKrjwj+DmI2 r5MspVQzcXQKXrcS/ALYaqyFiDOClQHUXclvbP4cbYIq X-Google-Smtp-Source: ABdhPJziW3ACyGuTv0IZTCyknKWRecZZ3kQAT6ogUZaTUBAGTEAVeFp9KlAM/f/mykAN75S78a5iaJMhWyxNfK6/1oQ= X-Received: by 2002:a05:6402:1605:: with SMTP id f5mr61351818edv.8.1594071624401; Mon, 06 Jul 2020 14:40:24 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Dustin Marquess Date: Mon, 6 Jul 2020 16:40:13 -0500 Message-ID: Subject: Re: bhyve, Windows guest and trim support To: Andrea Venturoli Cc: virtualization@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4B0zWZ0Szqz4c2B X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=QC0UvsOr; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of dmarquess@gmail.com designates 2a00:1450:4864:20::52a as permitted sender) smtp.mailfrom=dmarquess@gmail.com X-Spamd-Result: default: False [-3.39 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.993]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[virtualization@freebsd.org]; NEURAL_HAM_LONG(-1.00)[-1.002]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::52a:from]; NEURAL_HAM_SHORT(-0.40)[-0.396]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim] X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.33 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: Mon, 06 Jul 2020 21:40:27 -0000 Try nvme, I believe that driver supports TRIM and I've had a lot better performance with it over ahci-hd. -Dustin On Mon, Jul 6, 2020 at 12:24 PM Andrea Venturoli wrote: > > Hello. > > I'm running zvol-backed Windows guests in bhyve on FreeBSD 12.1. > Over time, I see the zvol effectively used space grow in size: a sign > that Windows isn't trimming it. > > I'm using virtio-blk: I guess this driver does not support trim? > I see reports that this support was added, but it's not clear to me > whether it's in the released version or not (I've downloaded the stable > binary ISO from RedHat). > Is trim expected to work in such a scenario? > If not, is it a bhyve problem or a guest-driver problem (or both)? > > I tried virtio-scsi, which should support trim, but the guest doesn't > even start in this case, getting stuck at the UEFI boot stage and ending > up in UEFI prompt. > Again, is this expected? > No guest driver has been loaded yet, so is it a bhyve limitation? > Is some tweak needed? > > I tried changing from virtio-blk to ahci-hd: I was then able to manually > trim the disk from inside the guest and recover a lot of space in the zpool. > Alas ahci-hd is much slower, so I moved back to virtio-blk after that > (at least for the time being). > > bye & Thanks > av. > _______________________________________________ > freebsd-virtualization@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization > To unsubscribe, send any mail to "freebsd-virtualization-unsubscribe@freebsd.org" From owner-freebsd-virtualization@freebsd.org Tue Jul 7 01:46:18 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 52FF934F43C for ; Tue, 7 Jul 2020 01:46:18 +0000 (UTC) (envelope-from wanpengqian@gmail.com) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4B14zG0nnfz3bFG for ; Tue, 7 Jul 2020 01:46:18 +0000 (UTC) (envelope-from wanpengqian@gmail.com) Received: by mailman.nyi.freebsd.org (Postfix) id 1B37634F43B; Tue, 7 Jul 2020 01:46:18 +0000 (UTC) Delivered-To: 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 1AFC434F1B3 for ; Tue, 7 Jul 2020 01:46:18 +0000 (UTC) (envelope-from wanpengqian@gmail.com) Received: from mail-qt1-x834.google.com (mail-qt1-x834.google.com [IPv6:2607:f8b0:4864:20::834]) (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 4B14zD2NWJz3bHN for ; Tue, 7 Jul 2020 01:46:16 +0000 (UTC) (envelope-from wanpengqian@gmail.com) Received: by mail-qt1-x834.google.com with SMTP id e12so30578923qtr.9 for ; Mon, 06 Jul 2020 18:46:16 -0700 (PDT) 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=96nJ2PLQPz/WEadttPuOUoz7e0kKT+dcD3dJtNb5aro=; b=N2UGCyNZNK+x6RvUcMxDkVCjanKwXAVU+ZO0osw2GDY4KYqJeZdRl5sTGCMvIxf3nQ LJrL+Dkgel3Fa9QPs2yse2cxWAcfI1+8AkoMhVKAmwoz32/NQTS6MWm8CSDU7DrPrqGI UsGFdf+p5hpnfLreJGcswFIfCsHxRMGp1D37ZT0pCgL0pGXGEzAjmtqiiX0SI9uZBBOh nxr4PJy1WLHdlFhbDA7Exfp4Om1OONAerZHesSBRo4C8KEGJJOnyByI4E2Guy8nxAa+3 19X+NGxag0dtcWndt1waU7IG3LOCk953GHcdiafQzWpM6Qp5tHtoy4RtAx40jkLYCPLR VMRA== 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=96nJ2PLQPz/WEadttPuOUoz7e0kKT+dcD3dJtNb5aro=; b=CUZbIrdFPQ4o1a5BEfE3VJxDp58gI9Wjnd921ssRHESn57NOrVO0E8/nQKRjoy1N+R 62gm9AsKt40oetByxnA7orSpVx2UxP1o1hKLrvic5en7sx1C677oFr9ElzcvaKC9le9y r+2YDvxBnIU07LiIUWbKf1bnAA1ybibIMJg31vVBSyfnGBNg0J5LCnP+YHVFLnGBicbF NflzTFJjX3uHd3UU+M3NtscI1udoJXZE0Ymkc8YPHKNV9nB/irwUVhNJhhU45l+ZuwyG UF21qgAdsK1QdtyvOzChEFSq9GhG2RJjlBwo+7E4M0hC/XyT1JH5AaW0NeqdQksSkLLJ fweQ== X-Gm-Message-State: AOAM532nxGn3mrvy6JRcF1rkNhwLvLG+gLf9GkiheDt4S87RxH5yfBXl Y4XYjvDECcrrP1VNqTEJEPCFAVfvQ+Zx2x+GHcw= X-Google-Smtp-Source: ABdhPJyyDHX9AVH5/jM27BXnv9WQQ6xu0dI/8E7hrsawIjFfZ2H/yzU+yfNXPvPIJ4DukRFAZf6gdf8iIMazWVo18+c= X-Received: by 2002:ac8:4a88:: with SMTP id l8mr38567017qtq.209.1594086375306; Mon, 06 Jul 2020 18:46:15 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Wanpeng Qian Date: Tue, 7 Jul 2020 10:46:28 +0900 Message-ID: Subject: Re: bhyve, Windows guest and trim support To: Dustin Marquess Cc: Andrea Venturoli , virtualization@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4B14zD2NWJz3bHN X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=N2UGCyNZ; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of wanpengqian@gmail.com designates 2607:f8b0:4864:20::834 as permitted sender) smtp.mailfrom=wanpengqian@gmail.com X-Spamd-Result: default: False [-3.44 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.994]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[virtualization@freebsd.org]; NEURAL_HAM_LONG(-1.00)[-1.002]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::834:from]; NEURAL_HAM_SHORT(-0.45)[-0.447]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim] X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.33 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: Tue, 07 Jul 2020 01:46:18 -0000 I also recommend NVMe controller, it supports Deallocate(in SATA, it is called TRIM.) chuck has committed a lot of patches to NVMe controller in 13.0 Current. Just install 12.1-STABLE, fetch pci_nvme.c from 13.0 Current, recompile bhyve. It works great. stable/fast. On Tue, Jul 7, 2020 at 6:40 AM Dustin Marquess wrote: > > Try nvme, I believe that driver supports TRIM and I've had a lot > better performance with it over ahci-hd. > > -Dustin > > On Mon, Jul 6, 2020 at 12:24 PM Andrea Venturoli wrote: > > > > Hello. > > > > I'm running zvol-backed Windows guests in bhyve on FreeBSD 12.1. > > Over time, I see the zvol effectively used space grow in size: a sign > > that Windows isn't trimming it. > > > > I'm using virtio-blk: I guess this driver does not support trim? > > I see reports that this support was added, but it's not clear to me > > whether it's in the released version or not (I've downloaded the stable > > binary ISO from RedHat). > > Is trim expected to work in such a scenario? > > If not, is it a bhyve problem or a guest-driver problem (or both)? > > > > I tried virtio-scsi, which should support trim, but the guest doesn't > > even start in this case, getting stuck at the UEFI boot stage and ending > > up in UEFI prompt. > > Again, is this expected? > > No guest driver has been loaded yet, so is it a bhyve limitation? > > Is some tweak needed? > > > > I tried changing from virtio-blk to ahci-hd: I was then able to manually > > trim the disk from inside the guest and recover a lot of space in the zpool. > > Alas ahci-hd is much slower, so I moved back to virtio-blk after that > > (at least for the time being). > > > > bye & Thanks > > av. > > _______________________________________________ > > freebsd-virtualization@freebsd.org mailing list > > https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization > > To unsubscribe, send any mail to "freebsd-virtualization-unsubscribe@freebsd.org" > _______________________________________________ > freebsd-virtualization@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization > To unsubscribe, send any mail to "freebsd-virtualization-unsubscribe@freebsd.org" From owner-freebsd-virtualization@freebsd.org Tue Jul 7 02:01:01 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 4B88A34F94F for ; Tue, 7 Jul 2020 02:01:01 +0000 (UTC) (envelope-from dmarquess@gmail.com) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4B15JF0Vhwz3bdd for ; Tue, 7 Jul 2020 02:01:01 +0000 (UTC) (envelope-from dmarquess@gmail.com) Received: by mailman.nyi.freebsd.org (Postfix) id 1133334F9D9; Tue, 7 Jul 2020 02:01:01 +0000 (UTC) Delivered-To: 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 10FBE34FA93 for ; Tue, 7 Jul 2020 02:01:01 +0000 (UTC) (envelope-from dmarquess@gmail.com) Received: from mail-ej1-x629.google.com (mail-ej1-x629.google.com [IPv6:2a00:1450:4864:20::629]) (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 4B15JD1fDbz3bkL for ; Tue, 7 Jul 2020 02:00:59 +0000 (UTC) (envelope-from dmarquess@gmail.com) Received: by mail-ej1-x629.google.com with SMTP id l12so44918985ejn.10 for ; Mon, 06 Jul 2020 19:00:59 -0700 (PDT) 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=611Mc70qDkad2ozbPQ5Qp5uUxvPn8DR4sLklbgxKovc=; b=V+ZaErPNOd0oYMHFcT09y4Zpi8gnctyRO/uJlGH7UanVFek/Xt2esn3A8WApLg4isA GnkayuSIpvk7QV+yQFT0vQBFeP61Br8uVQkYHGr9cC2DCP9SfJwp1jeLKPh0a9LIm8no nXa4YCQ9buNIiCxUmpLhNGqwR297CoXB5HRiSgvqFAVNa+tTkZvH4unArePkeQKTSUQI +cPWx4NZn2xJqHGSLi5QP8zrWXKoo1nP+JjZo6M+Mt7luulJp6jGNrDdPnwg2EDShixd yTdzYnkzYnXF58pC5PhE0z+hPgLTIe9uyeoilZRz+OZGhGQVOpaCBYpjIL9RV+D3TQiF P71Q== 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=611Mc70qDkad2ozbPQ5Qp5uUxvPn8DR4sLklbgxKovc=; b=XhGoYPX7Vm2OnTcHNITzHusQzitqZJQSFIE/w0oe7TSpzBqDzl7c7Osohxwr/aYWqw tk6PD0dCKWCzcuuVJnLmWp9sYbYnKS+8m7PyJyOkukR1/9fQ9DDf72cVAE6pXgyrKkVI jwuM12kGvQwu0QVWboU9aNKF7EyF/Xz0Obj9HeCOgI5bIfIi2Rs5VFNE4+xJMVFW7t3q jrfx2Au0lSq0wFdB6pS1ZEbfeCs4s0S/c6QKeQ7Kei3maJ7OCFbTPECL7/hwHllXStdY KaNu+CLgoX4xn8MCr8880DteB3jHYXpEuWHpLJ7yMHs5QDZQDyFKySbG2WazG0c/OKGr Oo3Q== X-Gm-Message-State: AOAM532OSfKFZUX+p64AA/l+kV+65Z57M+gKcpmpbV8f+v1ANZ/rnubE z1lNyunO+jlobexy5Uwv/TCJwK097GTlwQ5HTe8= X-Google-Smtp-Source: ABdhPJzu2VMYzShoQ5Rl5XqYEqPomEj7A22ZpDILm5p5rDi002lC0jiJmY8sOG3T7VPQm9iukhrpAM/4bZb34L6OsKU= X-Received: by 2002:a17:906:3a04:: with SMTP id z4mr39174676eje.441.1594087257837; Mon, 06 Jul 2020 19:00:57 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Dustin Marquess Date: Mon, 6 Jul 2020 21:00:46 -0500 Message-ID: Subject: Re: bhyve, Windows guest and trim support To: Wanpeng Qian Cc: Andrea Venturoli , virtualization@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4B15JD1fDbz3bkL X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=V+ZaErPN; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of dmarquess@gmail.com designates 2a00:1450:4864:20::629 as permitted sender) smtp.mailfrom=dmarquess@gmail.com X-Spamd-Result: default: False [-3.42 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.97)[-0.973]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[virtualization@freebsd.org]; NEURAL_HAM_LONG(-1.00)[-1.002]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::629:from]; NEURAL_HAM_SHORT(-0.45)[-0.450]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim] X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.33 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: Tue, 07 Jul 2020 02:01:01 -0000 +1 A ghetto hack would be to enable compression on the zvol (at least zle) and then 0-fill available space. Granted it would still show as "used", but it would decrease the amount of really used space. But NVMe would still be better :) -Dustin On Mon, Jul 6, 2020 at 8:46 PM Wanpeng Qian wrote: > > I also recommend NVMe controller, it supports Deallocate(in SATA, it > is called TRIM.) > > chuck has committed a lot of patches to NVMe controller in 13.0 Current. > Just install 12.1-STABLE, fetch pci_nvme.c from 13.0 Current, recompile bhyve. > It works great. stable/fast. > > On Tue, Jul 7, 2020 at 6:40 AM Dustin Marquess wrote: > > > > Try nvme, I believe that driver supports TRIM and I've had a lot > > better performance with it over ahci-hd. > > > > -Dustin > > > > On Mon, Jul 6, 2020 at 12:24 PM Andrea Venturoli wrote: > > > > > > Hello. > > > > > > I'm running zvol-backed Windows guests in bhyve on FreeBSD 12.1. > > > Over time, I see the zvol effectively used space grow in size: a sign > > > that Windows isn't trimming it. > > > > > > I'm using virtio-blk: I guess this driver does not support trim? > > > I see reports that this support was added, but it's not clear to me > > > whether it's in the released version or not (I've downloaded the stable > > > binary ISO from RedHat). > > > Is trim expected to work in such a scenario? > > > If not, is it a bhyve problem or a guest-driver problem (or both)? > > > > > > I tried virtio-scsi, which should support trim, but the guest doesn't > > > even start in this case, getting stuck at the UEFI boot stage and ending > > > up in UEFI prompt. > > > Again, is this expected? > > > No guest driver has been loaded yet, so is it a bhyve limitation? > > > Is some tweak needed? > > > > > > I tried changing from virtio-blk to ahci-hd: I was then able to manually > > > trim the disk from inside the guest and recover a lot of space in the zpool. > > > Alas ahci-hd is much slower, so I moved back to virtio-blk after that > > > (at least for the time being). > > > > > > bye & Thanks > > > av. > > > _______________________________________________ > > > freebsd-virtualization@freebsd.org mailing list > > > https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization > > > To unsubscribe, send any mail to "freebsd-virtualization-unsubscribe@freebsd.org" > > _______________________________________________ > > freebsd-virtualization@freebsd.org mailing list > > https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization > > To unsubscribe, send any mail to "freebsd-virtualization-unsubscribe@freebsd.org" From owner-freebsd-virtualization@freebsd.org Tue Jul 7 14:51:30 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 1EAF7364473 for ; Tue, 7 Jul 2020 14:51:30 +0000 (UTC) (envelope-from allanjude@freebsd.org) Received: from tor1-11.mx.scaleengine.net (tor1-11.mx.scaleengine.net [IPv6:2001:470:1:474::25]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4B1QPF5LDZz3Rfr for ; Tue, 7 Jul 2020 14:51:29 +0000 (UTC) (envelope-from allanjude@freebsd.org) Received: from [10.1.1.2] (Seawolf.HML3.ScaleEngine.net [209.51.186.28]) (Authenticated sender: allanjude.freebsd@scaleengine.com) by tor1-11.mx.scaleengine.net (Postfix) with ESMTPSA id A67C32875C for ; Tue, 7 Jul 2020 14:51:28 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.10.3 tor1-11.mx.scaleengine.net A67C32875C To: freebsd-virtualization@freebsd.org References: From: Allan Jude Autocrypt: addr=allanjude@freebsd.org; prefer-encrypt=mutual; keydata= xsFNBFVwZcYBEADwrZDH0xe0ZVjc9ORCc6PcBLwS/RTXA6NkvpD6ea02pZ8lPOVgteuuugFc D34LdDbiWr+479vfrKBh+Y38GL0oZ0/13j10tIlDMHSa5BU0y6ACtnhupFvVlQ57+XaJAb/q 7qkfSiuxVwQ3FY3PL3cl1RrIP5eGHLA9hu4eVbu+FOX/q/XVKz49HaeIaxzo2Q54572VzIo6 C28McX9m65UL5fXMUGJDDLCItLmehZlHsQQ+uBxvODLFpVV2lUgDR/0rDa0B9zHZX8jY8qQ7 ZdCSy7CwClXI054CkXZCaBzgxYh/CotdI8ezmaw7NLs5vWNTxaDEFXaFMQtMVhvqQBpHkfOD 7rjjOmFw00nJL4FuPE5Yut0CPyx8vLjVmNJSt/Y8WxxmhutsqJYFgYfWl/vaWkrFLur/Zcmz IklwLw35HLsCZytCN5A3rGKdRbQjD6QPXOTJu0JPrJF6t2xFkWAT7oxnSV0ELhl2g+JfMMz2 Z1PDmS3NRnyEdqEm7NoRGXJJ7bgxDbN+9SXTyOletqGNXj/bSrBvhvZ0RQrzdHAPwQUfVSU2 qBhQEi2apSZstgVNMan0GUPqCdbE2zpysg+zT7Yhvf9EUQbzPL4LpdK1llT9fZbrdMzEXvEF oSvwJFdV3sqKmZc7b+E3PuxK6GTsKqaukd/3Cj8aLHG1T1im1QARAQABzSJBbGxhbiBKdWRl IDxhbGxhbmp1ZGVAZnJlZWJzZC5vcmc+wsF/BBMBAgApBQJVcGXGAhsjBQkSzAMABwsJCAcD AgEGFQgCCQoLBBYCAwECHgECF4AACgkQGZU1PhKYC34Muw/+JOKpSfhhysWFYiRXynGRDe07 Z6pVsn7DzrPUMRNZfHu8Uujmmy3p2nx9FelIY9yjd2UKHhug+whM54MiIFs90eCRVa4XEsPR 4FFAm0DAWrrb7qhZFcE/GhHdRWpZ341WAElWf6Puj2devtRjfYbikvj5+1V1QmDbju7cEw5D mEET44pTuD2VMRJpu2yZZzkM0i+wKFuPxlhqreufA1VNkZXI/rIfkYWK+nkXd9Efw3YdCyCQ zUgTUCb88ttSqcyhik/li1CDbXBpkzDCKI6I/8fAb7jjOC9LAtrZJrdgONywcVFoyK9ZN7EN AVA+xvYCmuYhR/3zHWH1g4hAm1v1+gIsufhajhfo8/wY1SetlzPaYkSkVQLqD8T6zZyhf+AN bC7ci44UsiKGAplB3phAXrtSPUEqM86kbnHg3fSx37kWKUiYNOnx4AC2VXvEiKsOBlpyt3dw WQbOtOYM+vkfbBwDtoGOOPYAKxc4LOIt9r+J8aD+gTooi9Eo5tvphATf9WkCpl9+aaGbSixB tUpvQMRnSMqTqq4Z7DeiG6VMRQIjsXDSLJEUqcfhnLFo0Ko/RiaHd5xyAQ4DhQ9QpkyQjjNf /3f/dYG7JAtoD30txaQ5V8uHrz210/77DRRX+HJjEj6xCxWUGvQgvEZf5XXyxeePvqZ+zQyT DX61bYw6w6bOwU0EVXBlxgEQAMy7YVnCCLN4oAOBVLZ5nUbVPvpUhsdA94/0/P+uqCIh28Cz ar56OCX0X19N/nAWecxL4H32zFbIRyDB2V/MEh4p9Qvyu/j4i1r3Ex5GhOT2hnit43Ng46z5 29Es4TijrHJP4/l/rB2VOqMKBS7Cq8zk1cWqaI9XZ59imxDNjtLLPPM+zQ1yE3OAMb475QwN UgWxTMw8rkA7CEaqeIn4sqpTSD5C7kT1Bh26+rbgJDZ77D6Uv1LaCZZOaW52okW3bFbdozV8 yM2u+xz2Qs8bHz67p+s+BlygryiOyYytpkiK6Iy4N7FTolyj5EIwCuqzfk0SaRHeOKX2ZRjC qatkgoD/t13PNT38V9tw3qZVOJDS0W6WM8VSg+F+bkM9LgJ8CmKV+Hj0k3pfGfYPOZJ/v18i +SmZmL/Uw2RghnwDWGAsPCKu4uZR777iw7n9Io6Vfxndw2dcS0e9klvFYoaGS6H2F13Asygr WBzFNGFQscN4mUW+ZYBzpTOcHkdT7w8WS55BmXYLna+dYer9/HaAuUrONjujukN4SPS1fMJ2 /CS/idAUKyyVVX5vozoNK2JVC1h1zUAVsdnmhEzNPsvBoqcVNfyqBFROEVLIPwq+lQMGNVjH ekLTKRWf59MEhUC2ztjSKkGmwdg73d6xSXMuq45EgIJV2wPvOgWQonoHH/kxABEBAAHCwWUE GAECAA8FAlVwZcYCGwwFCRLMAwAACgkQGZU1PhKYC34w5A//YViBtZyDV5O+SJT9FFO3lb9x Zdxf0trA3ooCt7gdBkdnBM6T5EmjgVZ3KYYyFfwXZVkteuCCycMF/zVw5eE9FL1+zz9gg663 nY9q2F77TZTKXVWOLlOV2bY+xaK94U4ytogOGhh9b4UnQ/Ct3+6aviCF78Go608BXbmF/GVT 7uhddemk7ItxM1gE5Hscx3saxGKlayaOsdPKeGTVJCDEtHDuOc7/+jGh5Zxpk/Hpi+DUt1ot 8e6hPYLIQa4uVx4f1xxxV858PQ7QysSLr9pTV7FAQ18JclCaMc7JWIa3homZQL/MNKOfST0S 2e+msuRwQo7AnnfFKBUtb02KwpA4GhWryhkjUh/kbVc1wmGxaU3DgXYQ5GV5+Zf4kk/wqr/7 KG0dkTz6NLCVLyDlmAzuFhf66DJ3zzz4yIo3pbDYi3HB/BwJXVSKB3Ko0oUo+6/qMrOIS02L s++QE/z7K12CCcs7WwOjfCYHK7VtE0Sr/PfybBdTbuDncOuAyAIeIKxdI2nmQHzl035hhvQX s4CSghsP319jAOQiIolCeSbTMD4QWMK8RL/Pe1FI1jC3Nw9s+jq8Dudtbcj2UwAP/STUEbJ9 5rznzuuhPjE0e++EU/RpWmcaIMK/z1zZDMN+ce2v1qzgV936ZhJ3iaVzyqbEE81gDxg3P+IM kiYh4ZtPB4Q= Subject: Re: bhyve, Windows guest and trim support Message-ID: <4e0c7427-8bb4-37d6-b717-181d5c9b66d3@freebsd.org> Date: Tue, 7 Jul 2020 10:51:24 -0400 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.9.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="TOh9EVsdOfXdp6fBxAbexTLj7pbOMK1hM" X-Rspamd-Queue-Id: 4B1QPF5LDZz3Rfr X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [0.00 / 15.00]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US]; local_wl_from(0.00)[freebsd.org] X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.33 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: Tue, 07 Jul 2020 14:51:30 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --TOh9EVsdOfXdp6fBxAbexTLj7pbOMK1hM Content-Type: multipart/mixed; boundary="kMiD2s1biVk0B0MRV2f7MOPwQH2rZP9eo"; protected-headers="v1" From: Allan Jude To: freebsd-virtualization@freebsd.org Message-ID: <4e0c7427-8bb4-37d6-b717-181d5c9b66d3@freebsd.org> Subject: Re: bhyve, Windows guest and trim support References: In-Reply-To: --kMiD2s1biVk0B0MRV2f7MOPwQH2rZP9eo Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 2020-07-06 13:23, Andrea Venturoli wrote: > Hello. >=20 > I'm running zvol-backed Windows guests in bhyve on FreeBSD 12.1. > Over time, I see the zvol effectively used space grow in size: a sign > that Windows isn't trimming it. >=20 > I'm using virtio-blk: I guess this driver does not support trim? > I see reports that this support was added, but it's not clear to me > whether it's in the released version or not (I've downloaded the stable= > binary ISO from RedHat). > Is trim expected to work in such a scenario? > If not, is it a bhyve problem or a guest-driver problem (or both)? >=20 > I tried virtio-scsi, which should support trim, but the guest doesn't > even start in this case, getting stuck at the UEFI boot stage and endin= g > up in UEFI prompt. > Again, is this expected? > No guest driver has been loaded yet, so is it a bhyve limitation? > Is some tweak needed? >=20 > I tried changing from virtio-blk to ahci-hd: I was then able to manuall= y > trim the disk from inside the guest and recover a lot of space in the > zpool. > Alas ahci-hd is much slower, so I moved back to virtio-blk after that > (at least for the time being). >=20 > =C2=A0bye & Thanks > =C2=A0=C2=A0=C2=A0=C2=A0av. > _______________________________________________ > freebsd-virtualization@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization > To unsubscribe, send any mail to > "freebsd-virtualization-unsubscribe@freebsd.org" I added support for bhyve to understand virtio-blk TRIM messages to FreeBSD 13 back in April, r360229 It should be possible to apply that patch to FreeBSD 12.1, and then your Windows guest should be able to issue TRIM commands, and you will see the space become free in your zvol. There is a separate patch to teach the FreeBSD virtio-blk driver to send TRIM commands, it is still in review (needs testing on hypervisors other than bhyve): https://reviews.freebsd.org/D21708 --=20 Allan Jude --kMiD2s1biVk0B0MRV2f7MOPwQH2rZP9eo-- --TOh9EVsdOfXdp6fBxAbexTLj7pbOMK1hM Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (MingW32) iQIcBAEBAgAGBQJfBIvvAAoJEBmVNT4SmAt+wXsP/iDDQTYB1OyMvxHqhr9Y6Bhy shBQOl2dKCa0QFsE667L2p3qaIp4FubXFZOOXIbLz6wV5PWHH29g6HEb2fuM0vO2 ToTMlXMTLyi4oCHHexZt24uU2mdASL0OJbnprUWR12HKvYSyvzlL7utHyaJTW08x Ma6CC0LRvbld+dppD+QmDkqfHuZazPXWMfgmRSNXDY73bUXKSVV9oD0gnRZIM+0N pZGRKyTbVqUyVPfJPSujBYr7JDPduPtwMHGFa1U1fHuKjFdlismf3pBXQnSQkJAm WlfdGaQhu7SaoI94rGUIGiwa/WMie9jD0nF6eP7uCbWK5LjuWN2xd8GpnN96z45I HhAkvnZNFfipGkg5x44uXFUwZ+wp8jZo+tpR3qMTGByNjfeunPmaZb+JlSpVXHtj QaWwfWf++ZGPfr9UrUgNNevoQiUGY9lWNklhqVVWbNrJQGcG/I2XFBqdUICvbaxT sfnlKOyMy/uiB4Kkdu0VrHf3IJdLFjPezA8rcsFU4v1drsjLpBke5TMNEcfyDFtO pyYdr8ZYcomDAwEkyxepWKVFHdhnqR4aPaeMQpZZ4K9azjPq0XBFKRDj3ojec1S3 ReNfmWInYLYJ96GBOW7XXEf96tKcXtHj9gTXSwVeb7Qsm8pKIKAvs4DxLj9bEYec pgP73JmY+g/hK9/OdEH+ =q2LU -----END PGP SIGNATURE----- --TOh9EVsdOfXdp6fBxAbexTLj7pbOMK1hM-- From owner-freebsd-virtualization@freebsd.org Tue Jul 7 15:38:30 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 C6D02365791 for ; Tue, 7 Jul 2020 15:38:30 +0000 (UTC) (envelope-from felix@palmen-it.de) Received: from stef.palmen-it.de (stef.palmen-it.de [IPv6:2001:470:1f0b:bbb:1::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4B1RRT2mHxz3Vgd for ; Tue, 7 Jul 2020 15:38:29 +0000 (UTC) (envelope-from felix@palmen-it.de) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=palmen-it.de; s=20200414; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:To:From:Date:Sender:Reply-To:Cc: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=w4csffOyrenHvpPTLJX6siWmrVkHmlnHokZXvy+uiAs=; b=UnfRzr9kFBVAqfD0fcOwgMf+q hjEyuHHMLXRNy1sLZRcxrm/17UqEqXb8zBVq8D1vqZcHScbNjG9MIPUNGkyNXB8RKLE1o0xU4WsRr yZGQAs15b7eQpt1MknKgEKD+bJjIiAPzKY9wMZovz3/jgoViVyOnG0JVYFabG5yO7EfGRUwkYavPV 7LscjydQ7SzKBmhazeBChNJ2i+pBAt6sqnbZHbGY2Axd5NxNVy4e03I3dfrosArxp7u/Iqa84ac+u aig2GpwmVGRBOaTmebnVA2af126GHOsPE+wk8iKhF9Jgfz6r/H4Kk8H7LUzRnsMPEyIl/RAWsu05C 8umlrJepA==; Received: from [192.168.71.101] (helo=mail.home.palmen-it.de) by stef.palmen-it.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jspfu-0002Tl-TC for freebsd-virtualization@freebsd.org; Tue, 07 Jul 2020 15:38:26 +0000 Received: from nexus.home.palmen-it.de ([192.168.99.2]) by mail.home.palmen-it.de with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256 (Exim 4.94 (FreeBSD)) (envelope-from ) id 1jspfu-000Cv8-GG for freebsd-virtualization@freebsd.org; Tue, 07 Jul 2020 15:38:26 +0000 Date: Tue, 7 Jul 2020 17:40:25 +0200 From: Felix Palmen To: freebsd-virtualization@freebsd.org Subject: Re: bhyve, Windows guest and trim support Message-ID: <20200707154025.wm6u4abbrz5tesha@nexus.home.palmen-it.de> Mail-Followup-To: freebsd-virtualization@freebsd.org X-Face: /1K@t"h.}e~pR@]c7HorQ!T`F^RJCa'BCr#e>IKA{>C/9OTGB4|xh"y2{?1Z5M i2w"AH^pN_LlHR^{+f',_Np~; .B; !M/bL}*qk]p5*r7F5vW}; {:@4u5S?T&f0$7BJ-71Q5SV]:v$`5 A0[DZ:=?S52x8HJ~5@^P_\T@MsjG{R( Organization: palmen-it.de References: <4e0c7427-8bb4-37d6-b717-181d5c9b66d3@freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="dzbu4rwczftwyi3v" Content-Disposition: inline In-Reply-To: <4e0c7427-8bb4-37d6-b717-181d5c9b66d3@freebsd.org> User-Agent: NeoMutt/20200626 X-Rspamd-Queue-Id: 4B1RRT2mHxz3Vgd X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=palmen-it.de header.s=20200414 header.b=UnfRzr9k; dmarc=pass (policy=none) header.from=palmen-it.de; spf=pass (mx1.freebsd.org: domain of felix@palmen-it.de designates 2001:470:1f0b:bbb:1::1 as permitted sender) smtp.mailfrom=felix@palmen-it.de X-Spamd-Result: default: False [-4.69 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[palmen-it.de:s=20200414]; NEURAL_HAM_MEDIUM(-0.99)[-0.991]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2001:470:1f0b:bbb:1::1]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; TO_DN_NONE(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.001]; RCPT_COUNT_ONE(0.00)[1]; HAS_ORG_HEADER(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; NEURAL_SPAM_SHORT(0.41)[0.405]; DKIM_TRACE(0.00)[palmen-it.de:+]; DMARC_POLICY_ALLOW(-0.50)[palmen-it.de,none]; RCVD_IN_DNSWL_NONE(0.00)[2001:470:1f0b:bbb:1::1:from]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US]; RCVD_TLS_ALL(0.00)[]; DWL_DNSWL_NONE(0.00)[palmen-it.de:dkim] X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.33 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: Tue, 07 Jul 2020 15:38:30 -0000 --dzbu4rwczftwyi3v Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Allan Jude [20200707 10:51]: > I added support for bhyve to understand virtio-blk TRIM messages to > FreeBSD 13 back in April, r360229 Awesome, thanks, I was looking for this as well. The changeset applies almost cleanly to 12.1, only problem are some debug printing macros. As I don't have background knowledge how TRIM works exactly: Should guests that support it automatically free unused space when running on the updated bhyve? Or would I have to do a "clean restart", by creating a new zvol and copying everything over in the guest? > There is a separate patch to teach the FreeBSD virtio-blk driver to send > TRIM commands, it is still in review (needs testing on hypervisors other > than bhyve): >=20 > https://reviews.freebsd.org/D21708 Will need this as well, especially for my ports test-builder VM, as it creates tons of "temporary" data. So, this is already safe to use for a bhyve guest? Or would it make sense to wait for it hitting head? --=20 Dipl.-Inform. Felix Palmen ,.//.......... {web} http://palmen-it.de {jabber} [see email] ,//palmen-it.de {pgp public key} http://palmen-it.de/pub.txt // """"""""""" {pgp fingerprint} A891 3D55 5F2E 3A74 3965 B997 3EF2 8B0A BC02 DA2A --dzbu4rwczftwyi3v Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCAAdFiEEqJE9VV8uOnQ5ZbmXPvKLCrwC2ioFAl8El2MACgkQPvKLCrwC 2ioNFggAt84SwknGOLu+aOLwZ4AyK3x1PRQbIoaberAug+W0P7xjipVvXn0lzatf 2n4L6uzpOhRmR+GdO+Lj1FVE9K6TD0/ZtcFkA9gAs2MvEVVif648el6pdkt+cJIy k5ZL4WMHo5oKF8YCzS4JKcc2YSgcnD01EjtRBKAQqx+tSWwbDRxm9suZZQt8oWMA lnSmErnBBZeroeen7lYiMZp32wuk9welXJzHPT4ABOa/AL/1vK0DPEKmn1/8qt9B +bogPKNhVw/EJ016ZQQzfwZLB+44sC58m9qyVWR1TobyDXhSPqYf52lgqfNlUPCx JqfVvTHKj8PpETIJmZig86s7Eu5Qyg== =L8yZ -----END PGP SIGNATURE----- --dzbu4rwczftwyi3v-- From owner-freebsd-virtualization@freebsd.org Tue Jul 7 16:18:15 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 2CEEF365EF8 for ; Tue, 7 Jul 2020 16:18:15 +0000 (UTC) (envelope-from ml@netfence.it) Received: from soth.netfence.it (net-2-44-121-52.cust.vodafonedsl.it [2.44.121.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mailserver.netfence.it", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4B1SKK2Y01z3YC4 for ; Tue, 7 Jul 2020 16:18:12 +0000 (UTC) (envelope-from ml@netfence.it) Received: from alamar.ventu (alamar.local.netfence.it [10.1.2.18]) (authenticated bits=0) by soth.netfence.it (8.15.2/8.15.2) with ESMTPSA id 067GI6Ut089457 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NO); Tue, 7 Jul 2020 18:18:08 +0200 (CEST) (envelope-from ml@netfence.it) X-Authentication-Warning: soth.netfence.it: Host alamar.local.netfence.it [10.1.2.18] claimed to be alamar.ventu Subject: Re: bhyve, Windows guest and trim support To: freebsd-virtualization@freebsd.org, felix@palmen-it.de References: <4e0c7427-8bb4-37d6-b717-181d5c9b66d3@freebsd.org> <20200707154025.wm6u4abbrz5tesha@nexus.home.palmen-it.de> From: Andrea Venturoli Message-ID: <75f28176-c22a-8742-e86c-d73609cd5463@netfence.it> Date: Tue, 7 Jul 2020 18:18:06 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20200707154025.wm6u4abbrz5tesha@nexus.home.palmen-it.de> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4B1SKK2Y01z3YC4 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=pass (policy=none) header.from=netfence.it; spf=pass (mx1.freebsd.org: domain of ml@netfence.it designates 2.44.121.52 as permitted sender) smtp.mailfrom=ml@netfence.it X-Spamd-Result: default: False [-3.04 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:2.44.121.52]; NEURAL_HAM_LONG(-1.02)[-1.024]; MIME_GOOD(-0.10)[text/plain]; HAS_XAW(0.00)[]; TO_DN_NONE(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-0.25)[-0.253]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[netfence.it,none]; NEURAL_HAM_MEDIUM(-0.96)[-0.960]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:30722, ipnet:2.44.0.0/16, country:IT]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.33 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: Tue, 07 Jul 2020 16:18:15 -0000 On 2020-07-07 17:40, Felix Palmen wrote: > As I don't have background knowledge how TRIM works exactly: Should > guests that support it automatically free unused space when running on > the updated bhyve? Or would I have to do a "clean restart", by creating > a new zvol and copying everything over in the guest? I have yet to try this, but, as I said, I switched temporaly to ahci-hd and used the instructions at the following link to reclaim space (without the need to start a new zvol): https://winaero.com/blog/trim-ssd-windows-10/ Don't know if you are using other OSes, but I guess something similar must exist. HTH bye av. From owner-freebsd-virtualization@freebsd.org Wed Jul 8 20:09:19 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 6937F36DA6F for ; Wed, 8 Jul 2020 20:09:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4B29PW2DYsz3bgF for ; Wed, 8 Jul 2020 20:09:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 4ABD836D8E6; Wed, 8 Jul 2020 20:09:19 +0000 (UTC) Delivered-To: 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 4A83336D9E7 for ; Wed, 8 Jul 2020 20:09:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4B29PW1Lxmz3bgD for ; Wed, 8 Jul 2020 20:09:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 134FB25A2B for ; Wed, 8 Jul 2020 20:09:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 068K9Id5061137 for ; Wed, 8 Jul 2020 20:09:18 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 068K9I9U061136 for virtualization@FreeBSD.org; Wed, 8 Jul 2020 20:09:18 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 229852] [PATCH] bhyve: IOMMU (Intel VTd) PCI passthrough attempt locks up some systems Date: Wed, 08 Jul 2020 20:09:18 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.2-RELEASE X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: emaste@freebsd.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: scottl@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.33 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, 08 Jul 2020 20:09:19 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D229852 --- Comment #24 from Ed Maste --- Author: gordon Date: Wed Jul 8 19:56:34 2020 New Revision: 363022 URL: https://svnweb.freebsd.org/changeset/base/363022 Log: Fix host crash in bhyve with PCI device passthrough. Approved by: so Security: FreeBSD-EN-20:13.bhyve Modified: releng/12.1/sys/amd64/vmm/intel/vtd.c releng/12.1/usr.sbin/bhyve/pci_emul.c releng/12.1/usr.sbin/bhyve/pci_emul.h releng/12.1/usr.sbin/bhyve/pci_passthru.c --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-virtualization@freebsd.org Wed Jul 8 20:09:32 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 329CF36D9EA for ; Wed, 8 Jul 2020 20:09:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4B29Pm0d4yz3bvL for ; Wed, 8 Jul 2020 20:09:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 13E6636D96D; Wed, 8 Jul 2020 20:09:32 +0000 (UTC) Delivered-To: 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 1184D36DD22 for ; Wed, 8 Jul 2020 20:09:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4B29Pl4YZYz3bvG for ; Wed, 8 Jul 2020 20:09:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 7DCCF25B95 for ; Wed, 8 Jul 2020 20:09:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 068K9VIZ061407 for ; Wed, 8 Jul 2020 20:09:31 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 068K9VSY061406 for virtualization@FreeBSD.org; Wed, 8 Jul 2020 20:09:31 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 246647] Request Errata Notice (EN) for bug 229852 and bug 245392 in releng/12.1 Date: Wed, 08 Jul 2020 20:09:30 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 12.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: emaste@freebsd.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: re@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.33 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, 08 Jul 2020 20:09:32 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D246647 --- Comment #18 from Ed Maste --- Author: gordon Date: Wed Jul 8 19:56:34 2020 New Revision: 363022 URL: https://svnweb.freebsd.org/changeset/base/363022 Log: Fix host crash in bhyve with PCI device passthrough. Approved by: so Security: FreeBSD-EN-20:13.bhyve Modified: releng/12.1/sys/amd64/vmm/intel/vtd.c releng/12.1/usr.sbin/bhyve/pci_emul.c releng/12.1/usr.sbin/bhyve/pci_emul.h releng/12.1/usr.sbin/bhyve/pci_passthru.c --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-virtualization@freebsd.org Wed Jul 8 20:09:39 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 5859336D8EB for ; Wed, 8 Jul 2020 20:09:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4B29Pv1bFQz3c5H for ; Wed, 8 Jul 2020 20:09:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 33FE336DD2A; Wed, 8 Jul 2020 20:09:39 +0000 (UTC) Delivered-To: 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 32E4136DD29 for ; Wed, 8 Jul 2020 20:09:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4B29Pt58SFz3cD1 for ; Wed, 8 Jul 2020 20:09:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 77DF825D00 for ; Wed, 8 Jul 2020 20:09:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 068K9cZf061515 for ; Wed, 8 Jul 2020 20:09:38 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 068K9clJ061514 for virtualization@FreeBSD.org; Wed, 8 Jul 2020 20:09:38 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 246647] Request Errata Notice (EN) for bug 229852 and bug 245392 in releng/12.1 Date: Wed, 08 Jul 2020 20:09:37 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 12.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: emaste@freebsd.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: re@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? maintainer-feedback? X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.33 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, 08 Jul 2020 20:09:39 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D246647 Ed Maste changed: What |Removed |Added ---------------------------------------------------------------------------- Status|In Progress |Closed Resolution|--- |FIXED --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-virtualization@freebsd.org Wed Jul 8 20:09:49 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 7948036DE0F for ; Wed, 8 Jul 2020 20:09:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4B29Q52gDFz3c7q for ; Wed, 8 Jul 2020 20:09:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 5B67F36DD9E; Wed, 8 Jul 2020 20:09:49 +0000 (UTC) Delivered-To: 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 5B2CF36D9FA for ; Wed, 8 Jul 2020 20:09:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4B29Q51r9pz3c0r for ; Wed, 8 Jul 2020 20:09:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 229BD25D01 for ; Wed, 8 Jul 2020 20:09:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 068K9md5061656 for ; Wed, 8 Jul 2020 20:09:48 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 068K9mI8061655 for virtualization@FreeBSD.org; Wed, 8 Jul 2020 20:09:48 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 245392] bhyve: PCI passthru built-in rtl8168 to OpenBSD no packets (AMD Ryzen 3 1200) Date: Wed, 08 Jul 2020 20:09:49 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 12.1-RELEASE X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: emaste@freebsd.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: mfc-stable12? mfc-stable11? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.33 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, 08 Jul 2020 20:09:49 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D245392 --- Comment #16 from Ed Maste --- Author: gordon Date: Wed Jul 8 19:56:34 2020 New Revision: 363022 URL: https://svnweb.freebsd.org/changeset/base/363022 Log: Fix host crash in bhyve with PCI device passthrough. Approved by: so Security: FreeBSD-EN-20:13.bhyve Modified: releng/12.1/sys/amd64/vmm/intel/vtd.c releng/12.1/usr.sbin/bhyve/pci_emul.c releng/12.1/usr.sbin/bhyve/pci_emul.h releng/12.1/usr.sbin/bhyve/pci_passthru.c --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Thu Jul 9 04:25:31 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 9CF4C35FCF3 for ; Thu, 9 Jul 2020 04:25:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4B2NQ33mQcz4Vy4 for ; Thu, 9 Jul 2020 04:25:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 7F654360011; Thu, 9 Jul 2020 04:25:31 +0000 (UTC) Delivered-To: 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 7F2D535FF58 for ; Thu, 9 Jul 2020 04:25:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4B2NQ32sCYz4W6L for ; Thu, 9 Jul 2020 04:25:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 45C40BA76 for ; Thu, 9 Jul 2020 04:25:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 0694PVgq005295 for ; Thu, 9 Jul 2020 04:25:31 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0694PVUR005294 for virtualization@FreeBSD.org; Thu, 9 Jul 2020 04:25:31 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 247081] bhyve: Upgrading to Debian guest from 9.x to 10.4 on FreeBSD 12.1p5 host causes IO failure Date: Thu, 09 Jul 2020 04:25:31 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 12.1-RELEASE X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: pi@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: mfc-stable12+ X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.33 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: Thu, 09 Jul 2020 04:25:31 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D247081 --- Comment #5 from Kurt Jaeger --- Is this bug fixed by https://www.freebsd.org/security/advisories/FreeBSD-EN-20:13.bhyve.asc ? --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Fri Jul 10 18:16:29 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 C51C136FC2F for ; Fri, 10 Jul 2020 18:16:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4B3LpP4shzz3Srf for ; Fri, 10 Jul 2020 18:16:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id A5598370018; Fri, 10 Jul 2020 18:16:29 +0000 (UTC) Delivered-To: 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 A51FA36FCBF for ; Fri, 10 Jul 2020 18:16:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4B3LpP3y8Dz3Sm5 for ; Fri, 10 Jul 2020 18:16:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 6B48A25ED1 for ; Fri, 10 Jul 2020 18:16:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 06AIGTh1017825 for ; Fri, 10 Jul 2020 18:16:29 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 06AIGT7C017824 for virtualization@FreeBSD.org; Fri, 10 Jul 2020 18:16:29 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 232084] bhyve crashes with SIGSEGV under NetBSD guest and xhci Date: Fri, 10 Jul 2020 18:16:27 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: markj@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: grehan@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status assigned_to cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.33 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: Fri, 10 Jul 2020 18:16:29 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D232084 Mark Johnston changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |In Progress Assignee|virtualization@FreeBSD.org |grehan@FreeBSD.org CC| |markj@FreeBSD.org --- Comment #2 from Mark Johnston --- Fixed in head by r363070. --=20 You are receiving this mail because: You are the assignee for the bug.=