Name Date Size #Lines LOC

..--

test/H--1,436818

MakefileH A D22-Dec-20233.8 KiB189131

README.licenseH A D30-Jul-2020382 65

README.syncH A D22-Dec-20231.6 KiB4029

THIRDPARTYLICENSEH A D22-Dec-20231.3 KiB2721

THIRDPARTYLICENSE.descripH A D19-Jun-202017 21

acpi.cH A D22-Dec-202320.1 KiB776560

acpi.hH A D22-Dec-20232.4 KiB7130

acpi_device.cH A D22-Dec-20234.6 KiB214156

acpi_device.hH A D22-Dec-20231.9 KiB6023

ahci.hH A D22-Dec-202310.7 KiB323254

atkbdc.cH A D22-Dec-202314.1 KiB586462

atkbdc.hH A D22-Dec-20231.5 KiB377

audio.cH A D22-Dec-20236.8 KiB281179

audio.hH A D22-Dec-20232.9 KiB8715

basl.cH A D22-Dec-202317.3 KiB737552

basl.hH A D22-Dec-20234.8 KiB133103

bhyve_sol_glue.cH A D11-Jun-20201.1 KiB4117

bhyvegc.cH A D22-Dec-20233.1 KiB12377

bhyvegc.hH A D22-Dec-20231.9 KiB5420

bhyverun.cH A D22-Dec-202341.1 KiB1,7741,406

bhyverun.hH A D22-Dec-20232.3 KiB6617

block_if.cH A D22-Dec-202325.9 KiB1,228959

block_if.hH A D22-Dec-20233.5 KiB8941

bootrom.cH A D22-Dec-20238 KiB320232

bootrom.hH A D22-Dec-20231.8 KiB5117

config.cH A D22-Dec-202310.7 KiB477366

config.hH A D22-Dec-20234.6 KiB13026

console.cH A D22-Dec-20233 KiB12074

console.hH A D22-Dec-20232.2 KiB5416

crc16.cH A D22-Dec-20233.6 KiB6736

crc16.hH A D22-Dec-20231.7 KiB4714

debug.hH A D22-Dec-20231.7 KiB4613

e820.cH A D22-Dec-202310.4 KiB463281

e820.hH A D22-Dec-20231 KiB4627

fwctl.cH A D22-Dec-202310.5 KiB586417

fwctl.hH A D22-Dec-20231.8 KiB5517

gdb.cH A D22-Dec-202340.2 KiB1,9901,517

gdb.hH A D22-Dec-20231.7 KiB4111

hda_codec.cH A D22-Dec-202324.5 KiB948718

hda_reg.hH A D22-Dec-202357.8 KiB1,3681,103

hdac_reg.hH A D22-Dec-202310.9 KiB270179

hexdump.cH A D22-Dec-20233 KiB9750

hexdump.hH A D22-Dec-20232.2 KiB519

inout.cH A D22-Dec-20235 KiB213127

inout.hH A D22-Dec-20233.1 KiB9842

ioapic.cH A D22-Dec-20232.4 KiB8333

ioapic.hH A D22-Dec-20231.6 KiB426

iov.cH A D22-Dec-20233.5 KiB15396

iov.hH A D22-Dec-20231.9 KiB4310

kernemu_dev.cH A D22-Dec-20232.9 KiB9862

kernemu_dev.hH A D22-Dec-20231.4 KiB312

mem.cH A D22-Dec-20239.2 KiB388258

mem.hH A D22-Dec-20232.2 KiB6427

mevent.cH A D22-Dec-202318.4 KiB917635

mevent.hH A D22-Dec-20232.1 KiB6226

mevent_test.cH A D22-Dec-20235.6 KiB279186

mptbl.cH A D22-Dec-20239.4 KiB378256

mptbl.hH A D22-Dec-20231.5 KiB365

net_backends.cH A D22-Dec-202333.7 KiB1,5391,065

net_backends.hH A D22-Dec-20234.3 KiB9753

net_utils.cH A D22-Dec-20233.1 KiB12369

net_utils.hH A D22-Dec-20231.7 KiB398

pci_ahci.cH A D22-Dec-202358.7 KiB2,6042,156

pci_e82545.cH A D22-Dec-202360.4 KiB2,4261,965

pci_emul.cH A D22-Dec-202360.9 KiB2,5841,888

pci_emul.hH A D22-Dec-20238.8 KiB310227

pci_fbuf.cH A D22-Dec-202310.8 KiB485358

pci_hda.cH A D22-Dec-202330.2 KiB1,293956

pci_hda.hH A D22-Dec-20232.8 KiB9350

pci_hostbridge.cH A D22-Dec-20235.4 KiB178115

pci_irq.cH A D22-Dec-20239.1 KiB360273

pci_irq.hH A D22-Dec-20231.8 KiB4613

pci_lpc.cH A D22-Dec-202314.7 KiB637487

pci_lpc.hH A D22-Dec-20232.4 KiB7637

pci_nvme.cH A D22-Dec-202387 KiB3,3862,589

pci_passthru.cH A D22-Dec-202329.8 KiB1,203896

pci_passthru.hH A D22-Dec-20231 KiB3218

pci_uart.cH A D22-Dec-20233.4 KiB13174

pci_virtio_9p.cH A D22-Dec-202310.5 KiB401308

pci_virtio_block.cH A D22-Dec-202316.7 KiB600399

pci_virtio_console.cH A D22-Dec-202318.1 KiB784615

pci_virtio_input.cH A D22-Dec-202318.7 KiB777547

pci_virtio_net.cH A D22-Dec-202318.2 KiB772478

pci_virtio_rnd.cH A D22-Dec-20235 KiB209121

pci_virtio_scsi.cH A D22-Dec-202320.7 KiB773611

pci_virtio_viona.cH A D22-Dec-202328.9 KiB1,199888

pci_xhci.cH A D22-Dec-202376.1 KiB2,9772,225

pci_xhci.hH A D22-Dec-202312.7 KiB354302

pctestdev.cH A D22-Dec-20236.2 KiB262184

pctestdev.hH A D22-Dec-20231.6 KiB416

pm.cH A D22-Dec-202310.7 KiB455296

post.cH A D22-Dec-20231.8 KiB5317

privileges.cH A D23-Apr-20215.6 KiB192119

privileges.hH A D23-Apr-2021818 2910

ps2kbd.cH A D22-Dec-202313.2 KiB501400

ps2kbd.hH A D22-Dec-20231.6 KiB407

ps2mouse.cH A D22-Dec-20239.2 KiB420331

ps2mouse.hH A D22-Dec-20231.8 KiB429

qemu_fwcfg.cH A D22-Dec-202316.3 KiB655498

qemu_fwcfg.hH A D22-Dec-2023680 3217

qemu_loader.cH A D22-Dec-20237.5 KiB301241

qemu_loader.hH A D22-Dec-20232.8 KiB7817

rfb.cH A D22-Dec-202337.8 KiB1,5611,152

rfb.hH A D22-Dec-20231.7 KiB406

rfb_impl.hH A D16-Mar-20225.8 KiB253176

rtc.cH A D22-Dec-20233.7 KiB15289

rtc.hH A D22-Dec-20231.5 KiB354

smbiostbl.cH A D22-Dec-202332.1 KiB1,101857

smbiostbl.hH A D22-Dec-20231.6 KiB459

sockstream.cH A D22-Dec-20232.2 KiB9252

sockstream.hH A D22-Dec-20231.5 KiB344

spinup_ap.cH A D22-Dec-20233 KiB10344

spinup_ap.hH A D22-Dec-20231.5 KiB354

task_switch.cH A D22-Dec-202328.7 KiB1,096676

tpm_device.cH A D22-Dec-20235.4 KiB276213

tpm_device.hH A D22-Dec-2023408 218

tpm_emul.hH A D22-Dec-2023494 2512

tpm_emul_passthru.cH A D22-Dec-20232 KiB11284

tpm_intf.hH A D22-Dec-2023969 4125

tpm_intf_crb.cH A D22-Dec-202314.8 KiB588453

tpm_ppi.hH A D22-Dec-2023405 2110

tpm_ppi_qemu.cH A D22-Dec-202312.2 KiB477280

uart_emul.cH A D22-Dec-202320.3 KiB975693

uart_emul.hH A D22-Dec-20231.8 KiB4612

usb_emul.cH A D22-Dec-20232.3 KiB7839

usb_emul.hH A D22-Dec-20234.6 KiB16495

usb_mouse.cH A D22-Dec-202319.3 KiB807644

vga.cH A D22-Dec-202333.7 KiB1,3571,135

vga.hH A D22-Dec-20235.3 KiB161112

virtio.cH A D22-Dec-202321.8 KiB813510

virtio.hH A D22-Dec-202315.9 KiB448167

virtio_net.hH A D17-Feb-20231.5 KiB6425

vmgenc.cH A D22-Dec-20233.2 KiB11972

vmgenc.hH A D22-Dec-20231.5 KiB303

xmsr.cH A D22-Dec-20235.8 KiB262162

xmsr.hH A D22-Dec-20231.5 KiB376

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 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