commit | 9ff4cfab82d27e9fda72315f911bbaa9516e04bc | [log] [tgz] |
---|---|---|
author | Rusty Russell <rusty@rustcorp.com.au> | Thu Apr 08 09:46:16 2010 -0600 |
committer | Rusty Russell <rusty@rustcorp.com.au> | Thu Apr 08 09:46:17 2010 +0930 |
tree | a3c16833f8d9c0eb3d4194f4fd11c98e3899ffb4 | |
parent | 162a689a13ed61c0752726edb75427b2cd4186c1 [diff] |
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: Rusty Russell <rusty@rustcorp.com.au> Acked-by: Amit Shah <amit.shah@redhat.com>