README.license
1Having been ported from FreeBSD, bhyve bears the BSD license. Subsequent
2changes made to bhyve in illumos are dual-licensed under both the BSD license
3and the CDDL. Use or redistribution of those subsequent changes may be done
4under either license. The CDDL license header added to bhyve source files is
5meant to cover only those dual-licensed modifications, not the entire file.
6
README.sync
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 a305f44d1404fbf386bb2b50ab7233ce9eabe0bb
9 Author: Ed Maste <emaste@FreeBSD.org>
10 Date: Thu Sep 19 14:57:42 2024 -0400
11
12 bhyve: validate corb->wp to avoid infinite loop
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