Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Mar 2021 21:01:02 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 254513] virtio_random: random_harvestq spinning on a CPU with Q35 virtio random device
Message-ID:  <bug-254513-227-HcQIZTtBMx@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-254513-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-254513-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254513

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

https://github.com/freebsd/freebsd-src/blob/633218ee4615854702fea05ba6e17c2=
a1876bb6b/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.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-254513-227-HcQIZTtBMx>