1. 16 3月, 2015 3 次提交
  2. 13 3月, 2015 1 次提交
  3. 12 3月, 2015 4 次提交
    • M
      9pfs-proxy: tiny cleanups in proxy_pwritev and proxy_preadv · 7752efca
      Michael Tokarev 提交于
      Don't compare syscall return with -1, use "<0" condition.
      Don't introduce useless local variables when we already
      have similar variable
      Rename local variable to be consistent with other usages
      Finally make the two methods, read and write, to be similar to each other
      Signed-off-by: NMichael Tokarev <mjt@tls.msk.ru>
      Signed-off-by: NAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
      7752efca
    • M
      9pfs-local: simplify/optimize local_mapped_attr_path() · 1b6f85e2
      Michael Tokarev 提交于
      Omit one unnecessary memory allocation for components
      of the path and create the resulting path directly given
      lengths of the components.
      
      Do not use basename(3) because there are 2 versions of
      this function which differs when argument ends with
      slash character, use strrchr() instead so we have
      consistent result.  This also makes sure the function
      will do the right thing in corner cases (eg, empty
      pathname is given), when basename(3) return entirely
      another string.
      Signed-off-by: NMichael Tokarev <mjt@tls.msk.ru>
      Signed-off-by: NAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
      1b6f85e2
    • P
      Merge remote-tracking branch 'remotes/lalrae/tags/mips-20150311' into staging · ee748010
      Peter Maydell 提交于
      MIPS patches 2015-03-11
      
      Changes:
      * use VMStateDescription for MIPS CPU
      
      # gpg: Signature made Wed Mar 11 15:01:52 2015 GMT using RSA key ID 0B29DA6B
      # gpg: Can't check signature: public key not found
      
      * remotes/lalrae/tags/mips-20150311:
        target-mips: add missing MSACSR and restore fp_status and hflags
        target-mips: replace cpu_save/cpu_load with VMStateDescription
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      ee748010
    • P
      Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20150311' into staging · d598911b
      Peter Maydell 提交于
      target-arm queue:
       * fix a bug in bitops.h
       * implement SD card support on integratorcp
       * add a missing 'compatible' property for Cortex-A57
       * add Netduino 2 machine model
       * fix command line parsing bug for CPU options with multiple CPUs
      
      # gpg: Signature made Wed Mar 11 14:14:22 2015 GMT using RSA key ID 14360CDE
      # gpg: Good signature from "Peter Maydell <peter.maydell@linaro.org>"
      
      * remotes/pmaydell/tags/pull-target-arm-20150311:
        bitops.h: sextract64() return type should be int64_t, not uint64_t
        integrator/cp: Implement CARDIN and WPROT signals
        integrator/cp: Model CP control registers as sysbus device
        target-arm: Add missing compatible property to A57
        netduino2: Add the Netduino 2 Machine
        stm32f205: Add the stm32f205 SoC
        stm32f2xx_SYSCFG: Add the stm32f2xx SYSCFG
        stm32f2xx_USART: Add the stm32f2xx USART Controller
        stm32f2xx_timer: Add the stm32f2xx Timer
        hw/arm/virt: fix cmdline parsing bug with CPU options and smp > 1
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      d598911b
  4. 11 3月, 2015 28 次提交
  5. 10 3月, 2015 4 次提交
    • P
      Merge remote-tracking branch 'remotes/kevin/tags/for-upstream' into staging · 19760581
      Peter Maydell 提交于
      Block patches for 2.3
      
      # gpg: Signature made Tue Mar 10 13:03:17 2015 GMT using RSA key ID C88F2FD6
      # gpg: Good signature from "Kevin Wolf <kwolf@redhat.com>"
      
      * remotes/kevin/tags/for-upstream: (73 commits)
        MAINTAINERS: Add jcody as blockjobs, block devices maintainer
        iotests: add O_DIRECT alignment probing test
        block/raw-posix: fix launching with failed disks
        MAINTAINERS: Add jsnow as IDE maintainer
        sheepdog: Fix misleading error messages in sd_snapshot_create()
        Add testcase for scsi-hd devices without drive property
        scsi-hd: fix property unset case
        block/vdi: Add locking for parallel requests
        iotests: Drop vpc from 004's and 104's format list
        iotests: Remove 006
        iotests: Fix 051's reference output
        virtio-blk: Remove the stale FIXME comment
        tests: Check QVIRTIO_F_ANY_LAYOUT flag in virtio-blk test
        libqos: Solve bug in interrupt checking when using MSIX in virtio-pci.c
        sheepdog: fix confused return values
        qtest/ahci: add fragmented dma test
        qtest/ahci: Add PIO and LBA48 tests
        qtest/ahci: Add DMA test variants
        libqos/ahci: add ahci command helpers
        qtest/ahci: Add a macro bootup routine
        ...
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      19760581
    • J
      MAINTAINERS: Add jcody as blockjobs, block devices maintainer · 280458a3
      Jeff Cody 提交于
      The block layer maintainership is being split up into smaller, more
      manageable pieces.
      
      I propose that I take over / assist with the following areas:
      
          * blockjobs
          * archipelago
          * curl
          * gluster
          * nfs
          * rbd
          * sheepdog
          * ssh
          * vhdx
      
      As John Snow noted in a different patch:
      
      As we split out the block layer, we will begin using the qemu-block
      mailing list as a catchall for all of the block layer subcomponents.
      Please CC qemu-block@nongnu.org for all block layer patches, including
      any that touch the above listed areas.
      Signed-off-by: NJeff Cody <jcody@redhat.com>
      Signed-off-by: NKevin Wolf <kwolf@redhat.com>
      280458a3
    • S
      iotests: add O_DIRECT alignment probing test · 1a6e5979
      Stefan Hajnoczi 提交于
      This test case checks that image files can be opened even if I/O
      produces EIO errors.  QEMU should not refuse opening failed disks since
      the guest may be configured for multipath I/O where accessing failed
      disks is expected.
      Signed-off-by: NStefan Hajnoczi <stefanha@redhat.com>
      Signed-off-by: NKevin Wolf <kwolf@redhat.com>
      1a6e5979
    • S
      block/raw-posix: fix launching with failed disks · 22d182e8
      Stefan Hajnoczi 提交于
      Since commit c25f53b0 ("raw: Probe
      required direct I/O alignment") QEMU has failed to launch if image files
      produce I/O errors.
      
      Previously, QEMU would launch successfully and the guest would see the
      errors when attempting I/O.
      
      This is a regression and may prevent multipath I/O inside the guest,
      where QEMU must launch and let the guest figure out by itself which
      disks are online.
      
      Tweak the alignment probing code in raw-posix.c to explicitly look for
      EINVAL on Linux instead of bailing.  The kernel refuses misaligned
      requests with this error code and other error codes can be ignored.
      Signed-off-by: NStefan Hajnoczi <stefanha@redhat.com>
      Signed-off-by: NKevin Wolf <kwolf@redhat.com>
      22d182e8