15325 bhyve upstream sync 2023 January
[illumos-gate.git] / usr / src / cmd / bhyve / README.sync
blob1044f74274e725e370e327d5117164ce6d3e5bbd
1 Git commit hashes in this file refer to the official FreeBSD distributed
2 public Git repository at https://git.freebsd.org/src.git
4 The bhyve userland code in this directory, and its associated libraries and
5 parts of the kernel module have been updated to the latest upstream FreeBSD
6 sources as of:
8     commit e53fcff1848bb5acafc3dc38cfeb34724d9b0b96
9     Author: John Baldwin <jhb@FreeBSD.org>
10     Date:   Wed Dec 21 10:33:34 2022 -0800
12         bhyve: Simplify spinup_ap_realmode slightly.
14 Divergence Notes:
16 The kernel component of bhyve has diverged from the FreeBSD sources and
17 will continue to evolve away from the initial compatibility interfaces towards
18 native illumos ones. The vmmapi library abstracts those interfaces wherever
19 possible so that the bhyve userspace can remain close to upstream.
21 The source code for the following components is present and included in
22 syncs from FreeBSD, but currently disabled. See the comments in 'Makefile'
23 for more details:
25         kernemu_dev
26         virtio-scsi
27         audio backend
28         virtio_input
30 The draft Save/Restore functionality, added in FreeBSD commit
31 483d953a86a2507355f8287c5107dc827a0ff516, has not been synced into illumos bhyve
32 yet.  It is not built by default in FreeBSD, so we're not interested in taking
33 it until it successfully endures more in-depth testing.
35 The stub usr/src/compat/bhyve/stdatomic.h file only includes enough glue
36 to satisfy the use of <stdatomic.h> in usr/src/cmd/bhyve/rfb.c, and in
37 particular assumes that atomic variables are sized as an int. If other bhyve
38 pieces start using stdatomic.h, this will need enhancing.