* Alexander Graf <[email protected]> wrote:

> > That's pretty impressive (if it does not come at the expensive of 
> > features that Qemu's slirp code has) - and the thing is that we 
> > don't actually have to implement the vast majority of TCP-IP 
> > features, because the transport between the guest and the host is 
> > obviously reliable.
> 
> I don't see how it would. Once you overrun device buffers, you have 
> to do something. Either you drop packets or you stall the guest. 
> I'd usually prefer the former :).

What scenario do you see where we'd have to drop packets?

When the guest sends packets, we send them over to the host TCP 
socket - no blocking.

When the host receives packets it should only read data out of the 
host socket(s) if the vring buffer suggests that there's space 
available.

So i don't see we'd need to drop packets or block things - we just 
have to react to packets and to vring space availability in a 
straightforward way.

Thanks,

        Ingo
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to