Re: [PATCH v2 00/31] Implement user mode network for kvm tools

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Alexander Graf <agraf@xxxxxxx> 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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux