freebsd-src/sys/dev/virtio
Eugene Grosbein adbf7727b3 virtio_random(8): avoid deadlock at shutdown time
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
MFC after:	3 days
2022-03-16 11:41:51 +07:00
..
balloon Convert vm_page_alloc() callers to use vm_page_alloc_noobj(). 2021-10-19 21:22:56 -04:00
block virtio: Add KMSAN hooks for network and block devices 2021-08-11 16:41:38 -04:00
console virtio console: plug set-but-not-used vars 2021-12-14 14:14:34 +00:00
mmio Add missing const after 6c4f95161d 2021-10-11 13:20:56 +01:00
network if_vtnet(4): Restore the ability to set promisc mode. 2022-02-05 18:47:46 +03:00
pci virtio: make the write_config buffer argument const 2021-10-11 11:52:18 +01:00
random virtio_random(8): avoid deadlock at shutdown time 2022-03-16 11:41:51 +07:00
scsi virtio_scsi: Zero stack-allocated CCBs 2021-05-16 22:20:39 -04:00
virtio.c virtio: make the write_config buffer argument const 2021-10-11 11:52:18 +01:00
virtio.h virtio: make the write_config buffer argument const 2021-10-11 11:52:18 +01:00
virtio_bus_if.m virtio: make the write_config buffer argument const 2021-10-11 11:52:18 +01:00
virtio_config.h
virtio_endian.h bhyve: virtio shares definitions between sys/dev/virtio 2021-03-16 19:29:39 +08:00
virtio_ids.h
virtio_if.m
virtio_ring.h
virtqueue.c Add SDT probes virtqueue::enqueue_segments:{entry,return} 2021-08-27 13:08:59 -04:00
virtqueue.h virtio: Add modern (v1) virtqueue support 2021-01-19 04:55:23 +00:00