xref: /illumos-gate/usr/src/cmd/bhyve/README.sync (revision 08855964b9970604433f7b19dcd71cf5af5e5f14)
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 6f7e9779fcb196e2d66720e1b97de89b69677208
9    Author: Corvin Köhne <corvink@FreeBSD.org>
10    Date:   Wed Jul 27 14:47:54 2022 +0200
11
12        bhyve: add config option to load ACPI tables into memory
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