1. 04 6月, 2019 2 次提交
    • K
      block: Drain source node in bdrv_replace_node() · f871abd6
      Kevin Wolf 提交于
      Instead of just asserting that no requests are in flight in
      bdrv_replace_node(), which is a requirement that most callers ignore, we
      can just drain the source node right there. This fixes at least starting
      a commit job while I/O is active on the backing chain, but probably
      other callers, too.
      
      Having requests in flight on the target node isn't a problem because the
      target just gets new parents, but the call path of running requests
      isn't modified. So we can just drop this assertion without a replacement.
      
      Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1711643Signed-off-by: NKevin Wolf <kwolf@redhat.com>
      Reviewed-by: NMax Reitz <mreitz@redhat.com>
      f871abd6
    • P
      Merge remote-tracking branch 'remotes/bonzini/tags/for-upstream' into staging · e2a58ff4
      Peter Maydell 提交于
      * Revert q35 to kernel irqchip (Alex)
      * edu device fixes (Li Qiang)
      * cleanups (Marc-André, Peter)
      * Improvements to -accel help
      * Better support for IA32_MISC_ENABLE MSR (Wanpeng)
      * I2C test conversion to qgraph (Paolo)
      
      # gpg: Signature made Mon 03 Jun 2019 14:20:12 BST
      # gpg:                using RSA key BFFBD25F78C7AE83
      # gpg: Good signature from "Paolo Bonzini <bonzini@gnu.org>" [full]
      # gpg:                 aka "Paolo Bonzini <pbonzini@redhat.com>" [full]
      # Primary key fingerprint: 46F5 9FBD 57D6 12E7 BFD4  E2F7 7E15 100C CD36 69B1
      #      Subkey fingerprint: F133 3857 4B66 2389 866C  7682 BFFB D25F 78C7 AE83
      
      * remotes/bonzini/tags/for-upstream: (24 commits)
        q35: Revert to kernel irqchip
        configure: remove tpm_passthrough & tpm_emulator
        ci: store Patchew configuration in the tree
        libqos: i2c: move address into QI2CDevice
        tests: convert ds1338-test to qtest
        tests: convert OMAP i2c tests to qgraph
        libqos: add ARM imx25-pdk machine object
        libqos: add ARM n800 machine object
        libqos: convert I2C to qgraph
        libqos: split I2CAdapter initialization and allocation
        imx25-pdk: create ds1338 for qtest inside the test
        pca9552-test: do not rely on state across tests
        libqos: fix omap-i2c receiving more than 4 bytes
        libqos: move common i2c code to libqos
        qgraph: fix qos_node_contains with options
        qgraph: allow extra_device_opts on contains nodes
        edu: uses uint64_t in dma operation
        edu: mmio: allow 64-bit access in read dispatch
        edu: mmio: allow 64-bit access
        i386: Enable IA32_MISC_ENABLE MWAIT bit when exposing mwait/monitor
        ...
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      e2a58ff4
  2. 03 6月, 2019 25 次提交
  3. 02 6月, 2019 8 次提交
  4. 30 5月, 2019 5 次提交
    • P
      Merge remote-tracking branch 'remotes/dgibson/tags/ppc-for-4.1-20190529' into staging · 60905286
      Peter Maydell 提交于
      ppc patch queue 2019-05-29
      
      Next pull request against qemu-4.1.  Highlights:
        * KVM accelerated support for the XIVE interrupt controller in PAPR
          guests
        * A number of TCG vector fixes
        * Fixes for the PReP / 40p machine
        * Improvements to make check-tcg test coverage
      
      Other than that it's just a bunch of assorted fixes, cleanups and
      minor improvements.
      
      This supersedes both the pull request dated 2019-05-21 and the one
      dated 2019-05-22.  I've dropped one hunk which I think may have caused
      the check-tcg failure that Peter saw (by enabling the ppc64abi32
      build, which I think has been broken for ages).  I'm not entirely
      certain, since I haven't reproduced exactly the same failure.
      
      # gpg: Signature made Wed 29 May 2019 07:49:04 BST
      # gpg:                using RSA key 75F46586AE61A66CC44E87DC6C38CACA20D9B392
      # gpg: Good signature from "David Gibson <david@gibson.dropbear.id.au>" [full]
      # gpg:                 aka "David Gibson (Red Hat) <dgibson@redhat.com>" [full]
      # gpg:                 aka "David Gibson (ozlabs.org) <dgibson@ozlabs.org>" [full]
      # gpg:                 aka "David Gibson (kernel.org) <dwg@kernel.org>" [unknown]
      # Primary key fingerprint: 75F4 6586 AE61 A66C C44E  87DC 6C38 CACA 20D9 B392
      
      * remotes/dgibson/tags/ppc-for-4.1-20190529: (44 commits)
        ppc/pnv: add dummy XSCOM registers for PRD initialization
        ppc/pnv: introduce new skiboot platform properties
        spapr: Don't migrate the hpt_maxpagesize cap to older machine types
        spapr: change default interrupt mode to 'dual'
        spapr/xive: fix multiple resets when using the 'dual' interrupt mode
        docs: provide documentation on the POWER9 XIVE interrupt controller
        spapr/irq: add KVM support to the 'dual' machine
        ppc/xics: fix irq priority in ics_set_irq_type()
        spapr/irq: initialize the IRQ device only once
        spapr/irq: introduce a spapr_irq_init_device() helper
        spapr: check for the activation of the KVM IRQ device
        spapr: introduce routines to delete the KVM IRQ device
        sysbus: add a sysbus_mmio_unmap() helper
        spapr/xive: activate KVM support
        spapr/xive: add migration support for KVM
        spapr/xive: introduce a VM state change handler
        spapr/xive: add state synchronization with KVM
        spapr/xive: add hcall support when under KVM
        spapr/xive: add KVM support
        spapr: Print out extra hints when CAS negotiation of interrupt mode fails
        ...
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      60905286
    • P
      Merge remote-tracking branch 'remotes/kraxel/tags/usb-20190529-pull-request' into staging · 48a8b399
      Peter Maydell 提交于
      usb-hub: port count config option, emulate power switching, cleanups.
      usb-tablet, usb-host: bugfixes.
      
      # gpg: Signature made Wed 29 May 2019 07:28:18 BST
      # gpg:                using RSA key 4CB6D8EED3E87138
      # gpg: Good signature from "Gerd Hoffmann (work) <kraxel@redhat.com>" [full]
      # gpg:                 aka "Gerd Hoffmann <gerd@kraxel.org>" [full]
      # gpg:                 aka "Gerd Hoffmann (private) <kraxel@gmail.com>" [full]
      # Primary key fingerprint: A032 8CFF B93A 17A7 9901  FE7D 4CB6 D8EE D3E8 7138
      
      * remotes/kraxel/tags/usb-20190529-pull-request:
        usb-tablet: fix serial compat property
        usb-hub: emulate per port power switching
        usb-hub: add usb_hub_port_update()
        usb-hub: add helpers to update port state
        usb-hub: make number of ports runtime-configurable
        usb-hub: tweak feature names
        usb-host: avoid libusb_set_configuration calls
        usb-host: skip reset for untouched devices
        usb: call reset handler before updating state
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      48a8b399
    • P
      Merge remote-tracking branch 'remotes/kraxel/tags/vga-20190529-pull-request' into staging · 95172e24
      Peter Maydell 提交于
      vga: add vhost-user-gpu.
      
      # gpg: Signature made Wed 29 May 2019 05:40:02 BST
      # gpg:                using RSA key 4CB6D8EED3E87138
      # gpg: Good signature from "Gerd Hoffmann (work) <kraxel@redhat.com>" [full]
      # gpg:                 aka "Gerd Hoffmann <gerd@kraxel.org>" [full]
      # gpg:                 aka "Gerd Hoffmann (private) <kraxel@gmail.com>" [full]
      # Primary key fingerprint: A032 8CFF B93A 17A7 9901  FE7D 4CB6 D8EE D3E8 7138
      
      * remotes/kraxel/tags/vga-20190529-pull-request:
        hw/display: add vhost-user-vga & gpu-pci
        virtio-gpu: split virtio-gpu-pci & virtio-vga
        virtio-gpu: split virtio-gpu, introduce virtio-gpu-base
        spice-app: fix running when !CONFIG_OPENGL
        contrib: add vhost-user-gpu
        util: compile drm.o on posix
        virtio-gpu: add a pixman helper header
        virtio-gpu: add bswap helpers header
        vhost-user: add vhost_user_gpu_set_socket()
        virtio-gpu: add sanity check
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      95172e24
    • P
      Merge remote-tracking branch 'remotes/jnsnow/tags/bitmaps-pull-request' into staging · 62f6849e
      Peter Maydell 提交于
      Pull request
      
      # gpg: Signature made Wed 29 May 2019 00:58:33 BST
      # gpg:                using RSA key F9B7ABDBBCACDF95BE76CBD07DEF8106AAFC390E
      # gpg: Good signature from "John Snow (John Huston) <jsnow@redhat.com>" [full]
      # Primary key fingerprint: FAEB 9711 A12C F475 812F  18F2 88A9 064D 1835 61EB
      #      Subkey fingerprint: F9B7 ABDB BCAC DF95 BE76  CBD0 7DEF 8106 AAFC 390E
      
      * remotes/jnsnow/tags/bitmaps-pull-request:
        iotests: test external snapshot with bitmap copying
        qapi: support external bitmaps in block-dirty-bitmap-merge
        migration/dirty-bitmaps: change bitmap enumeration method
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      62f6849e
    • P
      Merge remote-tracking branch 'remotes/maxreitz/tags/pull-block-2019-05-28' into staging · e5714b5b
      Peter Maydell 提交于
      Block patches:
      - qcow2: Use threads for encrypted I/O
      - qemu-img rebase: Optimizations
      - backup job: Allow any source node, and some refactoring
      - Some general simplifications in the block layer
      
      # gpg: Signature made Tue 28 May 2019 20:26:56 BST
      # gpg:                using RSA key 91BEB60A30DB3E8857D11829F407DB0061D5CF40
      # gpg:                issuer "mreitz@redhat.com"
      # gpg: Good signature from "Max Reitz <mreitz@redhat.com>" [full]
      # Primary key fingerprint: 91BE B60A 30DB 3E88 57D1  1829 F407 DB00 61D5 CF40
      
      * remotes/maxreitz/tags/pull-block-2019-05-28: (21 commits)
        blockdev: loosen restrictions on drive-backup source node
        qcow2-bitmap: initialize bitmap directory alignment
        qcow2: skip writing zero buffers to empty COW areas
        qemu-img: rebase: Reuse in-chain BlockDriverState
        qemu-img: rebase: Reduce reads on in-chain rebase
        qemu-img: rebase: Reuse parent BlockDriverState
        block: Make bdrv_root_attach_child() unref child_bs on failure
        block: Use bdrv_unref_child() for all children in bdrv_close()
        block/backup: refactor: split out backup_calculate_cluster_size
        block/backup: unify different modes code path
        block/backup: refactor and tolerate unallocated cluster skipping
        block/backup: move to copy_bitmap with granularity
        block/backup: simplify backup_incremental_init_copy_bitmap
        qcow2: do encryption in threads
        qcow2: bdrv_co_pwritev: move encryption code out of the lock
        qcow2: qcow2_co_preadv: improve locking
        qcow2-threads: split out generic path
        qcow2-threads: qcow2_co_do_compress: protect queuing by mutex
        qcow2-threads: use thread_pool_submit_co
        qcow2: add separate file for threaded data processing functions
        ...
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      e5714b5b