1. 06 6月, 2016 33 次提交
  2. 03 6月, 2016 7 次提交
    • 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
    • X
      hw/audio: QOM'ify milkymist-ac97.c · 07b9098d
      xiaoqiang zhao 提交于
      * Drop the old SysBus init function and use instance_init
      * Move AUD_open_in / AUD_open_out function into realize stage
      Acked-by: NMichael Walle <michael@walle.cc>
      Tested-by: NMichael Walle <michael@walle.cc>
      Signed-off-by: Nxiaoqiang zhao <zxq_yx_007@163.com>
      Message-id: 1463111220-30335-5-git-send-email-zxq_yx_007@163.com
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      07b9098d
    • X
      hw/audio: QOM'ify intel-hda · bda8d9b8
      xiaoqiang zhao 提交于
      * use DeviceClass::realize instead of DeviceClass::init
      Signed-off-by: Nxiaoqiang zhao <zxq_yx_007@163.com>
      Message-id: 1463111220-30335-4-git-send-email-zxq_yx_007@163.com
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      bda8d9b8
    • X
      hw/audio: QOM cleanup for intel-hda · e19202af
      xiaoqiang zhao 提交于
      drop the DO_UPCAST macro
      Signed-off-by: Nxiaoqiang zhao <zxq_yx_007@163.com>
      Message-id: 1463111220-30335-3-git-send-email-zxq_yx_007@163.com
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      e19202af
    • X
      hw/audio: QOM'ify cs4231.c · ff2df541
      xiaoqiang zhao 提交于
      Drop the old SysBus init function and use instance_init
      Reviewed-by: NPaolo Bonzini <pbonzini@redhat.com>
      Signed-off-by: Nxiaoqiang zhao <zxq_yx_007@163.com>
      Message-id: 1463111220-30335-2-git-send-email-zxq_yx_007@163.com
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      ff2df541
    • P
      audio: pa: Set volume of recording stream instead of recording device · e58ff62d
      Peter Krempa 提交于
      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: NPeter Krempa <pkrempa@redhat.com>
      Reviewed-by: NMarc-André Lureau <marcandre.lureau@redhat.com>
      Message-id: 78853815be2069971b89b3a2e3181837064dd8f3.1462962512.git.pkrempa@redhat.com
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      e58ff62d