diff options
| author | Kyle Evans <kevans@FreeBSD.org> | 2026-11-05 21:53:30 +0000 |
|---|---|---|
| committer | Kyle Evans <kevans@FreeBSD.org> | 2026-11-05 21:53:30 +0000 |
| commit | 12f90bbd3029fedea93e9bb0b1f02c3afafe237b (patch) | |
| tree | f4a06ad32f3a7185e4bc059e012e59e49f284c1e /contrib/kyua/utils/sqlite/c_gate_test.cpp | |
| parent | 878084c774c6d68fcdb65e00ba8f74726dda0999 (diff) | |
According to the virtio spec:
> The driver MUST NOT send any buffer available notifications to the
> device before setting DRIVER_OK.
DRIVER_OK isn't set until after attach completes, so defer the first
enqueue. We haven't found any problems as a result of this to the best
of my knowledge: q35 and other devices that we *have* been used with
will apparently check when we go DRIVER_OK.
Tested with q35 virtio-random, which still works.
Reported by: llm-postcr
Reviewed by: kfv, markj
Fixes: f1c5a2e3a62505 ("virtio_random: Pipeline fetching the data")
Sponsored by: Stormshield
Sponsored by: Klara, Inc.
Differential Revision: https://reviews.freebsd.org/D61228
Diffstat (limited to 'contrib/kyua/utils/sqlite/c_gate_test.cpp')
0 files changed, 0 insertions, 0 deletions
