Re: [PATCH RFC 0/3] virtio: silence KCSAN warnings
From: Alexander Graf
Date: Tue Jan 27 2026 - 03:48:03 EST
On 27.01.26 09:39, Johannes Thumshirn wrote:
When booting a Qemu VM whith KCSAN to debug filesystem races I
encountered a bunch of KCSAN splats in virtio.
I suspect them to be false positives.
I decided to send this as an RFC patchset, as I have no prior knowledge
of virtio.
All of these looks like KCSAN was just detecting the hypervisor writing data. Is there a more generic way we can capture that in the virtio helpers? So instead of patching the consumers of functions such as vring_interrupt(), can we annotate the whole vring struct as "ignore for KCSAN"?
Alex
Amazon Web Services Development Center Germany GmbH
Tamara-Danz-Str. 13
10243 Berlin
Geschaeftsfuehrung: Christof Hellmis, Andreas Stieger
Eingetragen am Amtsgericht Charlottenburg unter HRB 257764 B
Sitz: Berlin
Ust-ID: DE 365 538 597