qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Gerd Hoffmann <kraxel@redhat.com>
To: Markus Armbruster <armbru@redhat.com>
Cc: qemu-devel@nongnu.org, Anthony Liguori <aliguori@amazon.com>,
	Luiz Capitulino <lcapitulino@redhat.com>
Subject: Re: [Qemu-devel] [PULL 09/10] monitor: add query-vnc2 command
Date: Tue, 06 Jan 2015 11:36:36 +0100	[thread overview]
Message-ID: <1420540596.13556.36.camel@nilsson.home.kraxel.org> (raw)
In-Reply-To: <87bnmz3i4u.fsf@blackfin.pond.sub.org>


> > Add new query vnc qmp command, for the lack of better ideas just name it
> > "query-vnc2".  Changes over query-vnc:

> Call it query-vnc-servers?

Fine with me, done.

> Maybe just VncPrimaryAuth, since there's precedence for abbreviating
> authentication that way.

Done.

> >  ##
> > +# @query-vnc2:
> > +#
> > +# Returns a list of vnc servers.  The list can be empty.
> > +#
> > +# Returns: @VncInfo
> 
> Returns: a list of @VncInfo2

Yep.

While being at it and as we've dropped the '2' from the command name:
Suggestions for a better struct name?

Note there already is a VncServerInfo struct, so going for something
like VncServersInfo looks like a bad idea ...

> > +    case VNC_AUTH_SASL:
> > +        info->auth = VNC_PRI_AUTH_SASL;
> > +        break;
> > +    case VNC_AUTH_NONE:
> > +    default:
> > +        info->auth = VNC_PRI_AUTH_NONE;
> > +        break;
> > +    }
> 
> T-e-d-i-o-u-s :)
> 
> What about mapping vnc.h's authenticaton modes to the QAPI enumeration
> constants with tables rather than switches?  Your choice.

Did it this way due to the numbers being sparse.

cheers,
  Gerd

  parent reply	other threads:[~2015-01-06 10:36 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-19  9:04 [Qemu-devel] [PULL 00/10] vnc: add support for multiple vnc displays Gerd Hoffmann
2014-12-19  9:04 ` [Qemu-devel] [PULL 01/10] vnc: remove vnc_display global Gerd Hoffmann
2014-12-19  9:04 ` [Qemu-devel] [PULL 02/10] vnc: remove unused DisplayState parameter, add id instead Gerd Hoffmann
2014-12-19  9:04 ` [Qemu-devel] [PULL 03/10] vnc: add display id to acl names Gerd Hoffmann
2014-12-19  9:04 ` [Qemu-devel] [PULL 04/10] vnc: switch to QemuOpts, allow multiple servers Gerd Hoffmann
2014-12-19  9:04 ` [Qemu-devel] [PULL 05/10] vnc: allow binding servers to qemu consoles Gerd Hoffmann
2014-12-19  9:04 ` [Qemu-devel] [PULL 06/10] vnc: update docs/multiseat.txt Gerd Hoffmann
2014-12-19  9:04 ` [Qemu-devel] [PULL 07/10] vnc: track & limit connections Gerd Hoffmann
2014-12-19  9:04 ` [Qemu-devel] [PULL 08/10] vnc: factor out qmp_query_client_list Gerd Hoffmann
2014-12-19  9:04 ` [Qemu-devel] [PULL 09/10] monitor: add query-vnc2 command Gerd Hoffmann
2014-12-19 13:04   ` Markus Armbruster
2014-12-19 18:05     ` Eric Blake
2015-01-06 10:39       ` Gerd Hoffmann
2015-01-12 15:53         ` Markus Armbruster
2015-01-06 10:36     ` Gerd Hoffmann [this message]
2015-01-08 15:44     ` Gerd Hoffmann
2014-12-19  9:04 ` [Qemu-devel] [PULL 10/10] monitor: add vnc websockets Gerd Hoffmann
2014-12-19 13:06   ` Markus Armbruster
2014-12-19 18:09   ` Eric Blake
2014-12-19 12:51 ` [Qemu-devel] [PULL 00/10] vnc: add support for multiple vnc displays Markus Armbruster

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1420540596.13556.36.camel@nilsson.home.kraxel.org \
    --to=kraxel@redhat.com \
    --cc=aliguori@amazon.com \
    --cc=armbru@redhat.com \
    --cc=lcapitulino@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).