1. 15 5月, 2018 7 次提交
    • G
      ui: add qapi parser for -display · 776d1344
      Gerd Hoffmann 提交于
      Add parse_display_qapi() function which parses the -display command line
      using a qapi visitor for DisplayOptions.  Wire up as default catch in
      parse_display().
      
      Improves the error message for unknown display types.
      
      Also enables json as -display argument, i.e. -display "{ 'type': 'gtk' }"
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      Reviewed-by: NEric Blake <eblake@redhat.com>
      Message-id: 20180507095539.19584-2-kraxel@redhat.com
      776d1344
    • G
      vnc: add magic cookie to VncState · f31f9c10
      Gerd Hoffmann 提交于
      Set magic cookie on initialization.  Clear on cleanup.  Sprinkle a bunch
      of assert()s checking the cookie, to verify the pointer is valid.
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      Message-id: 20180507102254.12107-1-kraxel@redhat.com
      f31f9c10
    • T
      ui/gtk: Only try to initialize EGL/X11 if GtkGlArea failed · 4f4cb828
      Tomeu Vizoso 提交于
      The commit referenced below changed the logic by causing the gtk-egl
      backend to be initialized regardless of whether GtkGlArea initialization
      succeeded. This causes eglInitialize to crash in Wayland systems without
      XWayland.
      
      This patch restores the previous logic.
      
      Fixes: 4c702805 ("ui/gtk: use GtkGlArea on wayland only")
      Signed-off-by: NTomeu Vizoso <tomeu.vizoso@collabora.com>
      Message-id: 20180507134237.14996-1-tomeu.vizoso@collabora.com
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      4f4cb828
    • P
      gtk: make it possible to hide the menu bar · 1d187745
      Peter Wu 提交于
      Saves some space and disables the F10 button as side-effect.
      
      Fixes: https://bugs.launchpad.net/qemu/+bug/1726910Signed-off-by: NPeter Wu <peter@lekensteyn.nl>
      Message-Id: <20180510230739.28459-1-peter@lekensteyn.nl>
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      1d187745
    • G
      sdl2: move opts assignment into loop · f88e5c57
      Gerd Hoffmann 提交于
      So the opts pointer is set for all sdl2_consoles.
      
      Fixes: 844fd50dSigned-off-by: NGerd Hoffmann <kraxel@redhat.com>
      f88e5c57
    • P
      Merge remote-tracking branch 'remotes/cohuck/tags/s390x-20180514' into staging · fbd3a489
      Peter Maydell 提交于
      Some s390x fixes/cleanups, mainly in the reset area and build fixes
      for recent compilers (GCC 8 and clang 6.0.0).
      
      # gpg: Signature made Mon 14 May 2018 16:32:20 BST
      # gpg:                using RSA key DECF6B93C6F02FAF
      # gpg: Good signature from "Cornelia Huck <conny@cornelia-huck.de>"
      # gpg:                 aka "Cornelia Huck <huckc@linux.vnet.ibm.com>"
      # gpg:                 aka "Cornelia Huck <cornelia.huck@de.ibm.com>"
      # gpg:                 aka "Cornelia Huck <cohuck@kernel.org>"
      # gpg:                 aka "Cornelia Huck <cohuck@redhat.com>"
      # Primary key fingerprint: C3D0 D66D C362 4FF6 A8C0  18CE DECF 6B93 C6F0 2FAF
      
      * remotes/cohuck/tags/s390x-20180514:
        target/s390x: Fix brace Werror with clang 6.0.0
        s390x: refactor reset/reipl handling
        s390x/ccw: make sure all ccw devices are properly reset
        virtio-ccw: common reset handler
        pc-bios/s390-ccw: struct tpi_info must be declared as aligned(4)
        s390x/css: disabled subchannels cannot be status pending
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      fbd3a489
    • P
      Merge remote-tracking branch 'remotes/stefanha/tags/block-pull-request' into staging · a9cb55a3
      Peter Maydell 提交于
      Block pull request
      
       * Support -drive cache.direct=off live migration for POSIX files
      
      # gpg: Signature made Sat 12 May 2018 10:27:51 BST
      # gpg:                using RSA key 9CA4ABB381AB73C8
      # gpg: Good signature from "Stefan Hajnoczi <stefanha@redhat.com>"
      # gpg:                 aka "Stefan Hajnoczi <stefanha@gmail.com>"
      # Primary key fingerprint: 8695 A8BF D3F9 7CDA AC35  775A 9CA4 ABB3 81AB 73C8
      
      * remotes/stefanha/tags/block-pull-request:
        block/file-posix: add x-check-page-cache=on|off option
        block/file-posix: implement bdrv_co_invalidate_cache() on Linux
        checkpatch: reduce MAINTAINERS update message frequency
        checkpatch: emit a warning on file add/move/delete
        checkpatch: ignore email headers better
        checkpatch: check utf-8 content from a commit log when it's missing from charset
        checkpatch: add a --strict check for utf-8 in commit logs
        blockjob: drop block_job_pause/resume_all()
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      a9cb55a3
  2. 14 5月, 2018 13 次提交
  3. 12 5月, 2018 1 次提交
    • P
      Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20180510' into staging · f5583c52
      Peter Maydell 提交于
      target-arm queue:
       * hw/arm/iotkit.c: fix minor memory leak
       * softfloat: fix wrong-exception-flags bug for multiply-add corner case
       * arm: isolate and clean up DTB generation
       * implement Arm v8.1-Atomics extension
       * Fix some bugs and missing instructions in the v8.2-FP16 extension
      
      # gpg: Signature made Thu 10 May 2018 18:44:34 BST
      # 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-20180510: (21 commits)
        target/arm: Clear SVE high bits for FMOV
        target/arm: Fix float16 to/from int16
        target/arm: Implement vector shifted FCVT for fp16
        target/arm: Implement vector shifted SCVF/UCVF for fp16
        target/arm: Enable ARM_FEATURE_V8_ATOMICS for user-only
        target/arm: Implement CAS and CASP
        target/arm: Fill in disas_ldst_atomic
        target/arm: Introduce ARM_FEATURE_V8_ATOMICS and initial decode
        target/riscv: Use new atomic min/max expanders
        tcg: Use GEN_ATOMIC_HELPER_FN for opposite endian atomic add
        tcg: Introduce atomic helpers for integer min/max
        target/xtensa: Use new min/max expanders
        target/arm: Use new min/max expanders
        tcg: Introduce helpers for integer min/max
        atomic.h: Work around gcc spurious "unused value" warning
        make sure that we aren't overwriting mc->get_hotplug_handler by accident
        arm/boot: split load_dtb() from arm_load_kernel()
        platform-bus-device: use device plug callback instead of machine_done notifier
        pc: simplify MachineClass::get_hotplug_handler handling
        softfloat: Handle default NaN mode after pickNaNMulAdd, not before
        ...
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      
      # Conflicts:
      #	target/riscv/translate.c
      f5583c52
  4. 11 5月, 2018 19 次提交