All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Daniel P. Berrange" <berrange@redhat.com>
To: Anthony Liguori <anthony@codemonkey.ws>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] Remove magic numbers for VNC message IDs from code
Date: Wed, 31 Mar 2010 18:11:01 +0100	[thread overview]
Message-ID: <20100331171101.GW23136@redhat.com> (raw)
In-Reply-To: <4BB38167.4040409@codemonkey.ws>

On Wed, Mar 31, 2010 at 12:07:51PM -0500, Anthony Liguori wrote:
> On 03/31/2010 11:45 AM, Daniel P. Berrange wrote:
> >diff --git a/vnc.h b/vnc.h
> >index 0a7487b..8752de0 100644
> >--- a/vnc.h
> >+++ b/vnc.h
> >@@ -276,6 +276,57 @@ enum {
> >  #define VNC_FEATURE_COPYRECT_MASK            (1<<  VNC_FEATURE_COPYRECT)
> >
> >
> >+/* Client ->  Server message IDs */
> >+#define VNC_MSG_CLIENT_SET_PIXEL_FORMAT           0
> >+#define VNC_MSG_CLIENT_SET_ENCODINGS              2
> >+#define VNC_MSG_CLIENT_FRAMEBUFFER_UPDATE_REQUEST 3
> >+#define VNC_MSG_CLIENT_KEY_EVENT                  4
> >+#define VNC_MSG_CLIENT_POINTER_EVENT              5
> >+#define VNC_MSG_CLIENT_CUT_TEXT                   6
> >+#define VNC_MSG_CLIENT_VMWARE_0                   127
> >+#define VNC_MSG_CLIENT_CALL_CONTROL               249
> >+#define VNC_MSG_CLIENT_XVP                        250
> >+#define VNC_MSG_CLIENT_SET_DESKTOP_SIZE           251
> >+#define VNC_MSG_CLIENT_TIGHT                      252
> >+#define VNC_MSG_CLIENT_GII                        253
> >+#define VNC_MSG_CLIENT_VMWARE_1                   254
> >+#define VNC_MSG_CLIENT_ALIGUORI                   255
> >+
> >+/* Server ->  Client message IDs */
> >+#define VNC_MSG_SERVER_FRAMEBUFFER_UPDATE         0
> >+#define VNC_MSG_SERVER_SET_COLOUR_MAP_ENTRIES     1
> >+#define VNC_MSG_SERVER_BELL                       2
> >+#define VNC_MSG_SERVER_CUT_TEXT                   3
> >+#define VNC_MSG_SERVER_VMWARE_0                   127
> >+#define VNC_MSG_SERVER_CALL_CONTROL               249
> >+#define VNC_MSG_SERVER_XVP                        250
> >+#define VNC_MSG_SERVER_TIGHT                      252
> >+#define VNC_MSG_SERVER_GII                        253
> >+#define VNC_MSG_SERVER_VMWARE_1                   254
> >+#define VNC_MSG_SERVER_ALIGUORI                   255
> >+
> >+
> >+
> >+/* Aliguori client ->  server message IDs */
> >+#define VNC_MSG_CLIENT_ALIGUORI_EXT_KEY_EVENT     0
> >+#define VNC_MSG_CLIENT_ALIGUORI_AUDIO             1
> >+
> >+/* Aliguori server ->  client message IDs */
> >+#define VNC_MSG_SERVER_ALIGUORI_AUDIO             1
> >+
> >+
> >+
> >+/* Aliguori client ->  server audio message IDs */
> >+#define VNC_MSG_CLIENT_ALIGUORI_AUDIO_ENABLE      0
> >+#define VNC_MSG_CLIENT_ALIGUORI_AUDIO_DISABLE     1
> >+#define VNC_MSG_CLIENT_ALIGUORI_AUDIO_SET_FORMAT  2
> >+
> >+/* Aliguori server ->  client audio message IDs */
> >+#define VNC_MSG_SERVER_ALIGUORI_AUDIO_END         0
> >+#define VNC_MSG_SERVER_ALIGUORI_AUDIO_BEGIN       1
> >+#define VNC_MSG_SERVER_ALIGUORI_AUDIO_DATA        2
> >   
> 
> Nice patch, but let's s/aliguori/qemu/.

I was just matching the naming from the RFB protocol spec :-) I'll
send an updated patch...

Regards,
Daniel
-- 
|: Red Hat, Engineering, London    -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org -o- http://virt-manager.org -o- http://deltacloud.org :|
|: http://autobuild.org        -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|

  reply	other threads:[~2010-03-31 17:12 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-31 16:45 [Qemu-devel] [PATCH] Remove magic numbers for VNC message IDs from code Daniel P. Berrange
2010-03-31 17:07 ` Anthony Liguori
2010-03-31 17:11   ` Daniel P. Berrange [this message]
  -- strict thread matches above, loose matches on Subject: below --
2010-03-31 17:20 Daniel P. Berrange
2010-04-09 20:00 ` Aurelien Jarno

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=20100331171101.GW23136@redhat.com \
    --to=berrange@redhat.com \
    --cc=anthony@codemonkey.ws \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.