1. 17 8月, 2019 3 次提交
    • T
      tests: Run the iotests during "make check" again · bdd95e47
      Thomas Huth 提交于
      People often forget to run the iotests before submitting patches or pull
      requests - this is likely due to the fact that we do not run the tests
      during our mandatory "make check" tests yet. Now that we've got a proper
      "auto" group of iotests that should be fine to run in every environment,
      we can enable the iotests during "make check" again by running the "auto"
      tests by default from the check-block.sh script.
      
      Some cases still need to be checked first, though: iotests need bash and
      GNU sed (otherwise they fail), and if gprof is enabled, it spoils the
      output of some test cases causing them to fail. So if we detect that one
      of the required programs is missing or that gprof is enabled, we still
      have to skip the iotests to avoid failures.
      
      And finally, since we are using check-block.sh now again, this patch also
      removes the qemu-iotests-quick.sh script since we do not need that anymore
      (and having two shell wrapper scripts around the block tests seems rather
      confusing than helpful).
      
      Message-Id: <20190717111947.30356-4-thuth@redhat.com>
      Signed-off-by: NThomas Huth <thuth@redhat.com>
      [AJB: -makecheck to check-block.sh, move check-block to start and gate it]
      Signed-off-by: NAlex Bennée <alex.bennee@linaro.org>
      bdd95e47
    • P
      block: fix NetBSD qemu-iotests failure · f6fc1e30
      Paolo Bonzini 提交于
      Opening a block device on NetBSD has an additional step compared to other OSes,
      corresponding to raw_normalize_devicepath.  The error message in that function
      is slightly different from that in raw_open_common and this was causing spurious
      failures in qemu-iotests.  However, in general it is not important to know what
      exact step was failing, for example in the qemu-iotests case the error message
      contains the fairly unequivocal "No such file or directory" text from strerror.
      We can thus fix the failures by standardizing on a single error message for
      both raw_open_common and raw_normalize_devicepath; in fact, we can even
      use error_setg_file_open to make sure the error message is the same as in
      the rest of QEMU.
      
      Message-Id: <20190725095920.28419-1-pbonzini@redhat.com>
      Tested-by: NThomas Huth <thuth@redhat.com>
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      Reviewed-by: NPhilippe Mathieu-Daudé <philmd@redhat.com>
      Signed-off-by: NThomas Huth <thuth@redhat.com>
      f6fc1e30
    • P
      Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20190816' into staging · afd76053
      Peter Maydell 提交于
      target-arm queue:
       * target/arm: generate a custom MIDR for -cpu max
       * hw/misc/zynq_slcr: refactor to use standard register definition
       * Set ENET_BD_BDU in I.MX FEC controller
       * target/arm: Fix routing of singlestep exceptions
       * refactor a32/t32 decoder handling of PC
       * minor optimisations/cleanups of some a32/t32 codegen
       * target/arm/cpu64: Ensure kvm really supports aarch64=off
       * target/arm/cpu: Ensure we can use the pmu with kvm
       * target/arm: Minor cleanups preparatory to KVM SVE support
      
      # gpg: Signature made Fri 16 Aug 2019 14:15:55 BST
      # gpg:                using RSA key E1A5C593CD419DE28E8315CF3C2525ED14360CDE
      # gpg:                issuer "peter.maydell@linaro.org"
      # gpg: Good signature from "Peter Maydell <peter.maydell@linaro.org>" [ultimate]
      # gpg:                 aka "Peter Maydell <pmaydell@gmail.com>" [ultimate]
      # gpg:                 aka "Peter Maydell <pmaydell@chiark.greenend.org.uk>" [ultimate]
      # Primary key fingerprint: E1A5 C593 CD41 9DE2 8E83  15CF 3C25 25ED 1436 0CDE
      
      * remotes/pmaydell/tags/pull-target-arm-20190816: (29 commits)
        target/arm: Use tcg_gen_extrh_i64_i32 to extract the high word
        target/arm: Simplify SMMLA, SMMLAR, SMMLS, SMMLSR
        target/arm: Use tcg_gen_rotri_i32 for gen_swap_half
        target/arm: Use ror32 instead of open-coding the operation
        target/arm: Remove redundant shift tests
        target/arm: Use tcg_gen_deposit_i32 for PKHBT, PKHTB
        target/arm: Use tcg_gen_extract_i32 for shifter_out_im
        target/arm/kvm64: Move the get/put of fpsimd registers out
        target/arm/kvm64: Fix error returns
        target/arm/cpu: Use div-round-up to determine predicate register array size
        target/arm/helper: zcr: Add build bug next to value range assumption
        target/arm/cpu: Ensure we can use the pmu with kvm
        target/arm/cpu64: Ensure kvm really supports aarch64=off
        target/arm: Remove helper_double_saturate
        target/arm: Use unallocated_encoding for aarch32
        target/arm: Remove offset argument to gen_exception_bkpt_insn
        target/arm: Replace offset with pc in gen_exception_internal_insn
        target/arm: Replace offset with pc in gen_exception_insn
        target/arm: Replace s->pc with s->base.pc_next
        target/arm: Remove redundant s->pc & ~1
        ...
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      afd76053
  2. 16 8月, 2019 37 次提交