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
Loading