commit | 40e4dc530118dbb79e270d5554ac8415588378d2 | [log] [tgz] |
---|---|---|
author | Heinz Graalfs <graalfs@linux.vnet.ibm.com> | Tue Oct 29 09:40:39 2013 +1030 |
committer | Rusty Russell <rusty@rustcorp.com.au> | Tue Oct 29 11:28:18 2013 +1030 |
tree | 06582a56e89dc9cb3654de1bdcb9afa6adb5ce94 | |
parent | 7f03b17d5c3f3b63dcacf0e481cf94c9d07267ab [diff] |
virtio_console: verify if queue is broken after virtqueue_get_buf() If virtqueue_get_buf() returns with a NULL pointer it should be verified if the virtqueue is broken, in order to avoid loop calling cpu_relax(). Signed-off-by: Heinz Graalfs <graalfs@linux.vnet.ibm.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>