WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] TCP state between domU and client

To: "Mark Williamson" <mark.williamson@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] TCP state between domU and client
From: "pradeep singh rautela" <rautelap@xxxxxxxxx>
Date: Wed, 25 Apr 2007 11:46:24 +0530
Cc: "Petersson, Mats" <Mats.Petersson@xxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 24 Apr 2007 23:14:57 -0700
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=HrKeYj677c3P0I96u5hD4p9Ki+xJwkPdziW3U4WT3T9ZOUQP0LdJGNZXmqM5B6w1vcV3fWGfrYsFBBnZU2MZ2+4LSXv6ja14LyZMUFKakQ2/V7pKvX/Bx4aH48Wksg1hO/y8JynPiKdhsspFYzDUve2GfVc0Vyu5my8kZoRuQnE=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=ZaHyR/l348LLbV2Z50pYKk2yZGMn9oDIrlH4ro3OWzMXr4Lqwt9xjV5Jh6UGZ1MdiYMqqj44tcUmFxVduAVNFZSM98P/H2NpcB1RXuzYtt5yx/+BhxVvsZ9Wn3tuG2cxPiZY2wAzmuGPl5EmdZtlaU7f/VY44kqbBm0neX6wh9A=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <200704241728.31329.mark.williamson@xxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <6bc632150704240542p49376ce7u8bb2572989023e8a@xxxxxxxxxxxxxx> <200704241728.31329.mark.williamson@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx


On 4/24/07, Mark Williamson <mark.williamson@xxxxxxxxxxxx> wrote:
> I have a query.
> How is a TCP connection state maintained across domUs and a remote client?
> Any pointers to the code will be really helpful.

In general, Xen is well out of the way of this as Mats explained.  Xen
provides virtual network devices and normal TCP mechanisms operate over the
top of this.

I believe Xen arranges for an ARP advertisement to be sent to the network
(actually, the guest's driver does this) when a live migration is completed.
This is not strictly necessary, but it ensures that the other entities on the
network know that the guest has moved so that the TCP connection doesn't hang
until the VM is rediscovered...


Thanks Mark, that was perfectly what i was looking for.
Can i have a pointer to code? That will be really helpful.

Thank a lot once again.

~psr

I imagine this is primarily so that switched networks can change their
knowledge of the topology; don't know if there are any other issues involved.

Cheers,
Mark

> Second question ,Can I run a Xen hypervisor inside a domU, making this domU
> as the host and subsequent domUs  as guests running over this guest domU ?
> Just asking this out of curiosity.
>
> Thank you
>
> ~psr



--
Dave: Just a question. What use is a unicyle with no seat?  And no pedals!
Mark: To answer a question with a question: What use is a skateboard?
Dave: Skateboards have wheels.
Mark: My wheel has a wheel!



--
---
pradeep singh rautela

"Genius is 1% inspiration, and 99% perspiration" - not me :)
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>