OPNsense - FreeBSD source
Find a file
Mark Johnston ddd241d221 vmm: Deduplicate VM and vCPU state management code
Now that the machine-independent fields of struct vm and struct vcpu are
available in a header, we can move lots of duplicated code into
sys/dev/vmm/vmm_vm.c.  This change does exactly that.

No functional change intended.

MFC after:	2 months
Sponsored by:	The FreeBSD Foundation
Sponsored by:	Klara, Inc.
Differential Revision:	https://reviews.freebsd.org/D53585

(cherry picked from commit ed85203fb7a0334041db6da07e45ddda4caef13d)
2026-03-31 15:57:29 +00:00
.cirrus-ci Cirrus-CI: add some timing info on pkg install failure 2021-08-04 15:02:00 -04:00
.github capsicum-test: Move out of contrib 2026-02-06 11:15:09 -05:00
bin ps(1): Sort headers 2026-02-19 13:28:49 +01:00
cddl ctfmerge: fix segfault when building on macOS 2025-12-15 14:22:54 -08:00
contrib rallocx path: only set errno on the realloc case. 2026-03-13 09:13:16 +00:00
crypto krb5: Make the build a bit quieter 2026-03-31 15:57:28 +00:00
etc yes: Add tests 2026-03-22 17:32:40 +00:00
gnu diff3: Move to own package 2025-10-03 09:52:43 -07:00
include sys: add renameat2(2) syscall 2026-03-10 13:41:31 +02:00
kerberos5 heimdal-kadmin: Add support for the -f dump option 2025-10-07 18:47:21 -07:00
krb5 krb5: Make the build a bit quieter 2026-03-31 15:57:28 +00:00
lib dup(2): document the handling of filedescriptor flags 2026-03-31 07:07:17 +03:00
libexec nuageinit.7: fix cloud-config header line 2026-03-20 12:32:57 -04:00
release EC2: Remove stale comment 2026-03-23 10:29:01 -07:00
rescue nvmf: Switch several ioctls to using nvlists 2024-12-30 13:52:21 -05:00
sbin pfctl: parser must not ignore error from pfctl_optimize_ruleset() 2026-03-30 17:07:22 +02:00
secure OpenSSL: install EVP_CIPHER_CTX_get_app_data.3 once 2026-02-23 14:46:42 -05:00
share DEVICE_IDENTIFY.9: Fix function call to detect driver in example code 2026-03-30 11:36:07 +02:00
stand loader: Fix powerpc64le by working around slof bug in qemu/slof 2026-03-30 05:01:40 -06:00
sys vmm: Deduplicate VM and vCPU state management code 2026-03-31 15:57:29 +00:00
targets blocklist: Rename blacklist to blocklist 2025-10-14 00:53:16 +00:00
tests ndp tests: Fix flakiness in ndp_slaac_default_route 2026-03-31 15:57:28 +00:00
tools OptionalObsoleteFiles: Don't mark /usr/lib/debug/boot directory obsolete 2026-03-31 15:57:29 +00:00
usr.bin netstat(1): Fix expire column in -r flag using netlink 2026-03-26 12:42:13 +03:30
usr.sbin bhyve: Fix unchecked stream I/O in RFB handler 2026-03-31 15:57:29 +00:00
.arcconfig arcanist: use FreeBSD/git project repository instead of FreeBSD/svn 2022-08-23 14:16:41 +00:00
.arclint arc lint: ignore /tests/ in chmod 2017-12-19 03:38:06 +00:00
.cirrus.yml Cirrus-CI: Switch back to tzst packages, but use level 1 2025-10-14 20:47:10 -04:00
.clang-format clang-format: adjust to sort C++ headers per style(9) 2026-02-21 19:44:24 -08:00
.clean_build_epoch build: introduce the notion of a build epoch 2025-08-14 23:43:42 -05:00
.git-blame-ignore-revs git-blame-ignore-revs: witness white space cleanup and style(9) tweeks 2025-08-29 18:01:43 +08:00
.gitattributes Remove SVN related Git attributes 2023-12-26 10:28:28 -07:00
.gitignore src.sys.mk: Support src.conf in SRCTOP 2025-09-16 13:27:43 +00:00
.mailmap mailmap: Add Joyu Liao 2025-06-26 14:13:21 +02:00
CONTRIBUTING.md CONTRIBUTING: Tweak the language 2025-08-08 11:16:13 -06:00
COPYRIGHT copyright: Happy New Year 2025 2025-01-01 00:04:28 +00:00
LOCKS Update LOCKS for Git 2023-12-26 10:28:25 -07:00
MAINTAINERS capsicum-test: Move out of contrib 2026-02-06 11:15:09 -05:00
Makefile Makefile: Update doxygen requirements 2026-02-05 16:49:54 -05:00
Makefile.inc1 packages: Don't create empty packages 2026-03-12 01:38:01 +00:00
Makefile.libcompat Makefile.libcompat: Use same PATH for _lc_build-tools as _build-tools 2025-08-22 21:46:15 +01:00
Makefile.sys.inc Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
ObsoleteFiles.inc ObsoleteFiles.inc: revert accidental merge failure 2026-03-04 18:56:30 +01:00
README.md Update README.md to add pointer to release page. 2024-05-09 20:40:46 -06:00
RELNOTES RELNOTES: Add entry for 0c370a416b 2026-02-12 12:47:53 -07:00
UPDATING UPDATING: Add an entry for f27afc4765 2025-11-23 12:39:46 -08:00

FreeBSD Source:

This is the top level of the FreeBSD source directory.

FreeBSD is an operating system used to power modern servers, desktops, and embedded platforms. A large community has continually developed it for more than thirty years. Its advanced networking, security, and storage features have made FreeBSD the platform of choice for many of the busiest web sites and most pervasive embedded networking and storage devices.

For copyright information, please see the file COPYRIGHT in this directory. Additional copyright information also exists for some sources in this tree - please see the specific source directories for more information.

The Makefile in this directory supports a number of targets for building components (or all) of the FreeBSD source tree. See build(7), config(8), FreeBSD handbook on building userland, and Handbook for kernels for more information, including setting make(1) variables.

For information on the CPU architectures and platforms supported by FreeBSD, see the FreeBSD website's Platforms page.

For official FreeBSD bootable images, see the release page.

Source Roadmap:

Directory Description
bin System/user commands.
cddl Various commands and libraries under the Common Development and Distribution License.
contrib Packages contributed by 3rd parties.
crypto Cryptography stuff (see crypto/README).
etc Template files for /etc.
gnu Commands and libraries under the GNU General Public License (GPL) or Lesser General Public License (LGPL). Please see gnu/COPYING and gnu/COPYING.LIB for more information.
include System include files.
kerberos5 Kerberos5 (Heimdal) package.
lib System libraries.
libexec System daemons.
release Release building Makefile & associated tools.
rescue Build system for statically linked /rescue utilities.
sbin System commands.
secure Cryptographic libraries and commands.
share Shared resources.
stand Boot loader sources.
sys Kernel sources (see sys/README.md).
targets Support for experimental DIRDEPS_BUILD
tests Regression tests which can be run by Kyua. See tests/README for additional information.
tools Utilities for regression testing and miscellaneous tasks.
usr.bin User commands.
usr.sbin System administration commands.

For information on synchronizing your source tree with one or more of the FreeBSD Project's development branches, please see FreeBSD Handbook.