commit | e93300b1afc7cd4fe1e741ceaf06714d060e88b8 | [log] [tgz] |
---|---|---|
author | Rusty Russell <rusty@rustcorp.com.au> | Thu Jan 12 15:44:43 2012 +1030 |
committer | Rusty Russell <rusty@rustcorp.com.au> | Thu Jan 12 15:44:43 2012 +1030 |
tree | 060bb46e8d7b570fa08df94aef1cf4cc3620f8c5 | |
parent | ee7cd8981e15bcb365fc762afe3fc47b8242f630 [diff] |
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: Rusty Russell <rusty@rustcorp.com.au>