summary refs log tree commit diff stats
path: root/vl.c
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2012-07-14 10:58:22 +0000
committerBlue Swirl <blauwirbel@gmail.com>2012-07-14 10:58:22 +0000
commit39a4ef1be680d7e60ee3a1cf6ff328dba0326365 (patch)
tree4595c3698cdf7b25af89fa343585bf70a4d00982 /vl.c
parent9aa0ff0bf9588f86846d1045662f5d75b91552cb (diff)
parent8f67aa8265b7aef104ffab6431048dec8d5656c7 (diff)
downloadfocaccia-qemu-39a4ef1be680d7e60ee3a1cf6ff328dba0326365.tar.gz
focaccia-qemu-39a4ef1be680d7e60ee3a1cf6ff328dba0326365.zip
Merge branch 'trivial-patches' of git://github.com/stefanha/qemu
* 'trivial-patches' of git://github.com/stefanha/qemu:
  make: Remove 'build-all' rule
  qemu-keymaps: Finnish keyboard mapping broken
  vnc: add a more descriptive error message
  bitops: Fix documentation
  megasas: mark mfi_frame_desc as 'static'
Diffstat (limited to 'vl.c')
-rw-r--r--vl.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/vl.c b/vl.c
index 2e140f57c7..46248b9c1c 100644
--- a/vl.c
+++ b/vl.c
@@ -3584,8 +3584,11 @@ int main(int argc, char **argv, char **envp)
     /* init remote displays */
     if (vnc_display) {
         vnc_display_init(ds);
-        if (vnc_display_open(ds, vnc_display) < 0)
+        if (vnc_display_open(ds, vnc_display) < 0) {
+            fprintf(stderr, "Failed to start VNC server on `%s'\n",
+                    vnc_display);
             exit(1);
+        }
 
         if (show_vnc_port) {
             printf("VNC server running on `%s'\n", vnc_display_local_addr(ds));