From: Tim Deegan Subject: Re: r13745 break sdl support Date: Thu, 1 Feb 2007 09:38:01 +0000 Message-ID: <20070201093801.GE5181@york.uk.xensource.com> References: <45C17D80.5030507@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Return-path: Content-Disposition: inline In-Reply-To: <45C17D80.5030507@intel.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: "Zhai, Edwin" Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org 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']