freebsd-src/lib/libvmmapi
Bojan Novković bd16bac27e vmm: Add ability to destroy VMs on close
This change adds the ability to tie a virtual machine's lifecycle to
a /dev/vmmctl file descriptor. A user can request `vmmctl` to destroy a
virtual machine on close using the `VMMCTL_CREATE_DESTROY_ON_CLOSE` flag
when creating the virtual machine. `vmmctl` tracks such virtual machines
in per-descriptor lists.

Differential Revision:	https://reviews.freebsd.org/D53729
Reviewed by:	markj
Sponsored by:   The FreeBSD Foundation
Sponsored by:   Klara, Inc.
MFC after:	3 months
2025-12-17 15:08:32 +01:00
..
aarch64 libvmmapi: Make vm_raise_msi() a common function 2024-04-10 11:17:56 -04:00
amd64 libvmmapi: Conditionalize compilation of some functions 2024-04-10 11:17:56 -04:00
riscv riscv vmm: add SSTC extension check. 2024-12-17 10:35:44 +00:00
internal.h libvmmapi: Add support for setting up and configuring guest NUMA domains 2025-07-27 18:31:48 +02:00
Makefile vmm: Add support for guest NUMA emulation 2025-07-27 18:31:48 +02:00
Makefile.depend Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
ppt.c libvmmapi: Move PCI passthrough ioctl wrappers into a separate file 2024-04-10 11:17:56 -04:00
vmmapi.c vmm: Add ability to destroy VMs on close 2025-12-17 15:08:32 +01:00
vmmapi.h vmm: Add ability to destroy VMs on close 2025-12-17 15:08:32 +01:00