opnsense-src/sys/dev/virtio
Eugene Grosbein 4a11315a2c virtio_random(8): MFC: avoid deadlock at shutdown time (regression fix)
FreeBSD 13+ running as virtual guest may load virtio_random(8) driver
by means of devd(8) unless the driver is blacklisted or disabled
via device.hints(5). Currently, the driver may prevent
the system from rebooting or shutting down correctly.

This change deactivates virtio_random at very late stage
during system shutdown sequence to avoid deadlock
that results in kernel hang.

PR:		253175
Tested by:	tom
Relnotes:	yes

(cherry picked from commit adbf7727b3)
2022-03-19 11:20:58 +07:00
..
balloon
block
console
mmio
network
pci
random virtio_random(8): MFC: avoid deadlock at shutdown time (regression fix) 2022-03-19 11:20:58 +07:00
scsi
virtio.c
virtio.h
virtio_bus_if.m
virtio_config.h
virtio_endian.h
virtio_ids.h
virtio_if.m
virtio_ring.h
virtqueue.c
virtqueue.h