xref: /illumos-gate/usr/src/cmd/bhyve/README.sync (revision 38aced4fb3d60e34a44207b22d0b0dd4909bf4d1)
1Git commit hashes in this file refer to the official FreeBSD distributed
2public Git repository at https://git.freebsd.org/src.git
3
4The bhyve userland code in this directory, and its associated libraries and
5parts of the kernel module have been updated to the latest upstream FreeBSD
6sources as of:
7
8    commit 3ebe1109348f53f64b395293578416abedef4090
9    Author: Robert Wing <rew@FreeBSD.org>
10    Date:   Thu Mar 17 21:55:52 2022 -0800
11
12        bhyve: sweep MAX_VMNAME
13
14        MAX_VMNAME is no longer used.
15
16Divergence Notes:
17
18The kernel component of bhyve has diverged from the FreeBSD sources and
19will continue to evolve away from the initial compatibility interfaces towards
20native illumos ones. The vmmapi library abstracts those interfaces wherever
21possible so that the bhyve userspace can remain close to upstream.
22
23The source code for the following components is present and included in
24syncs from FreeBSD, but currently disabled. See the comments in 'Makefile'
25for more details:
26
27	kernemu_dev
28	virtio-scsi
29	audio backend
30	virtio_input
31
32The draft Save/Restore functionality, added in FreeBSD commit
33483d953a86a2507355f8287c5107dc827a0ff516, has not been synced into illumos bhyve
34yet.  It is not built by default in FreeBSD, so we're not interested in taking
35it until it successfully endures more in-depth testing.
36
37The stub usr/src/compat/bhyve/stdatomic.h file only includes enough glue
38to satisfy the use of <stdatomic.h> in usr/src/cmd/bhyve/rfb.c, and in
39particular assumes that atomic variables are sized as an int. If other bhyve
40pieces start using stdatomic.h, this will need enhancing.
41
42