[Bug 254513] virtio_random: random_harvestq spinning on a CPU with Q35 virtio random device

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Mar 23 21:01:02 UTC 2021


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254513

--- Comment #1 from Mina Galić <me at igalic.co> ---
n.b.: according to the code in vtrnd_harvest()

https://github.com/freebsd/freebsd-src/blob/633218ee4615854702fea05ba6e17c2a1876bb6b/sys/dev/virtio/random/virtio_random.c#L244

        KASSERT(virtqueue_empty(vq), ("%s: non-empty queue", __func__));

when running this under a DEBUG kernel, this isn't asserting, so we *are*
getting some data.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-virtualization mailing list