* [Qemu-devel] [PULL 0/1] spice: call qemu_spice_set_passwd() during init
@ 2014-09-16 6:12 Gerd Hoffmann
2014-09-16 6:12 ` [Qemu-devel] [PULL 1/1] " Gerd Hoffmann
2014-09-16 17:29 ` [Qemu-devel] [PULL 0/1] " Peter Maydell
0 siblings, 2 replies; 3+ messages in thread
From: Gerd Hoffmann @ 2014-09-16 6:12 UTC (permalink / raw)
To: qemu-devel; +Cc: Gerd Hoffmann
Hi,
Spice patch queue, with a single patch this time.
please pull,
Gerd
The following changes since commit cc35a44cf7b522b1fd0b786562b7de4b881c41b0:
Merge remote-tracking branch 'remotes/qmp-unstable/queue/qmp' into staging (2014-09-15 19:44:34 +0100)
are available in the git repository at:
git://anongit.freedesktop.org/spice/qemu tags/pull-spice-20140916-2
for you to fetch changes up to 07d49a53b6394941ed833486a3acb5c480d87db2:
spice: call qemu_spice_set_passwd() during init (2014-09-16 08:09:03 +0200)
----------------------------------------------------------------
spice: call qemu_spice_set_passwd() during init
----------------------------------------------------------------
Marc-André Lureau (1):
spice: call qemu_spice_set_passwd() during init
ui/spice-core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Qemu-devel] [PULL 1/1] spice: call qemu_spice_set_passwd() during init
2014-09-16 6:12 [Qemu-devel] [PULL 0/1] spice: call qemu_spice_set_passwd() during init Gerd Hoffmann
@ 2014-09-16 6:12 ` Gerd Hoffmann
2014-09-16 17:29 ` [Qemu-devel] [PULL 0/1] " Peter Maydell
1 sibling, 0 replies; 3+ messages in thread
From: Gerd Hoffmann @ 2014-09-16 6:12 UTC (permalink / raw)
To: qemu-devel; +Cc: Marc-André Lureau, Gerd Hoffmann, Anthony Liguori
From: Marc-André Lureau <marcandre.lureau@gmail.com>
Don't call SPICE API directly to set password given in command line, but
use the internal API, saving password for later calls.
This solves losing password when changing expiration in qemu monitor.
https://bugzilla.redhat.com/show_bug.cgi?id=1138639
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
---
ui/spice-core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ui/spice-core.c b/ui/spice-core.c
index 17a2ed3..6467fa4 100644
--- a/ui/spice-core.c
+++ b/ui/spice-core.c
@@ -733,7 +733,7 @@ void qemu_spice_init(void)
tls_ciphers);
}
if (password) {
- spice_server_set_ticket(spice_server, password, 0, 0, 0);
+ qemu_spice_set_passwd(password, false, false);
}
if (qemu_opt_get_bool(opts, "sasl", 0)) {
if (spice_server_set_sasl_appname(spice_server, "qemu") == -1 ||
--
1.8.3.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] [PULL 0/1] spice: call qemu_spice_set_passwd() during init
2014-09-16 6:12 [Qemu-devel] [PULL 0/1] spice: call qemu_spice_set_passwd() during init Gerd Hoffmann
2014-09-16 6:12 ` [Qemu-devel] [PULL 1/1] " Gerd Hoffmann
@ 2014-09-16 17:29 ` Peter Maydell
1 sibling, 0 replies; 3+ messages in thread
From: Peter Maydell @ 2014-09-16 17:29 UTC (permalink / raw)
To: Gerd Hoffmann; +Cc: QEMU Developers
On 15 September 2014 23:12, Gerd Hoffmann <kraxel@redhat.com> wrote:
> Hi,
>
> Spice patch queue, with a single patch this time.
>
> please pull,
> Gerd
>
> The following changes since commit cc35a44cf7b522b1fd0b786562b7de4b881c41b0:
>
> Merge remote-tracking branch 'remotes/qmp-unstable/queue/qmp' into staging (2014-09-15 19:44:34 +0100)
>
> are available in the git repository at:
>
>
> git://anongit.freedesktop.org/spice/qemu tags/pull-spice-20140916-2
>
> for you to fetch changes up to 07d49a53b6394941ed833486a3acb5c480d87db2:
>
> spice: call qemu_spice_set_passwd() during init (2014-09-16 08:09:03 +0200)
>
> ----------------------------------------------------------------
> spice: call qemu_spice_set_passwd() during init
>
> ----------------------------------------------------------------
Applied, thanks.
-- PMM
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-09-16 17:29 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-16 6:12 [Qemu-devel] [PULL 0/1] spice: call qemu_spice_set_passwd() during init Gerd Hoffmann
2014-09-16 6:12 ` [Qemu-devel] [PULL 1/1] " Gerd Hoffmann
2014-09-16 17:29 ` [Qemu-devel] [PULL 0/1] " Peter Maydell
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).