From: Keir Fraser Subject: Re: migrate issue Date: Thu, 20 Aug 2009 10:23:40 +0100 Message-ID: References: <4A8D962C020000200006A869@lucius.provo.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4A8D962C020000200006A869@lucius.provo.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: James Song , "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org I think it makes sense to require names to be unique and not auto-rename. What would be nice is a decent error message (if we do not currently provide one) and a method to rename a VM (if we do not currently provide one). That gives good feeback to the admin, and the ability for them to fix the issue manually. -- Keir On 20/08/2009 09:30, "James Song" wrote: > I found that if migrating a VM to another host which also has a vm whose > name is the same as the Migrating-VM, live migration will fail. Is it > reasonable? IMO, perhaps, we could rename the migrated VM as > "VM-Name-HostName" on the destination host and finish this migration. I not > sure, if it is a lot of sense to do that or not. If it does, I will write the > patch. What's your option? > > regards, > -James Song (Wei) >