From: Ian Jackson Subject: Re: Proposal: deprecate "vncviewer" option in xl domain config file Date: Tue, 22 Apr 2014 16:49:55 +0100 Message-ID: <21334.36771.201199.333514@mariner.uk.xensource.com> References: <20140422151912.GM7712@zion.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20140422151912.GM7712@zion.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Wei Liu Cc: Ian Campbell , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org Wei Liu writes ("Proposal: deprecate "vncviewer" option in xl domain config file"): > When I'm working on (de-)serialization of domain configurations I found > "vncviewer". I now propose to deprecate it. ... > I propose to deprecate this option. > > What I will do is: > 1. config file still supports this option but it will prints out a > warning about its deprecation. > 2. this option is not saved as domain state when doing save / restore, > so when you restore a domain xl will not auto-spawn vncviewer. This comes out of a conversation between Wei and me. For the record, I think this is the right approach. The existing behaviour, where "xl restore" might start a vncviewer if the previously saved domain config had specified vncviewer=1, is IMO insane (and I doubt intentional on anyone's part). Thanks, Ian.