Re: [PATCH 0/7] virtio: console: Fixes, new flexible way of discovering ports

2010-03-29 Thread Rusty Russell
On Tue, 23 Mar 2010 07:27:53 pm Amit Shah wrote: Hello all, This new patchset switches over to using the control queue for port discovery so that we can stay in sync with the host for port enumeration and also don't use bitmaps to limit us to config space sizes. This changes the ABI, so

[PATCH 1/4] MAINTAINERS: Put the virtio-console entry in correct alphabetical order

2010-03-29 Thread Rusty Russell
From: Amit Shah amit.s...@redhat.com Move around the entry for virtio-console to keep the file sorted. Signed-off-by: Amit Shah amit.s...@redhat.com Signed-off-by: Rusty Russell ru...@rustcorp.com.au --- MAINTAINERS | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff

[PATCH 2/4] virtio: console: Fix early_put_chars usage

2010-03-29 Thread Rusty Russell
From: Francois Diakhate fdi...@gmail.com Currently early_put_chars is not used by virtio_console because it can only be used once a port has been found, at which point it's too late because it is no longer needed. This patch should fix it. Acked-by: Christian Borntraeger borntrae...@de.ibm.com

[PATCH 3/4] virtio: console makes incorrect assumption about virtio API

2010-03-29 Thread Rusty Russell
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

Re: [PATCH 0/7] virtio: console: Fixes, new flexible way of discovering ports

2010-03-29 Thread Amit Shah
On (Tue) Mar 30 2010 [15:46:14], Rusty Russell wrote: On Tue, 23 Mar 2010 07:27:53 pm Amit Shah wrote: Hello all, This new patchset switches over to using the control queue for port discovery so that we can stay in sync with the host for port enumeration and also don't use bitmaps to