From: Ewan Mellor Subject: Re: r13745 break sdl support Date: Thu, 1 Feb 2007 15:45:08 +0000 Message-ID: <20070201154508.GL18094@leeni.uk.xensource.com> References: <45C17D80.5030507@intel.com> <20070201093801.GE5181@york.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20070201093801.GE5181@york.uk.xensource.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: Tim Deegan Cc: xen-devel@lists.xensource.com, "Zhai, Edwin" List-Id: xen-devel@lists.xenproject.org On Thu, Feb 01, 2007 at 09:38:01AM +0000, Tim Deegan wrote: > At 13:41 +0800 on 01 Feb (1170337280), Zhai, Edwin wrote: > > File > > "/home/gzhai/srcs/hg/tip/dist/install/usr/lib/python/xen/xend/server/DevController.py", > > line 111, in createDevice > > VmError: Device 0 (vfb) is already connected. > > This will hopefully be fixed soon -- in the meantime this patch allows > me to restore domains again: > > diff -r 5d09e6098f93 tools/python/xen/xend/XendConfig.py > --- a/tools/python/xen/xend/XendConfig.py Wed Jan 31 17:22:17 2007 +0000 > +++ b/tools/python/xen/xend/XendConfig.py Wed Jan 31 18:09:20 2007 +0000 > @@ -671,6 +671,9 @@ class XendConfig(dict): > if self['devices'][console_uuid][1].get('protocol') == 'rfb': > has_rfb = True > break > + if self['devices'][console_uuid][0] == 'vfb': > + has_rfb = True > + break > > if not has_rfb: > dev_config = ['vfb'] Applied. Ewan.