xref: /illumos-gate/usr/src/cmd/bhyve/README.sync (revision e3ae4b35c024af1196582063ecee3ab79367227d)
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 e53fcff1848bb5acafc3dc38cfeb34724d9b0b96
9    Author: John Baldwin <jhb@FreeBSD.org>
10    Date:   Wed Dec 21 10:33:34 2022 -0800
11
12        bhyve: Simplify spinup_ap_realmode slightly.
13
14Divergence Notes:
15
16The kernel component of bhyve has diverged from the FreeBSD sources and
17will continue to evolve away from the initial compatibility interfaces towards
18native illumos ones. The vmmapi library abstracts those interfaces wherever
19possible so that the bhyve userspace can remain close to upstream.
20
21The source code for the following components is present and included in
22syncs from FreeBSD, but currently disabled. See the comments in 'Makefile'
23for more details:
24
25	kernemu_dev
26	virtio-scsi
27	audio backend
28	virtio_input
29
30The draft Save/Restore functionality, added in FreeBSD commit
31483d953a86a2507355f8287c5107dc827a0ff516, has not been synced into illumos bhyve
32yet.  It is not built by default in FreeBSD, so we're not interested in taking
33it until it successfully endures more in-depth testing.
34
35The stub usr/src/compat/bhyve/stdatomic.h file only includes enough glue
36to satisfy the use of <stdatomic.h> in usr/src/cmd/bhyve/rfb.c, and in
37particular assumes that atomic variables are sized as an int. If other bhyve
38pieces start using stdatomic.h, this will need enhancing.
39
40