diff options
| author | uwe <uwe@NetBSD.org> | 2022-04-20 22:08:10 +0000 |
|---|---|---|
| committer | uwe <uwe@NetBSD.org> | 2022-04-20 22:08:10 +0000 |
| commit | d62ea836284cb39775eb4752e7307a160802624f (patch) | |
| tree | 1a540c036b9ad1f711dee81410fa004602bbbfed /sys/dev/microcode | |
| parent | b6e8820c0d8a0c799accf772729e005192218c74 (diff) | |
vio9p: avoid null pointer dereference on attach.
Pass "vqs" argument to virtio_child_attach_start(). The virtio API is
not quite clear to me here - there's also a separate setter
virtio_child_attach_set_vqs that performs some additional actions.
Queue setup for Virtio 1.0 accesses virtio_softc::sc_vqs and we didn't
set it. QEMU exposes only the old virtio interface, so it doesn't
trigger the problem.
Diffstat (limited to 'sys/dev/microcode')
0 files changed, 0 insertions, 0 deletions
