xref: /illumos-gate/usr/src/cmd/bhyve/README.sync (revision a4955f4fa65e38d70c07d38e657a9aff43fa155f)
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 fa46f3704b7618f9d9493c126df781faf59040a8
9    Author: John Baldwin <jhb@FreeBSD.org>
10    Date:   Wed Aug 17 10:01:16 2022 -0700
11
12        bhyve e1000: Skip packets with a small header.
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