commit | f9fb0532fb0c7155c0616614dc12ecccf93f8afb | [log] [tgz] |
---|---|---|
author | Hans de Goede <hdegoede@redhat.com> | Fri Apr 05 11:30:19 2013 +0200 |
committer | Gerd Hoffmann <kraxel@redhat.com> | Tue Apr 16 11:52:09 2013 +0200 |
tree | 589c51095b3708a09fea349c034c5e5acd84b7d5 | |
parent | 8bb9f51ca243551fb838a3a6a2983016ed2bbb73 [diff] |
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: Hans de Goede <hdegoede@redhat.com> Acked-by: Amit Shah <amit.shah@redhat.com> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>