Skip to contentSkip to conversation

: Monitor queue

GIT PULL New Luiz Capitulino 2 participants 3 messages Aug 25, 2011 – Aug 29, 2011

lore
Share & tools
lore
#0 lore raw

Anthony,

The following patches have been sent to the list and look good to me. I've also tested them.

The changes (since 56a7a874e962e28522857fbf72eaefb1a07e2001) are available in the following repository:

git://repo.or.cz/qemu/qmp-unstable.git queue/monitor

Jamie Iles (1):
monitor: fix build breakage for !CONFIG_VNC

 monitor.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
#1 lore raw

PATCH 1/1 monitor: fix build breakage for !CONFIG_VNC

From: Jamie Iles <[email protected]>

Commit c62f6d1 (monitor: fix build breakage with --disable-vnc) conditionalised some VNC setup code but left an unused variable. Move the variable into the conditional code to fix the build breakage.

Cc Luiz Capitulino <[email protected]>
Cc Markus Armbruster <[email protected]>
---
 monitor.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
monitor.c +1 -1
index ada51d0..04f465a 100644
@@ -1189,7 +1189,6 @@ static int add_graphics_client(Monitor *mon, const QDict *qdict, QObject **ret_d
 {
     const char *protocol  = qdict_get_str(qdict, "protocol");
     const char *fdname = qdict_get_str(qdict, "fdname");
-    int skipauth = qdict_get_try_bool(qdict, "skipauth", 0);
     CharDriverState *s;
 
     if (strcmp(protocol, "spice") == 0) {
@@ -1203,6 +1202,7 @@ static int add_graphics_client(Monitor *mon, const QDict *qdict, QObject **ret_d
 #ifdef CONFIG_VNC
     } else if (strcmp(protocol, "vnc") == 0) {
 	int fd = monitor_get_fd(mon, fdname);
+        int skipauth = qdict_get_try_bool(qdict, "skipauth", 0);
 	vnc_display_add_client(NULL, fd, skipauth);
 	return 0;
 #endif
Signature · 1 line
1.7.6.1.385.gb7fcd0
#2 lore raw
In reply to Luiz Capitulino
Quoted 4 lines · Luiz Capitulino

Anthony,

The following patches have been sent to the list and look good to me. I've also tested them.

Pulled. Thanks.

Regards,

Anthony Liguori

Quoted 14 lines

The changes (since 56a7a874e962e28522857fbf72eaefb1a07e2001) are available in the following repository:

git://repo.or.cz/qemu/qmp-unstable.git queue/monitor

Jamie Iles (1):
monitor: fix build breakage for !CONFIG_VNC

  monitor.c |    2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)