Skip to content
Commit 9ff4cfab authored by Rusty Russell's avatar Rusty Russell
Browse files

virtio: console makes incorrect assumption about virtio API



The get_buf() API sets the second arg to the number of bytes *written*
by the other side; in this case it should be zero as these are output buffers.

lguest gets this right (obviously kvm's console doesn't), resulting in
continual buildup of console writes.

Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
Acked-by: default avatarAmit Shah <amit.shah@redhat.com>
parent 162a689a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment