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

Re: [Xen-devel] Create command fail if giving an empty disk file path, such as ', hdc:cdrom, r'


  • To: "You, Yongkang" <yongkang.you@xxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
  • Date: Mon, 23 Oct 2006 12:02:12 +0100
  • Delivery-date: Mon, 23 Oct 2006 04:02:52 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: Acb2gOPOYZ93C0C1TB6YjcygLMyn7AAEc0Wc
  • Thread-topic: [Xen-devel] Create command fail if giving an empty disk file path, such as ', hdc:cdrom, r'

On 23/10/06 09:54, "You, Yongkang" <yongkang.you@xxxxxxxxx> wrote:

> The easiest fixing is to add judgment to resource. If so, Guests can be
> created 
> even if not providing any disk image file, and let the boot process to tell
> that 
> user didn't give the right disk. This is also the used to be. But I am not
> sure if it is 
> an acceptable fixing. Could anybody give some advice?

Seems okay. It'd be nice not to execute that path *at all* if ACM is not
being used, or at least give a useful error message if the split on ':'
fails.

 -- Keir



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.