1. 30 4月, 2018 35 次提交
  2. 27 4月, 2018 5 次提交
    • P
      Merge remote-tracking branch 'remotes/kraxel/tags/usb-20180427-pull-request' into staging · 6f0c4706
      Peter Maydell 提交于
      usb: ccid bugfix, misc small improvements.
      
      # gpg: Signature made Fri 27 Apr 2018 11:20:18 BST
      # 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/usb-20180427-pull-request:
        ccid-card: include libcacard.h only
        Fix libusb-1.0.22 deprecated libusb_set_debug with libusb_set_option
        ccid: Fix dwProtocols advertisement of T=0
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      6f0c4706
    • P
      Merge remote-tracking branch 'remotes/kraxel/tags/ui-20180427-pull-request' into staging · 10f4718b
      Peter Maydell 提交于
      vnc: fix use-after-free.
      sdl2: gles support.
      vfio-display: add reset support.
      
      # gpg: Signature made Fri 27 Apr 2018 10:54:17 BST
      # 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-20180427-pull-request:
        ui: introduce vfio_display_reset
        console: introduce dpy_gfx_update_full
        sdl: Allow OpenGL ES context creation
        sdl: Move DisplayOptions global to sdl2_console
        qapi: Parameter gl of DisplayType now accept an enum
        vnc: fix use-after-free
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      10f4718b
    • P
      Merge remote-tracking branch 'remotes/dgibson/tags/ppc-for-2.13-20180427' into staging · dcbd26f8
      Peter Maydell 提交于
      ppc patch queue 2018-04-27
      
      Here's the first batch of ppc patches for 2.13.  This has a lot of
      stuff that's accumulated during the 2.12 freeze.  Highlights are:
      
          * Many improvements for the Uninorth PCI host bridge for Mac
            machine types
          * Preliminary helpers improve handling of multiple backing
            pagesizes (not strictly ppc related, but have acks and aimed to
            allow future ppc changes)
          * Cleanups to pseries cpu initialization
          * Cleanups to hash64 MMU handling
          * Assorted bugfixes and improvements
      
      # gpg: Signature made Fri 27 Apr 2018 10:20:30 BST
      # gpg:                using RSA key 6C38CACA20D9B392
      # gpg: Good signature from "David Gibson <david@gibson.dropbear.id.au>"
      # gpg:                 aka "David Gibson (Red Hat) <dgibson@redhat.com>"
      # gpg:                 aka "David Gibson (ozlabs.org) <dgibson@ozlabs.org>"
      # gpg:                 aka "David Gibson (kernel.org) <dwg@kernel.org>"
      # Primary key fingerprint: 75F4 6586 AE61 A66C C44E  87DC 6C38 CACA 20D9 B392
      
      * remotes/dgibson/tags/ppc-for-2.13-20180427: (49 commits)
        Clear mem_path if we fall back to anonymous RAM allocation
        spapr: Set compatibility mode before the rest of spapr_cpu_reset()
        target/ppc: Don't bother with MSR_EP in cpu_ppc_set_papr()
        spapr: Support ibm,dynamic-memory-v2 property
        ppc: e500: switch E500 based machines to full machine definition
        spapr: Add ibm,max-associativity-domains property
        target/ppc: Fold slb_nr into PPCHash64Options
        target/ppc: Get rid of POWERPC_MMU_VER() macros
        target/ppc: Remove unnecessary POWERPC_MMU_V3 flag from mmu_model
        target/ppc: Fold ci_large_pages flag into PPCHash64Options
        target/ppc: Move 1T segment and AMR options to PPCHash64Options
        target/ppc: Make hash64_opts field mandatory for 64-bit hash MMUs
        target/ppc: Split page size information into a separate allocation
        target/ppc: Move page size setup to helper function
        target/ppc: Remove fallback 64k pagesize information
        target/ppc: Avoid taking "env" parameter to mmu-hash64 functions
        target/ppc: Pass cpu instead of env to ppc_create_page_sizes_prop()
        target/ppc: Simplify cpu valid check in ppc_cpu_realize
        target/ppc: Standardize instance_init and realize function names
        spapr: drop useless dynamic sysbus device sanity check
        ...
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      dcbd26f8
    • T
      ui: introduce vfio_display_reset · 8983e3e3
      Tina Zhang 提交于
      During guest OS reboot, guest framebuffer is invalid. It will cause
      bugs, if the invalid guest framebuffer is still used by host.
      
      This patch is to introduce vfio_display_reset which is invoked
      during vfio display reset. This vfio_display_reset function is used
      to release the invalid display resource, disable scanout mode and
      replace the invalid surface with QemuConsole's DisplaySurafce.
      
      This patch can fix the GPU hang issue caused by gd_egl_draw during
      guest OS reboot.
      
      Changes v3->v4:
       - Move dma-buf based display check into the vfio_display_reset().
         (Gerd)
      
      Changes v2->v3:
       - Limit vfio_display_reset to dma-buf based vfio display. (Gerd)
      
      Changes v1->v2:
       - Use dpy_gfx_update_full() update screen after reset. (Gerd)
       - Remove dpy_gfx_switch_surface(). (Gerd)
      Signed-off-by: NTina Zhang <tina.zhang@intel.com>
      Message-id: 1524820266-27079-3-git-send-email-tina.zhang@intel.com
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      8983e3e3
    • T
      console: introduce dpy_gfx_update_full · 7cd0afe6
      Tina Zhang 提交于
      dpy_gfx_update_full is used to do the whole display surface update.
      
      This function is proposed by Gerd Hoffmann.
      Signed-off-by: NTina Zhang <tina.zhang@intel.com>
      Message-id: 1524820266-27079-2-git-send-email-tina.zhang@intel.com
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      7cd0afe6