qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [RFC 0/7]: Add VNC connect/disconnect events
@ 2010-01-08 21:47 Luiz Capitulino
  2010-01-08 21:47 ` [Qemu-devel] [PATCH 1/7] VNC: Use 'enabled' key instead of 'status' Luiz Capitulino
                   ` (7 more replies)
  0 siblings, 8 replies; 12+ messages in thread
From: Luiz Capitulino @ 2010-01-08 21:47 UTC (permalink / raw)
  To: qemu-devel; +Cc: aliguori

 Hi there,

 This series contains two related changes. First a small cleanup is done in
the current 'query-vnc' command, then two new QMP asynchronous events are
introduced: VNC connect and disconnect.

 That's, everytime a VNC client connects or disconnects from QEMU, the
QMP client will get full VNC client and VNC server info.

 There's one problem though and that's why this series is a RFC.

 The connection is a two step procedure if an authentication mechism is
enabled. First the client establishes the connection then it authenticates.

 Currently, 'info vnc' and 'query-vnc' will show client information as soon
as it establishes the connection even if the client didn't autheticate yet.

 This series changes that. Now, if an authentication mechanism is enabled,
client information will only be available _after_ it has authenticated. Also,
the connect/disconnect events are only emitted after the authentication step.

 There's a way to fix this and add the old behavior back, but we'll need
one additional event (say CONNECT_AUTH) and the client will have to look
at the server info to learn that a disconnection happened before
authentication.

 Is this series ok or should the current behavior be maintained?

 Thanks.

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2010-01-13  9:14 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-08 21:47 [Qemu-devel] [RFC 0/7]: Add VNC connect/disconnect events Luiz Capitulino
2010-01-08 21:47 ` [Qemu-devel] [PATCH 1/7] VNC: Use 'enabled' key instead of 'status' Luiz Capitulino
2010-01-08 21:47 ` [Qemu-devel] [PATCH 2/7] VNC: Make 'auth' key mandatory Luiz Capitulino
2010-01-08 21:47 ` [Qemu-devel] [PATCH 3/7] VNC: Rename client's 'username' key Luiz Capitulino
2010-01-08 21:47 ` [Qemu-devel] [PATCH 4/7] VNC: Add 'family' key Luiz Capitulino
2010-01-08 21:47 ` [Qemu-devel] [PATCH 5/7] VNC: Cache client info at connection time Luiz Capitulino
2010-01-08 21:47 ` [Qemu-devel] [PATCH 6/7] QMP: Introduce QMP disconnect event Luiz Capitulino
2010-01-08 21:47 ` [Qemu-devel] [PATCH 7/7] QMP: Introduce QMP connect event Luiz Capitulino
2010-01-11 13:55 ` [Qemu-devel] Re: [RFC 0/7]: Add VNC connect/disconnect events Daniel P. Berrange
2010-01-12 21:28   ` Luiz Capitulino
2010-01-12 22:28     ` Anthony Liguori
2010-01-13  9:14       ` Daniel P. Berrange

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).