From: Rusty Russell Date: Thu, 8 Apr 2010 15:46:16 +0000 (-0600) Subject: virtio: console makes incorrect assumption about virtio API X-Git-Tag: v2.6.34-rc4~22^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9ff4cfab82d27e9fda72315f911bbaa9516e04bc;p=pandora-kernel.git 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 Acked-by: Amit Shah --- Reading git-diff-tree failed