opnsense-src/lib/libvmmapi
Mark Johnston 23a28fe777 libvmmapi: Fix auto-loading of vmm.ko
- We should autoload vmm.ko when creating a VM with vm_openf(), to
  preserve behaviour prior to commit 99127fd103.
- kldload(2) returns a non-zero value upon success, so the existing code
  was wrong.

Reviewed by:	jhb
Reported by:	olivier
Fixes:		99127fd103 ("libvmmapi: Use the vmmctl device file to create and destroy VMs")
Differential Revision:	https://reviews.freebsd.org/D48797
2025-02-06 16:25:42 +00: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: Use the vmmctl device file to create and destroy VMs 2024-11-05 01:40:41 +00:00
Makefile libvmmapi: Conditionalize compilation of some functions 2024-04-10 11:17:56 -04: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 libvmmapi: Fix auto-loading of vmm.ko 2025-02-06 16:25:42 +00:00
vmmapi.h libvmmapi: Use the vmmctl device file to create and destroy VMs 2024-11-05 01:40:41 +00:00