Received: from eggs.gnu.org ([2001:4830:134:3::10]:59385) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZQGdt-0003VH-Fu for qemu-devel@nongnu.org; Fri, 14 Aug 2015 11:11:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZQGdo-0005Ub-HK for qemu-devel@nongnu.org; Fri, 14 Aug 2015 11:11:37 -0400 Received: from mx1.redhat.com ([209.132.183.28]:46318) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZQGdo-0005Tg-5n for qemu-devel@nongnu.org; Fri, 14 Aug 2015 11:11:32 -0400 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) by mx1.redhat.com (Postfix) with ESMTPS id E403DAA9 for ; Fri, 14 Aug 2015 15:11:31 +0000 (UTC) Date: Fri, 14 Aug 2015 17:11:29 +0200 From: Christophe Fergeau Message-ID: <20150814151129.GC19434@edamame.cdg.redhat.com> References: <1439556435-20541-1-git-send-email-cfergeau@redhat.com> <20150814143521.GO7776@redhat.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="Qbvjkv9qwOGw/5Fx" Content-Disposition: inline In-Reply-To: <20150814143521.GO7776@redhat.com> Subject: Re: [Qemu-devel] [PATCH] spice: Allow to set password even if disable-ticketing was used List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Daniel P. Berrange" Cc: qemu-devel@nongnu.org --Qbvjkv9qwOGw/5Fx Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Aug 14, 2015 at 03:35:21PM +0100, Daniel P. Berrange wrote: > On Fri, Aug 14, 2015 at 02:47:15PM +0200, Christophe Fergeau wrote: > > Before commit b1ea7b79e1, it was possible to start with -spice > > disable-ticketing, and then use the "set_password spice" command to > > enable ticketing with SPICE. Since commit b1ea7b79e1 this is no longer > > possible as qemu_spice_set_ticket() will return an error unless the > > 'auth' type is "spice". When ticketing is disabled, 'auth' is "none" so > > the attempt to set password fails. > >=20 > > This commit allows to call qemu_spice_set_ticket() when 'auth' is "none" > > and changes 'auth' to "spice" when this happens. >=20 > BTW, you need to have a Signed-of-by here Ah right, thanks, just sent a v2 with this added. Christophe --Qbvjkv9qwOGw/5Fx Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCAAGBQJVzgUhAAoJEKnYwhQprGyCvLYQAICtb0Q2YXGmVb17Vs8Roe6L PSkolzzRkfrUeY2sUyStYCY9gJEo0XyBN5aZ85DvtUTlkUtiTxss+PPDVcl5gf5R nvx+S5tAUABQn5EZ6RRFacYEQh3+C/jl9CseEu5KRIvEgWBfRrNrVK7oFJ04oGOK 2YC+r6uihcY9w5eCv1YS4memoTyO0judAvUpxHiCMpf0XfwqGTpyG8vYwzWcAsHd VUzQc2FPL/TVtQrWkBiSj7ywwl2VFuog4fgNASM5DcTajpziOkfjlABekJTXFXO5 KazoIikafdG6v5bUgOypnukjYAsGruSmnkhr4vpo8I/Ly00b7lFxIE8DEkmEFZzd +LSwKdHX1MVHMj/ZnZ3m3pfo7sESyk+tb3QEQefD/L+OlxSRZnjQHJ0zhg96dLvi EcbeczvoOaSs9YZIg12oJcMpQhaXizv2ZWfe1Q7EDj4jv2kYG1Ut2aRH5Na/XHqG L/ulJMBFJv9kr9AAXNnF39KA/X2oJ/YL/iuIQvVxkQKOw+CsMoIorjjh6SRACWrE YF1Xt961ekKKQehhx98UGo2XVf6VLWH4FUdiiP6uQxoTFlglrCmwro8PeYlxhrbJ CDbAf+1r54AX/8DdJHS2xHCpXoEastJrHl5pVtMmz7QI1gyphU2lmd9x7qr0xzww kxStgFVlEsDxdDj/YkVM =Gey1 -----END PGP SIGNATURE----- --Qbvjkv9qwOGw/5Fx--