Skip to content
Snippets Groups Projects
  1. Feb 13, 2018
  2. Feb 12, 2018
    • Peter Maydell's avatar
      Merge remote-tracking branch 'remotes/dgibson/tags/ppc-for-2.12-20180212' into staging · 7d848450
      Peter Maydell authored
      
      ppc patch queue 2018-02-12
      
      Here's the accumulatead ppc and pseries related patches for the last
      while.  Highlights are:
          * A number of Macintosh / CUDA cleanups from Mark Cave-Ayland
          * An important bug fix (missing "break;") for
            H_GET_CPU_CHARACTERISTICS
          * Yet another fix for SMT mode handling
          * Assorted other cleanups and fixes
      
      # gpg: Signature made Mon 12 Feb 2018 03:39:30 GMT
      # 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.12-20180212:
        misc: introduce new mos6522 VIA device and enable it for ppc builds
        cuda: factor out timebase-derived counter value and load time
        cuda: set timer 1 frequency property to CUDA_TIMER_FREQ
        cuda: don't call cuda_update() when writing to ACR register
        cuda: minor cosmetic tidy-ups to get_next_irq_time()
        cuda: rename frequency property to tb_frequency
        cuda: introduce CUDAState parameter to get_counter()
        spapr: set vsmt to MAX(8, smp_threads)
        cuda: don't allow writes to port output pins
        cuda: do not use old_mmio accesses
        hw/ppc: rename functions in comments
        spapr: add missing break in h_get_cpu_characteristics()
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      7d848450
    • Peter Maydell's avatar
      Merge remote-tracking branch 'remotes/mjt/tags/trivial-patches-fetch' into staging · 8e3fb802
      Peter Maydell authored
      
      trivial patches for 2018-02-10
      
      # gpg: Signature made Sat 10 Feb 2018 07:54:03 GMT
      # gpg:                using RSA key 701B4F6B1A693E59
      # gpg: Good signature from "Michael Tokarev <mjt@tls.msk.ru>"
      # gpg:                 aka "Michael Tokarev <mjt@corpit.ru>"
      # gpg:                 aka "Michael Tokarev <mjt@debian.org>"
      # Primary key fingerprint: 6EE1 95D1 886E 8FFB 810D  4324 457C E0A0 8044 65C5
      #      Subkey fingerprint: 7B73 BAD6 8BE7 A2C2 8931  4B22 701B 4F6B 1A69 3E59
      
      * remotes/mjt/tags/trivial-patches-fetch:
        tests/qapi: use ARRAY_SIZE macro
        tests/qapi: use QEMU_IS_ALIGNED macro
        tests/hbitmap: use ARRAY_SIZE macro
        async: use ARRAY_SIZE macro
        qga: use ARRAY_SIZE macro
        MAINTAINERS: Add qemu-binfmt-conf.sh script
        oslib-posix: check for posix_memalign in configure script
        maint: Mention web site maintenance in README
        build: fix typo in error message
        configure: Allow capstone=git only if git update is not disabled
        scripts/make-release: Don't archive .git files
        qemu-options.hx: Remove confusing spaces in parameter listings
        mailmap: set preferred spelling for Daniel Berrangé
        Drop unneeded system header includes
        machine: Polish -machine xxx,help
        scripts/argparse.py: spelling (independant)
        qapi-schema.json: spelling (independant comparation)
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      8e3fb802
    • Peter Maydell's avatar
      Merge remote-tracking branch 'remotes/ericb/tags/pull-nbd-2018-02-09' into staging · 019bb9ac
      Peter Maydell authored
      
      nbd patches for 2018-02-09
      
      - Vladimir Sementsov-Ogievskiy: iotests: 205: support luks format
      - Eric Blake: block: Simplify bdrv_can_write_zeroes_with_unmap()
      
      # gpg: Signature made Fri 09 Feb 2018 18:34:20 GMT
      # gpg:                using RSA key A7A16B4A2527436A
      # gpg: Good signature from "Eric Blake <eblake@redhat.com>"
      # gpg:                 aka "Eric Blake (Free Software Programmer) <ebb9@byu.net>"
      # gpg:                 aka "[jpeg image of size 6874]"
      # Primary key fingerprint: 71C2 CC22 B1C4 6029 27D2  F3AA A7A1 6B4A 2527 436A
      
      * remotes/ericb/tags/pull-nbd-2018-02-09:
        block: Simplify bdrv_can_write_zeroes_with_unmap()
        iotests: 205: support luks format
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      019bb9ac
  3. Feb 10, 2018
  4. Feb 09, 2018
    • Eric Blake's avatar
      block: Simplify bdrv_can_write_zeroes_with_unmap() · e24d813b
      Eric Blake authored
      
      We don't need the can_write_zeroes_with_unmap field in
      BlockDriverInfo, because it is redundant information with
      supported_zero_flags & BDRV_REQ_MAY_UNMAP.  Note that
      BlockDriverInfo and supported_zero_flags are both per-device
      settings, rather than global state about the driver as a
      whole, which means one or both of these bits of information
      can already be conditional.  Let's audit how they were set:
      
      crypto: always setting can_write_ to false is pointless (the
      struct starts life zero-initialized), no use of supported_
      
      nbd: just recently fixed to set can_write_ if supported_
      includes MAY_UNMAP (thus this commit effectively reverts
      bca80059e and solves the problem mentioned there in a more
      global way)
      
      file-posix, iscsi, qcow2: can_write_ is conditional, while
      supported_ was unconditional; but passing MAY_UNMAP would
      fail with ENOTSUP if the condition wasn't met
      
      qed: can_write_ is unconditional, but pwrite_zeroes lacks
      support for MAY_UNMAP and supported_ is not set. Perhaps
      support can be added later (since it would be similar to
      qcow2), but for now claiming false is no real loss
      
      all other drivers: can_write_ is not set, and supported_ is
      either unset or a passthrough
      
      Simplify the code by moving the conditional into
      supported_zero_flags for all drivers, then dropping the
      now-unused BDI field.  For callers that relied on
      bdrv_can_write_zeroes_with_unmap(), we return the same
      per-device settings for drivers that had conditions (no
      observable change in behavior there); and can now return
      true (instead of false) for drivers that support passthrough
      (for example, the commit driver) which gives those drivers
      the same fix as nbd just got in bca80059e.  For callers that
      relied on supported_zero_flags, we now have a few more places
      that can avoid a wasted call to pwrite_zeroes() that will
      just fail with ENOTSUP.
      
      Suggested-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      Signed-off-by: default avatarEric Blake <eblake@redhat.com>
      Message-Id: <20180126193439.20219-1-eblake@redhat.com>
      Reviewed-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
      e24d813b
    • Vladimir Sementsov-Ogievskiy's avatar
      iotests: 205: support luks format · 85a353a0
      Vladimir Sementsov-Ogievskiy authored
      
      Support default luks options in VM.add_drive and in new library
      function qemu_img_create. Use it in 205 iotests.
      
      Signed-off-by: default avatarVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
      Message-Id: <20180206182507.21753-1-vsementsov@virtuozzo.com>
      Reviewed-by: default avatarDaniel P. Berrange <berrange@redhat.com>
      Signed-off-by: default avatarEric Blake <eblake@redhat.com>
      85a353a0
    • Peter Maydell's avatar
      Merge remote-tracking branch 'remotes/stsquad/tags/pull-travis-speedup-090218-1' into staging · c7b02d7d
      Peter Maydell authored
      
      One patch to mitigate Travis timeouts
      
      # gpg: Signature made Fri 09 Feb 2018 14:13:46 GMT
      # gpg:                using RSA key FBD0DB095A9E2A44
      # 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-travis-speedup-090218-1:
        .travis.yml: add --disable-linux-user for some jobs
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      c7b02d7d
    • Peter Maydell's avatar
      Merge remote-tracking branch 'remotes/armbru/tags/pull-misc-2018-02-07-v4' into staging · 7e0019a7
      Peter Maydell authored
      
      Miscellaneous patches for 2018-02-07
      
      # gpg: Signature made Fri 09 Feb 2018 12:52:51 GMT
      # gpg:                using RSA key 3870B400EB918653
      # gpg: Good signature from "Markus Armbruster <armbru@redhat.com>"
      # gpg:                 aka "Markus Armbruster <armbru@pond.sub.org>"
      # Primary key fingerprint: 354B C8B3 D7EB 2A6B 6867  4E5F 3870 B400 EB91 8653
      
      * remotes/armbru/tags/pull-misc-2018-02-07-v4:
        Move include qemu/option.h from qemu-common.h to actual users
        Drop superfluous includes of qapi/qmp/qjson.h
        Drop superfluous includes of qapi/qmp/dispatch.h
        Include qapi/qmp/qnull.h exactly where needed
        Include qapi/qmp/qnum.h exactly where needed
        Include qapi/qmp/qbool.h exactly where needed
        Include qapi/qmp/qstring.h exactly where needed
        Include qapi/qmp/qdict.h exactly where needed
        Include qapi/qmp/qlist.h exactly where needed
        Include qapi/qmp/qobject.h exactly where needed
        qdict qlist: Make most helper macros functions
        Eliminate qapi/qmp/types.h
        Typedef the subtypes of QObject in qemu/typedefs.h, too
        Include qmp-commands.h exactly where needed
        Drop superfluous includes of qapi/qmp/qerror.h
        Include qapi/error.h exactly where needed
        Drop superfluous includes of qapi-types.h and test-qapi-types.h
        Clean up includes
        Use #include "..." for our own headers, <...> for others
        vnc: use stubs for CONFIG_VNC=n dummy functions
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      7e0019a7
    • Alex Bennée's avatar
      .travis.yml: add --disable-linux-user for some jobs · 04200a16
      Alex Bennée authored
      
      The modules and co-routine builds are only really relevant to softmmu
      builds and regularly timeout on Travis. Let's disable linux-user
      builds here for more headroom.
      
      Signed-off-by: default avatarAlex Bennée <alex.bennee@linaro.org>
      Reviewed-by: default avatarPhilippe Mathieu-Daudé <f4bug@amsat.org>
      Reviewed-by: default avatarDaniel P. Berrange <berrange@redhat.com>
      04200a16
    • Peter Maydell's avatar
      Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20180209' into staging · f31cd9e4
      Peter Maydell authored
      
      target-arm queue:
       * Support M profile derived exceptions on exception entry and exit
       * Implement AArch64 v8.2 crypto insns (SHA-512, SHA-3, SM3, SM4)
       * Implement working i.MX6 SD controller
       * Various devices preparatory to i.MX7 support
       * Preparatory patches for SVE emulation
       * v8M: Fix bug in implementation of 'TT' insn
       * Give useful error if user tries to use userspace GICv3 with KVM
      
      # gpg: Signature made Fri 09 Feb 2018 11:01:23 GMT
      # gpg:                using RSA key 3C2525ED14360CDE
      # gpg: Good signature from "Peter Maydell <peter.maydell@linaro.org>"
      # gpg:                 aka "Peter Maydell <pmaydell@gmail.com>"
      # gpg:                 aka "Peter Maydell <pmaydell@chiark.greenend.org.uk>"
      # Primary key fingerprint: E1A5 C593 CD41 9DE2 8E83  15CF 3C25 25ED 1436 0CDE
      
      * remotes/pmaydell/tags/pull-target-arm-20180209: (30 commits)
        hw/core/generic-loader: Allow PC to be set on command line
        target/arm/translate.c: Fix missing 'break' for TT insns
        target/arm/kvm: gic: Prevent creating userspace GICv3 with KVM
        target/arm: Add SVE state to TB->FLAGS
        target/arm: Add ZCR_ELx
        target/arm: Add SVE to migration state
        target/arm: Add predicate registers for SVE
        target/arm: Expand vector registers for SVE
        hw/arm: Move virt's PSCI DT fixup code to arm/boot.c
        usb: Add basic code to emulate Chipidea USB IP
        i.MX: Add implementation of i.MX7 GPR IP block
        i.MX: Add i.MX7 GPT variant
        i.MX: Add code to emulate GPCv2 IP block
        i.MX: Add code to emulate i.MX7 SNVS IP-block
        i.MX: Add code to emulate i.MX2 watchdog IP block
        i.MX: Add code to emulate i.MX7 CCM, PMU and ANALOG IP blocks
        hw: i.MX: Convert i.MX6 to use TYPE_IMX_USDHC
        sdhci: Add i.MX specific subtype of SDHCI
        target/arm: enable user-mode SHA-3, SM3, SM4 and SHA-512 instruction support
        target/arm: implement SM4 instructions
        ...
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      f31cd9e4
    • Markus Armbruster's avatar
      Move include qemu/option.h from qemu-common.h to actual users · 922a01a0
      Markus Armbruster authored
      
      qemu-common.h includes qemu/option.h, but most places that include the
      former don't actually need the latter.  Drop the include, and add it
      to the places that actually need it.
      
      While there, drop superfluous includes of both headers, and
      separate #include from file comment with a blank line.
      
      This cleanup makes the number of objects depending on qemu/option.h
      drop from 4545 (out of 4743) to 284 in my "build everything" tree.
      
      Reviewed-by: default avatarEric Blake <eblake@redhat.com>
      Reviewed-by: default avatarPhilippe Mathieu-Daudé <f4bug@amsat.org>
      Signed-off-by: default avatarMarkus Armbruster <armbru@redhat.com>
      Message-Id: <20180201111846.21846-20-armbru@redhat.com>
      [Semantic conflict with commit bdd6a90a in block/nvme.c resolved]
      922a01a0
Loading