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] Cloning(making copies) of VMs

To: mark.williamson@xxxxxxxxxxxx
Subject: Re: [Xen-devel] Cloning(making copies) of VMs
From: Jacob Gorm Hansen <jacobg@xxxxxxx>
Date: Tue, 15 Nov 2005 16:48:49 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, sowmya dayanand <sowmyad@xxxxxxxxx>, Deepak Manohar <mjdeepak@xxxxxxxxx>
Delivery-date: Tue, 15 Nov 2005 15:48:56 +0000
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=X09ygSKMaxocbg0WqTrhC3YJMBDZ9k5O4/ZZUMgxNZ+bxV1DClGJVC7ZVnYxuRI4htsC4ge5UizhpZev/l8woPJ5ck5QL5AOizwk4PgxceoLlJwgmI+4S6mC1VkmaMKVBxWvaSddT7Q/HTn7bXQeD47mV6BUJhnGuKqj75wLoaU=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <Prayer.1.0.16.0511151535370.31861@xxxxxxxxxxxxxxxxxxxxxx>
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: <83c5685b0511072225u40ba05c9t121ea92c942286a1@xxxxxxxxxxxxxx> <fdef3c240511141453i477f5cdt9e1dc2faba979655@xxxxxxxxxxxxxx> <Prayer.1.0.16.0511151535370.31861@xxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On 15 Nov 2005 15:35:37 +0000, M.A. Williamson <maw48@xxxxxxxxx> wrote:

> We really need some sort of daemon / hotplug script in the guest to react
> to this sort of thing.

Only problem is if the hotplug script or daemon resides on an NFS-root
then. In any case calling on domU userspace to do this will be
error-prone and slow :-(
I think the best thing would be a domU kernel module or similar that
can obtain the new IP address from xenstore and do the ifconfig inside
the domU kernel.
Alternatively the guest could always have the same IP (say 10.0.0.1)
and then in- and outgoing packets could be rewritten to the real IP on
the fly, either by the domU or by some iptables magic in dom0.

Jacob

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel