Date: Tue, 7 Jul 2020 17:40:25 +0200 From: Felix Palmen <felix@palmen-it.de> To: freebsd-virtualization@freebsd.org Subject: Re: bhyve, Windows guest and trim support Message-ID: <20200707154025.wm6u4abbrz5tesha@nexus.home.palmen-it.de> In-Reply-To: <4e0c7427-8bb4-37d6-b717-181d5c9b66d3@freebsd.org> References: <e15ba239-9a73-2821-1f42-1700d74d031b@netfence.it> <4e0c7427-8bb4-37d6-b717-181d5c9b66d3@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--dzbu4rwczftwyi3v Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Allan Jude <allanjude@freebsd.org> [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 <felix@palmen-it.de> ,.//.......... {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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200707154025.wm6u4abbrz5tesha>