[PATCH] kvm: qemu: net: unbreak tap networking

2009-04-28 Thread Mark McLoughlin
A recent merge broke tap networking because qemu_send_packet() now always returns -EAGAIN causing tap to try and resend the same packet forever. Fix by having qemu_send_packet() return the status from the qemu_deliver_packet() of the packet in question, rather than any packets which happened to

Re: [PATCH] kvm: qemu: net: unbreak tap networking

2009-04-28 Thread Avi Kivity
Mark McLoughlin wrote: A recent merge broke tap networking because qemu_send_packet() now always returns -EAGAIN causing tap to try and resend the same packet forever. Fix by having qemu_send_packet() return the status from the qemu_deliver_packet() of the packet in question, rather than any

Re: [PATCH] kvm: qemu: net: unbreak tap networking

2009-04-28 Thread Mark McLoughlin
On Tue, 2009-04-28 at 11:58 +0300, Avi Kivity wrote: Mark McLoughlin wrote: A recent merge broke tap networking because qemu_send_packet() now always returns -EAGAIN causing tap to try and resend the same packet forever. Fix by having qemu_send_packet() return the status from the