diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2017-08-11 01:25:38 +0200 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@redhat.com> | 2017-10-10 23:31:08 +0200 |
commit | 19409df8835674ca9b3c30517b032abb5eca01e6 (patch) | |
tree | 58c4052a4ef0d3ba98366802087940edcd045813 | |
parent | eb078a9f0c1e4af31cfc91501bf210df7b200f11 (diff) | |
download | qemu-19409df8835674ca9b3c30517b032abb5eca01e6.zip qemu-19409df8835674ca9b3c30517b032abb5eca01e6.tar.gz qemu-19409df8835674ca9b3c30517b032abb5eca01e6.tar.bz2 |
libvhost-user: improve vu_queue_pop() doc
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
-rw-r--r-- | contrib/libvhost-user/libvhost-user.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/libvhost-user/libvhost-user.h b/contrib/libvhost-user/libvhost-user.h index 4021f11..5825b66 100644 --- a/contrib/libvhost-user/libvhost-user.h +++ b/contrib/libvhost-user/libvhost-user.h @@ -358,7 +358,8 @@ void vu_queue_notify(VuDev *dev, VuVirtq *vq); * @vq: a VuVirtq queue * @sz: the size of struct to return (must be >= VuVirtqElement) * - * Returns: a VuVirtqElement filled from the queue or NULL. + * Returns: a VuVirtqElement filled from the queue or NULL. The + * returned element must be free()-d by the caller. */ void *vu_queue_pop(VuDev *dev, VuVirtq *vq, size_t sz); |