virtio-console: Also throttle when less was written then requested
This is necessary so that we get properly woken up to write the rest. This patch also changes the len argument to the have_data callback, to avoid doing an unsigned signed comparison. Signed-off-by: NHans de Goede <hdegoede@redhat.com> Acked-by: NAmit Shah <amit.shah@redhat.com> Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
Showing
想要评论请 注册 或 登录