Thread (1 message) 1 message, 1 author, 2022-05-27

Re: [PATCH] virtio_balloon: check virtqueue_add_outbuf() return value

flat view

From: "Michael S. Tsirkin" <mst@redhat.com>
Date: 2022-05-27 10:57:43
Also in: lkml

On Fri, May 27, 2022 at 10:43:30AM +0000, Bo Liu (刘波)-浪潮信息 wrote:
The purpose of this patch is, virtqueue_add_outbuf() adding data to
virtqueue may succeed or fail. If successful, it will call virtqueue_kick()
to notifie the host backend driver, but if the virtqueue_add_outbuf() fails,
the data is not successfully added to the virtqueue, and the host back-end
driver does not need to be notified for processing.

Thanks.
Why is it a problem if we do?

-- 
MST

_______________________________________________
Virtualization mailing list
Virtualization@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/virtualization
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help