Skip to content
Snippets Groups Projects
  1. Jun 06, 2016
  2. Jun 05, 2016
  3. Jun 03, 2016
    • Peter Maydell's avatar
      Merge remote-tracking branch 'remotes/kraxel/tags/pull-ui-20160603-1' into staging · 6b3532b2
      Peter Maydell authored
      
      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: default avatarPeter Maydell <peter.maydell@linaro.org>
      6b3532b2
    • Dmitry Fleytman's avatar
      e1000e: Fix build with ust trace backend · defbaec1
      Dmitry Fleytman authored
      
      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: default avatarDmitry Fleytman <dmitry@daynix.com>
      Message-id: 1464894748-27803-1-git-send-email-dmitry@daynix.com
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      defbaec1
    • Xiaoqiang Zhao's avatar
      hw/audio: QOM'ify milkymist-ac97.c · 07b9098d
      Xiaoqiang Zhao authored
      
      * Drop the old SysBus init function and use instance_init
      * Move AUD_open_in / AUD_open_out function into realize stage
      
      Acked-by: default avatarMichael Walle <michael@walle.cc>
      Tested-by: default avatarMichael Walle <michael@walle.cc>
      Signed-off-by: default avatarxiaoqiang zhao <zxq_yx_007@163.com>
      Message-id: 1463111220-30335-5-git-send-email-zxq_yx_007@163.com
      Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
      07b9098d
    • Xiaoqiang Zhao's avatar
      hw/audio: QOM'ify intel-hda · bda8d9b8
      Xiaoqiang Zhao authored
      
      * use DeviceClass::realize instead of DeviceClass::init
      
      Signed-off-by: default avatarxiaoqiang zhao <zxq_yx_007@163.com>
      Message-id: 1463111220-30335-4-git-send-email-zxq_yx_007@163.com
      Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
      bda8d9b8
    • Xiaoqiang Zhao's avatar
      hw/audio: QOM cleanup for intel-hda · e19202af
      Xiaoqiang Zhao authored
      
      drop the DO_UPCAST macro
      
      Signed-off-by: default avatarxiaoqiang zhao <zxq_yx_007@163.com>
      Message-id: 1463111220-30335-3-git-send-email-zxq_yx_007@163.com
      Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
      e19202af
    • Xiaoqiang Zhao's avatar
      hw/audio: QOM'ify cs4231.c · ff2df541
      Xiaoqiang Zhao authored
      
      Drop the old SysBus init function and use instance_init
      
      Reviewed-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      Signed-off-by: default avatarxiaoqiang zhao <zxq_yx_007@163.com>
      Message-id: 1463111220-30335-2-git-send-email-zxq_yx_007@163.com
      Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
      ff2df541
    • Peter Krempa's avatar
      audio: pa: Set volume of recording stream instead of recording device · e58ff62d
      Peter Krempa authored
      
      Since pulseaudio 1.0 it's possible to set the individual stream volume
      rather than setting the device volume. With this, setting hardware mixer
      of a emulated sound card doesn't mess up the volume configuration of the
      host.
      
      A side effect is that this limits compatible pulseaudio version to 1.0
      which was released on 2011-09-27.
      
      Signed-off-by: default avatarPeter Krempa <pkrempa@redhat.com>
      Reviewed-by: default avatarMarc-André Lureau <marcandre.lureau@redhat.com>
      Message-id: 78853815be2069971b89b3a2e3181837064dd8f3.1462962512.git.pkrempa@redhat.com
      Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
      e58ff62d
    • Gerd Hoffmann's avatar
      virtio-gpu: fix scanout rectangles · fa06e5cb
      Gerd Hoffmann authored
      
      Commit "ca58b45f ui/virtio-gpu: add and use qemu_create_displaysurface_pixman"
      breaks scanouts which use a region of the underlying resource only.
      
      So, we need another way to handle the underlying issue.  Lets create a
      new pixman image, grab a reference on the pixman providing the
      underlying storage, hook up a destroy callback which releases the
      reference.  That way regions work again and releasing the backing
      storage should still be impossible thanks to the extra reference we are
      holding.
      
      Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
      Reviewed-by: default avatarMarc-André Lureau <marcandre.lureau@redhat.com>
      Message-id: 1464597655-26341-1-git-send-email-kraxel@redhat.com
      fa06e5cb
    • Gerd Hoffmann's avatar
      vnc: add configurable keyboard delay · c5ce8333
      Gerd Hoffmann authored
      
      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: default avatarGerd Hoffmann <kraxel@redhat.com>
      Tested-by: default avatarYang Hongyang <hongyang.yang@easystack.cn>
      Message-id: 1464762150-25817-1-git-send-email-kraxel@redhat.com
      c5ce8333
    • Gerd Hoffmann's avatar
      sdl2: skip init without outputs · 8efa5f29
      Gerd Hoffmann authored
      
      Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
      Tested-by: default avatarCole Robinson <crobinso@redhat.com>
      Message-id: 1464790116-32405-1-git-send-email-kraxel@redhat.com
      8efa5f29
Loading