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] [PATCH] Add dm-userspace to the Xen kernel

To: "Niraj Tolia" <ntolia@xxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] Add dm-userspace to the Xen kernel
From: Dan Smith <danms@xxxxxxxxxx>
Date: Fri, 16 Jun 2006 11:50:35 -0700
Cc: Xen Developers <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 16 Jun 2006 11:51:06 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <7e45e2ac0606161131n5137e1falf7409c835009eab@xxxxxxxxxxxxxx> (Niraj Tolia's message of "Fri, 16 Jun 2006 14:31:18 -0400")
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: <m3d5dayzee.fsf@xxxxxxxxxxxxxxxxxxxxxxxxxxx> <7e45e2ac0606161131n5137e1falf7409c835009eab@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux)
NT> My question was, would this allow me to export a logical disk
NT> without having all the data present locally. The scenario I am
NT> thinking of would be applicable for VM migration across WANs.

Sure.

NT> In that case, if I was to represent a virtual disk as a number of
NT> logical blocks, I could have the userspace application page the
NT> logical blocks in on demand. This would be useful when a VM
NT> migrates to a machine it has never been to earlier. Does this make
NT> sense? Would it work with dm-userspace?

Definitely!  You could migrate the domain to another machine, and then
start a background process that starts copying its blocks to the other
machine.  If a request comes in for a block (dm-userspace will let you
handle it from the userspace app doing the copy), you immediately pull
it across to satisfy the request.  This would be a very interesting
way to support migration of domains with block devices, without
needing to wait for the block migration before starting the domain
back up on the target machine.

Very cool idea!

-- 
Dan Smith
IBM Linux Technology Center
Open Hypervisor Team
email: danms@xxxxxxxxxx

Attachment: pgpwHTGZid5WF.pgp
Description: PGP signature

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