1. 28 2月, 2017 12 次提交
  2. 27 2月, 2017 21 次提交
  3. 26 2月, 2017 7 次提交
    • P
      slirp: tcp_listen(): Don't try to close() an fd we never opened · bd5d2353
      Peter Maydell 提交于
      Coverity points out (CID 1005725) that an error-exit path in tcp_listen()
      will try to close(s) even if the reason it got there was that the
      qemu_socket() failed and s was never opened.  Not only that, this isn't even
      the right function to use, because we need closesocket() to do the right
      thing on Windows.  Change to using the right function and only calling it if
      needed.
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      Reviewed-by: NPhilippe Mathieu-Daudé <f4bug@amsat.org>
      Signed-off-by: NSamuel Thibault <samuel.thibault@ens-lyon.org>
      bd5d2353
    • P
      slirp: Convert mbufs to use g_malloc() and g_free() · 70f2e64e
      Peter Maydell 提交于
      The mbuf code currently doesn't check the result of doing a malloc()
      or realloc() of its data (spotted by Coverity, CID 1238946).
      Since the m_inc() API assumes that extending an mbuf must succeed,
      just convert to g_malloc() and g_free().
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      Reviewed-by: NPhilippe Mathieu-Daudé <f4bug@amsat.org>
      Signed-off-by: NSamuel Thibault <samuel.thibault@ens-lyon.org>
      70f2e64e
    • P
      slirp: Check qemu_socket() return value in udp_listen() · 4577b09a
      Peter Maydell 提交于
      Check the return value from qemu_socket() rather than trying to
      pass it to bind() as an fd argument even if it's negative.
      This wouldn't have caused any negative consequences, because
      it won't be a valid fd number and the bind call will fail;
      but Coverity complains (CID 1005723).
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      Reviewed-by: NPhilippe Mathieu-Daudé <f4bug@amsat.org>
      Signed-off-by: NSamuel Thibault <samuel.thibault@ens-lyon.org>
      4577b09a
    • P
      Merge remote-tracking branch 'remotes/kevin/tags/for-upstream' into staging · 6b4e463f
      Peter Maydell 提交于
      Block layer patches
      
      # gpg: Signature made Fri 24 Feb 2017 18:08:26 GMT
      # gpg:                using RSA key 0x7F09B272C88F2FD6
      # 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:
        tests: Use opened block node for block job tests
        vvfat: Use opened node as backing file
        block: Add bdrv_new_open_driver()
        block: Factor out bdrv_open_driver()
        block: Use BlockBackend for image probing
        block: Factor out bdrv_open_child_bs()
        block: Attach bs->file only during .bdrv_open()
        block: Pass BdrvChild to bdrv_truncate()
        mirror: Resize active commit base in mirror_run()
        qcow2: Use BB for resizing in qcow2_amend_options()
        blockdev: Use BlockBackend to resize in qmp_block_resize()
        iotests: Fix another race in 030
        qemu-img: Improve documentation for PREALLOC_MODE_FALLOC
        qemu-img: Truncate before full preallocation
        qemu-img: Add tests for raw image preallocation
        qemu-img: Do not truncate before preallocation
        qemu-iotests: redirect nbd server stdout to /dev/null
        qemu-iotests: add ability to exclude certain protocols from tests
        qemu-iotests: Test 137 only supports 'file' protocol
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      6b4e463f
    • P
      Merge remote-tracking branch 'remotes/cody/tags/block-pull-request' into staging · 6528a4c1
      Peter Maydell 提交于
      # gpg: Signature made Fri 24 Feb 2017 17:45:53 GMT
      # gpg:                using RSA key 0xBDBE7B27C0DE3057
      # gpg: Good signature from "Jeffrey Cody <jcody@redhat.com>"
      # gpg:                 aka "Jeffrey Cody <jeff@codyprime.org>"
      # gpg:                 aka "Jeffrey Cody <codyprime@gmail.com>"
      # Primary key fingerprint: 9957 4B4D 3474 90E7 9D98  D624 BDBE 7B27 C0DE 3057
      
      * remotes/cody/tags/block-pull-request:
        RBD: Add support readv,writev for rbd
        block/nfs: try to avoid the bounce buffer in pwritev
        block/nfs: convert to preadv / pwritev
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      6528a4c1
    • P
      Merge remote-tracking branch 'remotes/yongbok/tags/mips-20170224-2' into staging · 6d3f4c6d
      Peter Maydell 提交于
      MIPS patches 2017-02-24-2
      
      CHanges:
      * Add the Boston board with fixing the make check issue on 32-bit hosts.
      
      # gpg: Signature made Fri 24 Feb 2017 11:43:45 GMT
      # gpg:                using RSA key 0x2238EB86D5F797C2
      # gpg: Good signature from "Yongbok Kim <yongbok.kim@imgtec.com>"
      # gpg: WARNING: This key is not certified with sufficiently trusted signatures!
      # gpg:          It is not certain that the signature belongs to the owner.
      # Primary key fingerprint: 8600 4CF5 3415 A5D9 4CFA  2B5C 2238 EB86 D5F7 97C2
      
      * remotes/yongbok/tags/mips-20170224-2:
        hw/mips: MIPS Boston board support
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      6d3f4c6d
    • P
      Merge remote-tracking branch 'remotes/stsquad/tags/pull-mttcg-240217-1' into staging · 28f997a8
      Peter Maydell 提交于
      This is the MTTCG pull-request as posted yesterday.
      
      # gpg: Signature made Fri 24 Feb 2017 11:17:51 GMT
      # gpg:                using RSA key 0xFBD0DB095A9E2A44
      # gpg: Good signature from "Alex Bennée (Master Work Key) <alex.bennee@linaro.org>"
      # Primary key fingerprint: 6685 AE99 E751 67BC AFC8  DF35 FBD0 DB09 5A9E 2A44
      
      * remotes/stsquad/tags/pull-mttcg-240217-1: (24 commits)
        tcg: enable MTTCG by default for ARM on x86 hosts
        hw/misc/imx6_src: defer clearing of SRC_SCR reset bits
        target-arm: ensure all cross vCPUs TLB flushes complete
        target-arm: don't generate WFE/YIELD calls for MTTCG
        target-arm/powerctl: defer cpu reset work to CPU context
        cputlb: introduce tlb_flush_*_all_cpus[_synced]
        cputlb: atomically update tlb fields used by tlb_reset_dirty
        cputlb: add tlb_flush_by_mmuidx async routines
        cputlb and arm/sparc targets: convert mmuidx flushes from varg to bitmap
        cputlb: introduce tlb_flush_* async work.
        cputlb: tweak qemu_ram_addr_from_host_nofail reporting
        cputlb: add assert_cpu_is_self checks
        tcg: handle EXCP_ATOMIC exception for system emulation
        tcg: enable thread-per-vCPU
        tcg: enable tb_lock() for SoftMMU
        tcg: remove global exit_request
        tcg: drop global lock during TCG code execution
        tcg: rename tcg_current_cpu to tcg_current_rr_cpu
        tcg: add kick timer for single-threaded vCPU emulation
        tcg: add options for enabling MTTCG
        ...
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      28f997a8