1. 06 6月, 2016 4 次提交
  2. 03 6月, 2016 9 次提交
    • P
      Merge remote-tracking branch 'remotes/kraxel/tags/pull-ui-20160603-1' into staging · 6b3532b2
      Peter Maydell 提交于
      vnc: keyboard delay, colormap support
      ui: misc bugfixes
      
      # gpg: Signature made Fri 03 Jun 2016 08:02:32 BST using RSA key ID D3E87138
      # gpg: Good signature from "Gerd Hoffmann (work) <kraxel@redhat.com>"
      # gpg:                 aka "Gerd Hoffmann <gerd@kraxel.org>"
      # gpg:                 aka "Gerd Hoffmann (private) <kraxel@gmail.com>"
      
      * remotes/kraxel/tags/pull-ui-20160603-1:
        vnc: add configurable keyboard delay
        sdl2: skip init without outputs
        vnc: Add support for color map
        SDL2: add bgrx pixel format
        gtk: fix unchecked vc dereference
        ui: spice: Exit if gl=on EGL init fails
        ui: egl: Replace fprintf with error_report
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      6b3532b2
    • D
      e1000e: Fix build with ust trace backend · defbaec1
      Dmitry Fleytman 提交于
      ust trace backend has limitation of maximum 10
      arguments per event. Traces with more arguments
      cannot be compiled for this backend.
      
      Trace e1000e_rx_rss_ip6 introduced by previous
      commits has 11 arguments and fails to compile with
      ust trace backend.
      
      This patch fixes the problem by splitting this
      tracepoint into two successive tracepoints with
      smaller number of arguments.
      
      For more information see comment regarding TP_ARGS
      in lttng/tracepoint.h:
      
      /*
      * TP_ARGS takes tuples of type, argument separated by a comma.
      * It can take up to 10 tuples (which means that less than 10 tuples is
      * fine too).
      * Each tuple is also separated by a comma.
      */
      
      Build log generated by this problem:
      
      In file included from ./trace/generated-tracers.h:9:0,
                       from /home/travis/build/qemu/qemu/include/trace.h:4,
                       from util/oslib-posix.c:36:
      ./trace/generated-ust-provider.h:16556:3: error: unknown type name ‘_TP_EXPROTO_Bool’
      In file included from /home/travis/build/qemu/qemu/include/trace.h:4:0,
                       from util/oslib-posix.c:36:
      ./trace/generated-tracers.h: In function ‘trace_e1000e_rx_rss_ip6’:
      ./trace/generated-tracers.h:8379:431: error: expected string literal before ‘_SDT_ASM_OPERANDS_ipv6_enabled’
      ./trace/generated-tracers.h:8379:431: error: implicit declaration of function ‘__tracepoint_cb_qemu___e1000e_rx_rss_ip6’ [-Werror=implicit-function-declaration]
      ./trace/generated-tracers.h:8379:431: error: nested extern declaration of ‘__tracepoint_cb_qemu___e1000e_rx_rss_ip6’ [-Werror=nested-externs]
      cc1: all warnings being treated as errors
      make: *** [util/oslib-posix.o] Error 1
      make: *** Waiting for unfinished jobs....
      In file included from ./trace/generated-tracers.h:9:0,
                       from /home/travis/build/qemu/qemu/include/trace.h:4,
                       from util/hbitmap.c:16:
      ./trace/generated-ust-provider.h:16556:3: error: unknown type name ‘_TP_EXPROTO_Bool’
      In file included from /home/travis/build/qemu/qemu/include/trace.h:4:0,
                       from util/hbitmap.c:16:
      ./trace/generated-tracers.h: In function ‘trace_e1000e_rx_rss_ip6’:
      ./trace/generated-tracers.h:8379:431: error: expected string literal before ‘_SDT_ASM_OPERANDS_ipv6_enabled’
      ./trace/generated-tracers.h:8379:431: error: implicit declaration of function ‘__tracepoint_cb_qemu___e1000e_rx_rss_ip6’ [-Werror=implicit-function-declaration]
      ./trace/generated-tracers.h:8379:431: error: nested extern declaration of ‘__tracepoint_cb_qemu___e1000e_rx_rss_ip6’ [-Werror=nested-externs]
      cc1: all warnings being treated as errors
      make: *** [util/hbitmap.o] Error 1
      Signed-off-by: NDmitry Fleytman <dmitry@daynix.com>
      Message-id: 1464894748-27803-1-git-send-email-dmitry@daynix.com
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      defbaec1
    • G
      vnc: add configurable keyboard delay · c5ce8333
      Gerd Hoffmann 提交于
      Limits the rate kbd events from the vnc server are forwarded to the
      guest, so input devices which are typically low-bandwidth can keep
      up even on bulky input.
      
      v2: update documentation too.
      v3: spell fixes.
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      Tested-by: NYang Hongyang <hongyang.yang@easystack.cn>
      Message-id: 1464762150-25817-1-git-send-email-kraxel@redhat.com
      c5ce8333
    • G
      sdl2: skip init without outputs · 8efa5f29
      Gerd Hoffmann 提交于
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      Tested-by: NCole Robinson <crobinso@redhat.com>
      Message-id: 1464790116-32405-1-git-send-email-kraxel@redhat.com
      8efa5f29
    • A
      vnc: Add support for color map · 0c426e45
      Alexander Graf 提交于
      Our current VNC code does not handle color maps (aka non-true-color) at all
      and aborts if a client requests them. There are 2 major issues with this:
      
       1) A VNC viewer on an 8-bit X11 system may request color maps
       2) RealVNC _always_ starts requesting color maps, then moves on to full color
      
      In order to support these 2 use cases, let's just create a fake color map
      that covers exactly our normal true color 8 bit color space. That way we don't
      lose anything over a client that wants true color.
      Reported-by: NSascha Wehnert <swehnert@suse.com>
      Signed-off-by: NAlexander Graf <agraf@suse.de>
      Signed-off-by: NPavel Butsykin <pbutsykin@virtuozzo.com>
      Signed-off-by: NDenis V. Lunev <den@openvz.org>
      Message-id: 1464099559-20789-1-git-send-email-den@openvz.org
      
      Actually this is a very old patch originally submitted in 2013 by
      Alexander. The situation is still the same with RealVNC, it does not
      connect by default to QEMU VNC. The problem is that this client is
      really popular. This is better to be kludged.
      Signed-off-by: NPavel Butsykin <pbutsykin@virtuozzo.com>
      Signed-off-by: NDenis V. Lunev <den@openvz.org>
      CC: Gerd Hoffmann <kraxel@redhat.com>
      CC: Paolo Bonzini <pbonzini@redhat.com>
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      0c426e45
    • P
      SDL2: add bgrx pixel format · 435deffe
      Pavel Dovgalyuk 提交于
      This patch adds support of b8g8r8x8 pixel format for SDL2.
      Signed-off-by: NPavel Dovgalyuk <pavel.dovgaluk@ispras.ru>
      Message-id: 20160517072848.4540.34695.stgit@PASHA-ISP
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      435deffe
    • G
      gtk: fix unchecked vc dereference · 41cc5239
      Gerd Hoffmann 提交于
      Spotted by Coverity.
      
      Cc: Paolo Bonzini <pbonzini@redhat.com>
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      Message-id: 1463737748-1062-1-git-send-email-kraxel@redhat.com
      41cc5239
    • C
      ui: spice: Exit if gl=on EGL init fails · daafc661
      Cole Robinson 提交于
      The user explicitly requested spice GL, so if we know it isn't
      going to work we should exit
      Signed-off-by: NCole Robinson <crobinso@redhat.com>
      Reviewed-by: NMarc-André Lureau <marcandre.lureau@redhat.com>
      Message-id: e3789e35b16f9e3cc6f2652f91c52d88ba6d6936.1463588606.git.crobinso@redhat.com
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      daafc661
    • C
      ui: egl: Replace fprintf with error_report · 38a55bdd
      Cole Robinson 提交于
      Signed-off-by: NCole Robinson <crobinso@redhat.com>
      Reviewed-by: NEric Blake <eblake@redhat.com>
      Reviewed-by: NMarc-André Lureau <marcandre.lureau@redhat.com>
      Message-id: c880920f6e40a506394d89dbbe1f67c63d359c17.1463588606.git.crobinso@redhat.com
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      38a55bdd
  3. 02 6月, 2016 27 次提交