summaryrefslogtreecommitdiff
path: root/usr/src/cmd/bhyve/README.sync
blob: 8175237b32310231eb2157a5eee084396c019b58 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
Git commit hashes in this file refer to the official FreeBSD distributed
public Git repository at https://git.freebsd.org/src.git

The bhyve userland code in this directory, and its associated libraries and
parts of the kernel module have been updated to the latest upstream FreeBSD
sources as of:

    commit fa46f3704b7618f9d9493c126df781faf59040a8
    Author: John Baldwin <jhb@FreeBSD.org>
    Date:   Wed Aug 17 10:01:16 2022 -0700

        bhyve e1000: Skip packets with a small header.

Divergence Notes:

The kernel component of bhyve has diverged from the FreeBSD sources and
will continue to evolve away from the initial compatibility interfaces towards
native illumos ones. The vmmapi library abstracts those interfaces wherever
possible so that the bhyve userspace can remain close to upstream.

The source code for the following components is present and included in
syncs from FreeBSD, but currently disabled. See the comments in 'Makefile'
for more details:

	kernemu_dev
	virtio-scsi
	audio backend
	virtio_input

The draft Save/Restore functionality, added in FreeBSD commit
483d953a86a2507355f8287c5107dc827a0ff516, has not been synced into illumos bhyve
yet.  It is not built by default in FreeBSD, so we're not interested in taking
it until it successfully endures more in-depth testing.

The stub usr/src/compat/bhyve/stdatomic.h file only includes enough glue
to satisfy the use of <stdatomic.h> in usr/src/cmd/bhyve/rfb.c, and in
particular assumes that atomic variables are sized as an int. If other bhyve
pieces start using stdatomic.h, this will need enhancing.