1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-11-21 07:15:49 +00:00
freebsd/sys/amd64/vmm
Mark Johnston d70230783a vmm: Postpone vmm module initialization to after SI_SUB_DEVFS
vmmops_modinit() needs to create a device file, and this must happen
after SI_SUB_DEVFS.  On non-EARLY_AP_STARTUP platforms (i.e., !x86) this
happens already by accident, but we shouldn't rely on it.

On riscv, remove the current SI_SUB_SMP ordering since that was copied
from arm64 and isn't needed.  In particular, riscv's vmmops_modinit()
does not call smp_rendezvous().

Reported by:	Oleksandr Kryvulia <shuriku@shurik.kiev.ua>
Fixes:	a97f683fe3 ("vmm: Add a device file interface for creating and destroying VMs")
2024-11-07 20:38:38 +00:00
..
amd
intel
io
vmm_dev_machdep.c
vmm_host.c
vmm_host.h
vmm_instruction_emul.c
vmm_ioport.c
vmm_ioport.h
vmm_lapic.c
vmm_lapic.h
vmm_mem.c
vmm_mem.h
vmm_snapshot.c
vmm_stat.h
vmm_util.c
vmm_util.h
vmm.c vmm: Postpone vmm module initialization to after SI_SUB_DEVFS 2024-11-07 20:38:38 +00:00
x86.c
x86.h