bhyve, Windows guest and trim support

Felix Palmen felix at palmen-it.de
Tue Jul 7 15:38:30 UTC 2020


* Allan Jude <allanjude at 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):
> 
> 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?

-- 
 Dipl.-Inform. Felix Palmen  <felix at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-virtualization/attachments/20200707/1467fa77/attachment.sig>


More information about the freebsd-virtualization mailing list