opnsense-src/sys/dev/vmm
Mark Johnston 4a46ece6c6 vmm: Fix error handling in vmm_handler()
In commit a97f683fe3 I didn't add code to remove the vmmctl device
when vmm.ko is unloaded, so it would persist and prevent vmm.ko from
being re-loaded.

Extend vmmdev_cleanup() to destroy the vmmctl cdev.  Also call
vmmdev_cleanup() if vmm_init() fails.

Reviewed by:	corvink, andrew
Fixes:		a97f683fe3 ("vmm: Add a device file interface for creating and destroying VMs")
Differential Revision:	https://reviews.freebsd.org/D48269
2025-01-09 14:49:34 +00:00
..
vmm_dev.c vmm: Fix error handling in vmm_handler() 2025-01-09 14:49:34 +00:00
vmm_dev.h vmm: Add a device file interface for creating and destroying VMs 2024-11-05 01:40:41 +00:00
vmm_ktr.h
vmm_stat.c
vmm_stat.h