Skip to content
Commit e93300b1 authored by Rusty Russell's avatar Rusty Russell
Browse files

virtio: add debugging if driver doesn't kick.



Under the existing #ifdef DEBUG, check that they don't have more than
1/10 of a second between an add_buf() and a
virtqueue_notify()/virtqueue_kick_prepare() call.

We could get false positives on a really busy system, but good for
development.

Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
parent ee7cd898
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment