From: "Daniel P. Berrange" Subject: [PATCH] Fix vnclisten config handling for HVM Date: Tue, 30 Jan 2007 18:21:42 +0000 Message-ID: <20070130182142.GH18642@redhat.com> Reply-To: "Daniel P. Berrange" Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="S1BNGpv0yoYahz37" Return-path: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --S1BNGpv0yoYahz37 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In the big refactoring of XenD's internal config file handling, support for the 'vnclisten' parameter with HVM guests got mislaid. The result is that its no longer possible to use vnclisten="0.0.0.0" to override the XenD default setting on a per-guest basis. The attached patch re-introduces support for this setting in HVM guests Signed-off-by: Daniel P. Berrange Dan. -- |=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=| |=- Perl modules: http://search.cpan.org/~danberr/ -=| |=- Projects: http://freshmeat.net/~danielpb/ -=| |=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=| --S1BNGpv0yoYahz37 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="xen-vnclisten-config.patch" diff -r 37141c3a3d39 tools/python/xen/xend/XendConfig.py --- a/tools/python/xen/xend/XendConfig.py Mon Dec 11 15:06:53 2006 +0000 +++ b/tools/python/xen/xend/XendConfig.py Tue Jan 30 13:36:15 2007 -0500 @@ -229,7 +229,8 @@ LEGACY_IMAGE_CFG = [ ('sdl', int), ('vncdisplay', int), ('vncunused', int), - ('vncpasswd', str), + ('vncpasswd', str), + ('vnclisten', str), ] LEGACY_IMAGE_HVM_CFG = [ --S1BNGpv0yoYahz37 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --S1BNGpv0yoYahz37--