1. 10 6月, 2014 3 次提交
    • M
      vscclient: use glib thread primitives not qemu · 2a0c46da
      Michael Tokarev 提交于
      Use glib-provided thread primitives in vscclient instead of
      qemu ones, and do not use qemu sockets in there (open-code
      call to WSAStartup() for windows to initialize things).
      
      This way, vscclient becomes more stand-alone, independent on
      qemu internals.
      Signed-off-by: NMichael Tokarev <mjt@tls.msk.ru>
      Reviewed-by: NAlon Levy <alevy@redhat.com>
      Tested-by: NAlon Levy <alevy@redhat.com>
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      2a0c46da
    • M
      glib-compat.h: add new thread API emulation on top of pre-2.31 API · 86946a2d
      Michael Tokarev 提交于
      Thread API changed in glib-2.31 significantly.  Before that version,
      conditionals and mutexes were only allocated dynamically, using
      _new()/_free() interface.  in 2.31 and up, they're allocated statically
      as regular variables, and old interface is deprecated.
      
      (Note: glib docs says the new interface is available since version
      2.32, but it was actually introduced in version 2.31).
      
      Create the new interface using old primitives, by providing non-opaque
      definitions of the base types (GCond and GMutex) using GOnces.
      
      Replace #ifdeffery around GCond and GMutex in trace/simple.c and
      coroutine-gthread.c too because it does not work anymore with the new
      glib-compat.h.
      Signed-off-by: NMichael Tokarev <mjt@tls.msk.ru>
      Reviewed-by: NStefan Hajnoczi <stefanha@redhat.com>
      [Use GOnce to support lazy initialization; introduce CompatGMutex
       and CompatGCond.  - Paolo]
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      86946a2d
    • P
      Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20140609-1' into staging · 7721a304
      Peter Maydell 提交于
      ```-------------------------------------------------------------
      target-arm queue:
       * support -bios option in vexpress boards
       * register the Cortex-A57 impdef system registers
       * fix handling of UXN bit in ARMv8 page tables
       * complete support of crypto insns in A32/T32
       * implement CRC and crypto insns in A64
       * fix bugs in generic timer control register
      ```
      
      -------------------------------------------------------------
      
      # gpg: Signature made Mon 09 Jun 2014 16:08:26 BST using RSA key ID 14360CDE
      # gpg: Good signature from "Peter Maydell <peter.maydell@linaro.org>"
      
      * remotes/pmaydell/tags/pull-target-arm-20140609-1:
        target-arm: Delete unused iwmmxt_msadb helper
        target-arm: Fix errors in writes to generic timer control registers
        target-arm: A64: Implement two-register SHA instructions
        target-arm: A64: Implement 3-register SHA instructions
        target-arm: A64: Implement AES instructions
        target-arm: A32/T32: Mask CRC value in calling code, not helper
        target-arm: A64: Implement CRC instructions
        target-arm: VFPv4 implies half-precision extension
        target-arm: Clean up handling of ARMv8 optional feature bits
        target-arm: Remove unnecessary setting of feature bits
        target-arm: arm_any_initfn() should never set ARM_FEATURE_AARCH64
        target-arm: A64: Use PMULL feature bit for PMULL
        target-arm: add support for v8 VMULL.P64 instruction
        target-arm: Allow 3reg_wide undefreq to encode more bad size options
        target-arm: add support for v8 SHA1 and SHA256 instructions
        target-arm: Correct handling of UXN bit in ARMv8 LPAE page tables
        target-arm: Prepare cpreg writefns/readfns for EL3/SecExt
        target-arm/cpu64.c: Actually register Cortex-A57 impdef registers
        vexpress: Add support for the -bios flag to provide firmware
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      7721a304
  2. 09 6月, 2014 37 次提交