Skip to content
Commit 8a273cbe authored by Thomas Huth's avatar Thomas Huth Committed by David Gibson
Browse files

hw/char/spapr_vty: Return amount of free buffer entries in vty_can_receive()



The can_receive() callbacks of the character devices should return
the amount of characters that can be accepted at once, not just a
boolean value (which rather means only one character at a time).

Signed-off-by: default avatarThomas Huth <thuth@redhat.com>
Signed-off-by: default avatarDavid Gibson <david@gibson.dropbear.id.au>
parent 0d28aa19
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment