1. 13 3月, 2018 1 次提交
  2. 12 3月, 2018 18 次提交
    • P
      Merge remote-tracking branch 'remotes/kraxel/tags/ui-20180312-pull-request' into staging · b16a54da
      Peter Maydell 提交于
      gtk,spice: add dmabuf support.
      sdl,vnc,gtk: bugfixes.
      ui/qapi: add device ID and head parameters to screendump.
      build: try improve handling of clang warnings.
      
      # gpg: Signature made Mon 12 Mar 2018 09:13:28 GMT
      # gpg:                using RSA key 4CB6D8EED3E87138
      # 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>"
      # Primary key fingerprint: A032 8CFF B93A 17A7 9901  FE7D 4CB6 D8EE D3E8 7138
      
      * remotes/kraxel/tags/ui-20180312-pull-request:
        qapi: Add device ID and head parameters to screendump
        spice: add cursor_dmabuf support
        spice: add scanout_dmabuf support
        spice: drop dprint() debug logging
        vnc: deal with surface NULL pointers
        ui/gtk-egl: add cursor_dmabuf support
        ui/gtk-egl: add scanout_dmabuf support
        ui/gtk: use GtkGlArea on wayland only
        ui/opengl: Makefile cleanup
        ui/gtk: group gtk.mo declarations in Makefile
        ui/gtk: make GtkGlArea usage a runtime option
        sdl: workaround bug in sdl 2.0.8 headers
        make: switch language file build to be gtk module aware
        build: try improve handling of clang warnings
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      b16a54da
    • P
      Merge remote-tracking branch 'remotes/dgilbert/tags/pull-migration-20180309a' into staging · 819fd469
      Peter Maydell 提交于
      Migration pull 2018-03-09
      
      # gpg: Signature made Fri 09 Mar 2018 17:52:46 GMT
      # gpg:                using RSA key 0516331EBC5BFDE7
      # gpg: Good signature from "Dr. David Alan Gilbert (RH2) <dgilbert@redhat.com>"
      # Primary key fingerprint: 45F5 C71B 4A0C B7FB 977A  9FA9 0516 331E BC5B FDE7
      
      * remotes/dgilbert/tags/pull-migration-20180309a:
        tests: Silence migration-test 'bad' test
        migration: fix applying wrong capabilities
        migration/block: rename MAX_INFLIGHT_IO to MAX_IO_BUFFERS
        migration/block: reset dirty bitmap before read in bulk phase
        migration: do not transfer ram during bulk storage migration
        migration: fix minor finalize leak
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      819fd469
    • P
      Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20180309' into staging · 5df08956
      Peter Maydell 提交于
      target-arm queue:
       * i.MX: Add i.MX7 SOC implementation and i.MX7 Sabre board
       * Report the correct core count in A53 L2CTLR on the ZynqMP board
       * linux-user: preliminary SVE support work (signal handling)
       * hw/arm/boot: fix memory leak in case of error loading ELF file
       * hw/arm/boot: avoid reading off end of buffer if passed very
         small image file
       * hw/arm: Use more CONFIG switches for the object files
       * target/arm: Add "-cpu max" support
       * hw/arm/virt: Support -machine gic-version=max
       * hw/sd: improve debug tracing
       * hw/sd: sdcard: Add the Tuning Command (CMD 19)
       * MAINTAINERS: add Philippe as odd-fixes maintainer for SD
      
      # gpg: Signature made Fri 09 Mar 2018 17:24:23 GMT
      # gpg:                using RSA key 3C2525ED14360CDE
      # gpg: Good signature from "Peter Maydell <peter.maydell@linaro.org>"
      # gpg:                 aka "Peter Maydell <pmaydell@gmail.com>"
      # gpg:                 aka "Peter Maydell <pmaydell@chiark.greenend.org.uk>"
      # Primary key fingerprint: E1A5 C593 CD41 9DE2 8E83  15CF 3C25 25ED 1436 0CDE
      
      * remotes/pmaydell/tags/pull-target-arm-20180309: (25 commits)
        MAINTAINERS: Add entries for SD (SDHCI, SDBus, SDCard)
        sdhci: Fix a typo in comment
        sdcard: Add the Tuning Command (CMD19)
        sdcard: Display which protocol is used when tracing (SD or SPI)
        sdcard: Display command name when tracing CMD/ACMD
        sdcard: Do not trace CMD55, except when we already expect an ACMD
        hw/arm/virt: Support -machine gic-version=max
        hw/arm/virt: Add "max" to the list of CPU types "virt" supports
        target/arm: Make 'any' CPU just an alias for 'max'
        target/arm: Add "-cpu max" support
        target/arm: Move definition of 'host' cpu type into cpu.c
        target/arm: Query host CPU features on-demand at instance init
        arm: avoid heap-buffer-overflow in load_aarch64_image
        arm: fix load ELF error leak
        hw/arm: Use more CONFIG switches for the object files
        aarch64-linux-user: Add support for SVE signal frame records
        aarch64-linux-user: Add support for EXTRA signal frame records
        aarch64-linux-user: Remove struct target_aux_context
        aarch64-linux-user: Split out helpers for guest signal handling
        linux-user: Implement aarch64 PR_SVE_SET/GET_VL
        ...
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      5df08956
    • P
      Merge remote-tracking branch 'remotes/kevin/tags/for-upstream' into staging · 12c06d6f
      Peter Maydell 提交于
      Block layer patches
      
      # gpg: Signature made Fri 09 Mar 2018 15:09:20 GMT
      # gpg:                using RSA key 7F09B272C88F2FD6
      # gpg: Good signature from "Kevin Wolf <kwolf@redhat.com>"
      # Primary key fingerprint: DC3D EB15 9A9A F95D 3D74  56FE 7F09 B272 C88F 2FD6
      
      * remotes/kevin/tags/for-upstream: (56 commits)
        qemu-iotests: fix 203 migration completion race
        iotests: Tweak 030 in order to trigger a race condition with parallel jobs
        iotests: Skip test for ENOMEM error
        iotests: Mark all tests executable
        iotests: Test creating overlay when guest running
        qemu-iotests: Test ssh image creation over QMP
        qemu-iotests: Test qcow2 over file image creation with QMP
        block: Fail bdrv_truncate() with negative size
        file-posix: Fix no-op bdrv_truncate() with falloc preallocation
        ssh: Support .bdrv_co_create
        ssh: Pass BlockdevOptionsSsh to connect_to_ssh()
        ssh: QAPIfy host-key-check option
        ssh: Use QAPI BlockdevOptionsSsh object
        sheepdog: Support .bdrv_co_create
        sheepdog: QAPIfy "redundancy" create option
        nfs: Support .bdrv_co_create
        nfs: Use QAPI options in nfs_client_open()
        rbd: Use qemu_rbd_connect() in qemu_rbd_do_create()
        rbd: Assign s->snap/image_name in qemu_rbd_open()
        rbd: Support .bdrv_co_create
        ...
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      12c06d6f
    • T
      qapi: Add device ID and head parameters to screendump · f771c544
      Thomas Huth 提交于
      QEMU's screendump command can only take dumps from the primary display.
      When using multiple VGA cards, there is no way to get a dump from a
      secondary card or other display heads yet. So let's add a 'device' and
      a 'head' parameter to the HMP and QMP commands to be able to specify
      alternative devices and heads with the screendump command, too.
      Reviewed-by: NDaniel P. Berrangé <berrange@redhat.com>
      Acked-by: NDr. David Alan Gilbert <dgilbert@redhat.com>
      Reviewed-by: NGerd Hoffmann <kraxel@redhat.com>
      Signed-off-by: NThomas Huth <thuth@redhat.com>
      Reviewed-by: NEric Blake <eblake@redhat.com>
      Message-id: 1520267868-31778-1-git-send-email-thuth@redhat.com
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      f771c544
    • G
      spice: add cursor_dmabuf support · b153f901
      Gerd Hoffmann 提交于
      Add support for cursor dmabufs.  qemu has to render the cursor for
      that, so in case a cursor is present qemu allocates a new dmabuf, blits
      the scanout, blends in the pointer and passes on the new dmabuf to
      spice-server.  Without cursor qemu continues to simply pass on the
      scanout dmabuf as-is.
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      Reviewed-by: NMarc-André Lureau <marcandre.lureau@redhat.com>
      Message-id: 20180308090618.30147-4-kraxel@redhat.com
      b153f901
    • G
      spice: add scanout_dmabuf support · cd2452b2
      Gerd Hoffmann 提交于
      Add support for scanout dmabufs.  Just
      pass them through to spice-server.
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      Reviewed-by: NMarc-André Lureau <marcandre.lureau@redhat.com>
      Message-id: 20180308090618.30147-3-kraxel@redhat.com
      cd2452b2
    • G
      spice: drop dprint() debug logging · e181f8bb
      Gerd Hoffmann 提交于
      Some calls are deleted, some are converted into tracepoints.
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      Reviewed-by: NMarc-André Lureau <marcandre.lureau@redhat.com>
      Message-id: 20180308090618.30147-2-kraxel@redhat.com
      e181f8bb
    • G
      vnc: deal with surface NULL pointers · 2e5567c9
      Gerd Hoffmann 提交于
      Secondary displays in multihead setups are allowed to have a NULL
      DisplaySurface.  Typically user interfaces handle this by hiding the
      window which shows the display in question.
      
      This isn't an option for vnc though because it simply hasn't a concept
      of windows or outputs.  So handle the situation by showing a placeholder
      DisplaySurface instead.  Also check in console_select whenever a surface
      is preset in the first place before requesting an update.
      
      This fixes a segfault which can be triggered by switching to an unused
      display (via vtrl-alt-<nr>) in a multihead setup, for example using
      -device virtio-vga,max_outputs=2.
      
      Cc: Christian Borntraeger <borntraeger@de.ibm.com>
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      Reviewed-by: NPhilippe Mathieu-Daudé <f4bug@amsat.org>
      Tested-by: NChristian Borntraeger <borntraeger@de.ibm.com>
      Message-id: 20180308161803.6152-1-kraxel@redhat.com
      2e5567c9
    • G
      ui/gtk-egl: add cursor_dmabuf support · f1bd3132
      Gerd Hoffmann 提交于
      Add support for cursor dmabufs to gtk-egl.  Just blend in the cursor
      (if we have one) when rendering the dmabuf.
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      Message-id: 20180306090951.22932-7-kraxel@redhat.com
      f1bd3132
    • G
      ui/gtk-egl: add scanout_dmabuf support · 70763fea
      Gerd Hoffmann 提交于
      Add support for dmabuf scanouts to gtk-egl.
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      Message-id: 20180306090951.22932-6-kraxel@redhat.com
      70763fea
    • G
      ui/gtk: use GtkGlArea on wayland only · 4c702805
      Gerd Hoffmann 提交于
      For dma-buf support we need a egl context.  The gtk x11 backend uses glx
      contexts though.  We can't use the GtkGlArea widget on x11 because of
      that, so use our own gtk-egl code instead.  wayland continues to use
      the GtkGlArea widget.
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      Message-id: 20180306090951.22932-5-kraxel@redhat.com
      4c702805
    • G
      ui/opengl: Makefile cleanup · 2f92f37c
      Gerd Hoffmann 提交于
      With gtk.mo bits moved away we don't need the ifeq any more.
      Also add missing opengl libs for some objects.
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      Message-id: 20180306090951.22932-4-kraxel@redhat.com
      2f92f37c
    • G
      ui/gtk: group gtk.mo declarations in Makefile · c923cbed
      Gerd Hoffmann 提交于
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      Message-id: 20180306090951.22932-3-kraxel@redhat.com
      c923cbed
    • G
      ui/gtk: make GtkGlArea usage a runtime option · 11c82b58
      Gerd Hoffmann 提交于
      Compile in both gtk-egl and gtk-gl-area, then allow to choose at runtime
      instead of compile time which opengl variant we want use.
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      Message-id: 20180306090951.22932-2-kraxel@redhat.com
      11c82b58
    • G
      sdl: workaround bug in sdl 2.0.8 headers · 2ca5c430
      Gerd Hoffmann 提交于
      https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=892087Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      Reviewed-by: NDaniel P. Berrangé <berrange@redhat.com>
      Message-id: 20180307154258.9313-1-kraxel@redhat.com
      2ca5c430
    • B
      make: switch language file build to be gtk module aware · 722cd749
      Bruce Rogers 提交于
      Now that gtk support builds as a module, CONFIG_GTK changed from
      y to m. Adjust Makefile correspondingly.
      Signed-off-by: NBruce Rogers <brogers@suse.com>
      Message-id: 20180307155517.32570-1-brogers@suse.com
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      722cd749
    • G
      build: try improve handling of clang warnings · 0e39c4aa
      Gerd Hoffmann 提交于
      This patch disables the pragma diagnostic -Wunused-but-set-variable for
      clang in util/coroutine-ucontext.c.
      
      This in turn allows us to remove it from the configure check, so the
      CONFIG_PRAGMA_DIAGNOSTIC_AVAILABLE will succeed for clang.
      
      With that in place clang builds (linux) will use -Werror by default,
      which breaks the build due to warning about unaligned struct members.
      
      Just turning off this warning isn't a good idea as it indicates
      portability problems.  So make it a warning again, using
      -Wno-error=address-of-packed-member.  That way it doesn't break the
      build but still shows up in the logs.
      
      Now clang builds qemu without errors.  Well, almost.  There are some
      left in the rdma code.  Leaving that to the rdma people.  All others can
      use --disable-rdma to workarounds this.
      
      Cc: Peter Maydell <peter.maydell@linaro.org>
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      Message-Id: <20180309135945.20436-1-kraxel@redhat.com>
      Reviewed-by: NThomas Huth <thuth@redhat.com>
      Reviewed-by: NPhilippe Mathieu-Daudé <f4bug@amsat.org>
      0e39c4aa
  3. 10 3月, 2018 21 次提交