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]Fix the issue that guest cannot boot if set emptyc

To: "Xu, Dongxiao" <dongxiao.xu@xxxxxxxxx>, "Keir Fraser" <keir.fraser@xxxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel][PATCH]Fix the issue that guest cannot boot if set emptycdrom in config file
From: Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx>
Date: Tue, 13 May 2008 18:15:12 +0900
Delivery-date: Tue, 13 May 2008 02:16:04 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <FF386CB4AE0E4648B0A96060EC00F36CA374DC@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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: <FF386CB4AE0E4648B0A96060EC00F36CA374DC@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi Dongxiao,

Thanks for your work!

Best regards,
 Kan

Tue, 13 May 2008 13:56:20 +0800, "Xu, Dongxiao" wrote:

>Hi, Keir,
>      This attached patch fixes the issue that guest can not boot if set
>empty cdrom in configuration file. 
>(For example, disk = [ 'file:/images/a.img', ',hdc:cdrom,r' ])
>
>This is because function "uname = config.get('uname', '')" returns ''
>but not None if uname is not in config variable. 
>
>Signed-off-by: Xu Dongxiao <dongxiao.xu@xxxxxxxxx>
>
>Best Regards,
>--Dongxiao
>
>
>-------------------------------text/plain-------------------------------
>_______________________________________________
>Xen-devel mailing list
>Xen-devel@xxxxxxxxxxxxxxxxxxx
>http://lists.xensource.com/xen-devel


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

<Prev in Thread] Current Thread [Next in Thread>