commit | 98e8c6bc66048db6f921ccd5b24f0e09804cfcca | [log] [tgz] |
---|---|---|
author | Rusty Russell <rusty@rustcorp.com.au> | Tue Oct 16 23:56:15 2012 +1030 |
committer | Rusty Russell <rusty@rustcorp.com.au> | Tue Dec 18 15:20:34 2012 +1030 |
tree | 42ba3a2f6e3ce22741c6a970ca99b7beab0ffbbb | |
parent | 49e86f16866fbf8e3c9a6b0770eb6f3c167f4b72 [diff] |
virtio: make virtqueue_add_buf() returning 0 on success, not capacity. Now noone relies on this behavior, we simplify virtqueue_add_buf() so it return 0 or -errno. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Acked-by: Michael S. Tsirkin <mst@redhat.com>