Name Date Size #Lines LOC



MakefileH A D10-Dec-20214 KiB185122

README.licenseH A D14-Feb-2021382 65

README.syncH A D10-Dec-20211.2 KiB3525


THIRDPARTYLICENSE.descripH A D14-Feb-202117 21

acpi.cH A D14-Feb-202129.9 KiB1,012753

acpi.hH A D14-Feb-20212.3 KiB7028

ahci.hH A D14-Feb-202110.7 KiB325254

atkbdc.cH A D14-Feb-202114.1 KiB587463

atkbdc.hH A D14-Feb-20211.6 KiB397

audio.cH A D14-Feb-20216.8 KiB286182

audio.hH A D14-Feb-20212.9 KiB8915

bhyve_sol_glue.cH A D14-Feb-20211.1 KiB4117

bhyvegc.cH A D14-Feb-20212.8 KiB10460

bhyvegc.hH A D14-Feb-20211.8 KiB4914

bhyverun.cH A D10-Dec-202140.3 KiB1,7451,367

bhyverun.hH A D10-Dec-20212.3 KiB6416

block_if.cH A D10-Dec-202124.6 KiB1,177908

block_if.hH A D10-Dec-20213.4 KiB8939

bootrom.cH A D14-Feb-20214.9 KiB182122

bootrom.hH A D14-Feb-20211.8 KiB5116

config.cH A D10-Dec-20219.7 KiB440346

config.hH A D10-Dec-20214.3 KiB12022

console.cH A D10-Dec-20213 KiB12175

console.hH A D10-Dec-20212.2 KiB5616

debug.hH A D14-Feb-20211.7 KiB4813

fwctl.cH A D14-Feb-20219.7 KiB553394

fwctl.hH A D14-Feb-20211.9 KiB5717

gdb.cH A D10-Dec-202139.7 KiB1,9771,504

gdb.hH A D10-Dec-20211.7 KiB4311

hda_codec.cH A D10-Dec-202124.5 KiB951719

hda_reg.hH A D14-Feb-202157.8 KiB1,3701,103

hdac_reg.hH A D14-Feb-202111 KiB272179

inout.cH A D10-Dec-20215.1 KiB216128

inout.hH A D10-Dec-20213.1 KiB9941

ioapic.cH A D14-Feb-20212.5 KiB8434

ioapic.hH A D14-Feb-20211.6 KiB446

iov.cH A D14-Feb-20213.5 KiB15497

iov.hH A D14-Feb-20211.9 KiB4510

kernemu_dev.cH A D14-Feb-20213 KiB9963

kernemu_dev.hH A D14-Feb-20211.4 KiB332

mem.cH A D10-Dec-20219.2 KiB384251

mem.hH A D14-Feb-20212.3 KiB6829

mevent.cH A D10-Dec-202117.7 KiB887616

mevent.hH A D10-Dec-20212.2 KiB6426

mevent_test.cH A D10-Dec-20215.6 KiB281186

mptbl.cH A D14-Feb-20219.4 KiB381257

mptbl.hH A D14-Feb-20211.5 KiB385

net_backends.cH A D10-Dec-202133.7 KiB1,5321,062

net_backends.hH A D10-Dec-20214.3 KiB9953

net_utils.cH A D10-Dec-20213.1 KiB12470

net_utils.hH A D10-Dec-20211.7 KiB418

pci_ahci.cH A D10-Dec-202158.5 KiB2,5952,148

pci_e82545.cH A D10-Dec-202159.3 KiB2,3821,931

pci_emul.cH A D10-Dec-202152.7 KiB2,2431,641

pci_emul.hH A D10-Dec-20218.4 KiB303218

pci_fbuf.cH A D10-Dec-202111.4 KiB498362

pci_hda.cH A D10-Dec-202130.2 KiB1,293956

pci_hda.hH A D10-Dec-20212.7 KiB9348

pci_hostbridge.cH A D10-Dec-20215.1 KiB171106

pci_irq.cH A D14-Feb-20219.2 KiB355268

pci_irq.hH A D14-Feb-20211.9 KiB4813

pci_lpc.cH A D10-Dec-202111.5 KiB512387

pci_lpc.hH A D14-Feb-20212.4 KiB7736

pci_nvme.cH A D10-Dec-202174 KiB2,8742,177

pci_passthru.cH A D10-Dec-202123.7 KiB1,001749

pci_uart.cH A D10-Dec-20213.5 KiB13676

pci_virtio_9p.cH A D10-Dec-202110.5 KiB400306

pci_virtio_block.cH A D10-Dec-202116.7 KiB599395

pci_virtio_console.cH A D10-Dec-202118.2 KiB787617

pci_virtio_input.cH A D10-Dec-202119 KiB783551

pci_virtio_net.cH A D10-Dec-202118.3 KiB776480

pci_virtio_rnd.cH A D10-Dec-20215.2 KiB212124

pci_virtio_scsi.cH A D10-Dec-202120 KiB744583

pci_virtio_viona.cH A D10-Dec-202119.4 KiB848658

pci_xhci.cH A D10-Dec-202175.5 KiB2,9512,199

pci_xhci.hH A D14-Feb-202113 KiB356302

pctestdev.cH A D10-Dec-20216.2 KiB262184

pctestdev.hH A D10-Dec-20211.6 KiB436

pm.cH A D14-Feb-202110.6 KiB456297

post.cH A D14-Feb-20211.8 KiB5618

privileges.cH A D10-Dec-20215.6 KiB192119

privileges.hH A D10-Dec-2021818 2910

ps2kbd.cH A D10-Dec-202111 KiB411330

ps2kbd.hH A D14-Feb-20211.7 KiB427

ps2mouse.cH A D14-Feb-20219.2 KiB420331

ps2mouse.hH A D14-Feb-20211.8 KiB449

rfb.cH A D10-Dec-202130.7 KiB1,3811,059

rfb.hH A D10-Dec-20211.9 KiB4812

rtc.cH A D10-Dec-20213.4 KiB13371

rtc.hH A D10-Dec-20211.5 KiB374

smbiostbl.cH A D10-Dec-202129 KiB1,025806

smbiostbl.hH A D10-Dec-20211.7 KiB479

sockstream.cH A D14-Feb-20212.2 KiB8746

sockstream.hH A D14-Feb-20211.5 KiB364

spinup_ap.cH A D14-Feb-20213.8 KiB14064

spinup_ap.hH A D14-Feb-20211.6 KiB418

task_switch.cH A D14-Feb-202129.4 KiB1,098678

uart_emul.cH A D10-Dec-202120.3 KiB977693

uart_emul.hH A D10-Dec-20211.9 KiB4812

usb_emul.cH A D10-Dec-20212.3 KiB7940

usb_emul.hH A D10-Dec-20214.7 KiB16695

usb_mouse.cH A D10-Dec-202119.3 KiB808645

vga.cH A D14-Feb-202133.9 KiB1,3581,136

vga.hH A D14-Feb-20215.3 KiB163112

virtio.cH A D10-Dec-202121.9 KiB816512

virtio.hH A D10-Dec-202116 KiB446165

vmgenc.cH A D14-Feb-20213.3 KiB12073

vmgenc.hH A D14-Feb-20211.5 KiB323

xmsr.cH A D10-Dec-20215.8 KiB264162

xmsr.hH A D14-Feb-20211.6 KiB396


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.


1Git commit hashes in this file refer to the official FreeBSD distributed
2public Git repository at
4The bhyve kernel module and its associated userland consumers have been updated
5to the latest upstream FreeBSD sources as of:
7	commit 5ac4ac85ca20ce1f00c84502a65a3291bf416c18
8	Author: John Baldwin <>
9	Date:   Wed Sep 15 09:03:17 2021 -0700
11	    Remove an always-true check.
12	    This fixes a -Wtype-limits error from GCC 9.
14Divergence Notes:
16The source code for the following components is present and included in
17syncs from FreeBSD, but currently disabled. See the comments in 'Makefile'
18for more details:
20	kernemu_dev
21	virtio-scsi
22	audio backend
23	virtio_input
25The draft Save/Restore functionality, added in FreeBSD commit
26483d953a86a2507355f8287c5107dc827a0ff516, has not been synced into illumos bhyve
27yet.  It is not built by default in FreeBSD, so we're not interested in taking
28it until it successfully endures more in-depth testing.
30The stub usr/src/compat/bhyve/stdatomic.h file only includes enough glue
31to satisfy the use of <stdatomic.h> in usr/src/cmd/bhyve/rfb.c, and in
32particular assumes that atomic variables are sized as an int. If other bhyve
33pieces start using stdatomic.h, this will need enhancing.