Skip to content

Patch Round-up for stable 2.7.1, freeze on 2016-12-20

Michael Roth qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest67 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/67linux-headers: updateinclude/standard-headers/linux/input-event-codes.h include/standard-headers/linux/input.h include/standard-headers/linux/virtio_config.h +9 more+236 -70 replies
2/67hw/ppc/spapr: Move code related to "ibm, pa-features" to a separate functionhw/ppc/spapr.c+36 -300 replies
3/67hw/ppc/spapr: Fix the selection of the processor featureshw/ppc/spapr.c+9 -20 replies
4/67ppc: Check the availability of transactional memoryhw/ppc/spapr.c target-ppc/kvm.c target-ppc/kvm_ppc.h+17 -10 replies
5/67virtio: zero vq->inuse in virtio_reset()hw/virtio/virtio.c+1 -00 replies
6/67virtio-balloon: discard virtqueue element on resethw/virtio/virtio-balloon.c+1 -00 replies
7/67vnc: fix qemu crash because of SIGSEGVui/vnc.c+4 -00 replies
8/679pfs: fix potential segfault during walkhw/9pfs/9p.c+3 -20 replies
9/67scsi: mptsas: use g_new0 to allocate MPTSASRequest objecthw/scsi/mptsas.c+1 -10 replies
10/67scsi: pvscsi: limit process IO loop to ring sizehw/scsi/vmw_pvscsi.c+4 -10 replies
11/67qemu-char: avoid segfault if user lacks of permisson of a given logfilebackends/msmouse.c qemu-char.c+9 -00 replies
12/67scsi-disk: change disk serial length from 20 to 36hw/scsi/scsi-disk.c+2 -20 replies
13/67vmw_pvscsi: check page count while initialising descriptor ringshw/scsi/vmw_pvscsi.c+9 -100 replies
14/67scsi: mptconfig: fix an assert expressionhw/scsi/mptconfig.c+1 -10 replies
15/67scsi: mptconfig: fix misuse of MPTSAS_CONFIG_PACKhw/scsi/mptconfig.c+2 -20 replies
16/67crypto: ensure XTS is only used with ciphers with 16 byte blockscrypto/cipher-gcrypt.c crypto/cipher-nettle.c tests/test-crypto-cipher.c+48 -130 replies
17/67iothread: Stop threads before main() quitsinclude/sysemu/iothread.h iothread.c vl.c+23 -40 replies
18/67scsi-disk: Cleaning up around tray open statehw/scsi/scsi-disk.c+8 -140 replies
19/67virtio-scsi: Don't abort when media is ejectedhw/scsi/virtio-scsi.c+9 -60 replies
20/67ahci: clear aiocb in ncq_cbhw/ide/ahci.c+1 -02 replies
21/67s390x/css: handle cssid 255 correctlyhw/s390x/css.c include/hw/s390x/css.h+4 -60 replies
22/67vfio/pci: Fix regression in MSI routing configurationhw/vfio/pci.c+3 -10 replies
23/67qcow2: fix encryption during cow of sectorsblock/qcow2-cluster.c tests/qemu-iotests/158 tests/qemu-iotests/158.out +1 more+118 -10 replies
24/67iscsi: Fix divide-by-zero regression on raw SG devicesblock/iscsi.c+8 -50 replies
25/67block: reintroduce bdrv_flush_allblock/io.c include/block/block.h+26 -00 replies
26/67qemu: use bdrv_flush_all for vm_stop et alcpus.c+2 -20 replies
27/67block-backend: remove blk_flush_allblock/block-backend.c hw/i386/xen/xen_platform.c hw/ide/piix.c +1 more+4 -250 replies
28/67migrate: Fix cpu-throttle-increment regression in HMPhmp.c+1 -00 replies
29/67qht: simplify qht_reset_sizeutil/qht.c+3 -50 replies
30/67qht: fix unlock-after-free segfault upon resizingutil/qht.c+28 -210 replies
31/67char: fix missing return in error path for chardev TLS initqemu-char.c+1 -00 replies
32/67qmp: fix object-add assert() without propsqmp.c+6 -20 replies
33/67qapi: Fix crash when 'any' or 'null' parameter is missingqapi/qmp-input-visitor.c+11 -00 replies
34/67tests/test-qmp-input-strict: Cover missing struct memberstests/test-qmp-input-strict.c+46 -00 replies
35/67rbd: shift byte count as a 64-bit valueblock/rbd.c+2 -20 replies
36/67ppc/kvm: Mark 64kB page size support as disabled if not availabletarget-ppc/kvm.c+7 -00 replies
37/67throttle: Correct access to wrong BlockBackendPublic structuresblock/throttle-groups.c+23 -40 replies
38/67qemu-iotests: Test I/O in a single drive from a throttling grouptests/qemu-iotests/093 tests/qemu-iotests/093.out+30 -70 replies
39/67net: rtl8139: limit processing of ring descriptorshw/net/rtl8139.c+1 -10 replies
40/67memory: Replace skip_dump flag with "ram_device"hw/vfio/common.c hw/vfio/spapr.c include/exec/memory.h +2 more+43 -240 replies
41/67memory: Don't use memcpy for ram_device regionsinclude/exec/memory.h memory.c trace-events+73 -20 replies
42/67acpi/ipmi: Initialize the fwinfo before fetching ithw/acpi/ipmi.c+1 -00 replies
43/67net: fix sending of data with -net socket, listen backendnet/net.c net/socket.c+3 -30 replies
44/67target-ppc: Fix CPU migration from qemu-2.6 <-> later versionstarget-ppc/cpu.h target-ppc/machine.c+31 -40 replies
45/67virtio: allow per-device-class legacy featureshw/s390x/virtio-ccw.c hw/virtio/virtio-pci.c hw/virtio/virtio.c +1 more+14 -20 replies
46/67virtio-net: mark VIRTIO_NET_F_GSO as legacyhw/net/virtio-net.c+1 -00 replies
47/67block: Don't mark node clean after failed flushblock/io.c tests/qemu-iotests/026.out tests/qemu-iotests/026.out.nocache +1 more+49 -10 replies
48/67vhost: adapt vhost_verify_ring_mappings() to virtio 1 ring layouthw/virtio/vhost.c include/hw/virtio/vhost.h+64 -190 replies
49/67slirp: Fix access to freed memoryslirp/socket.c+17 -00 replies
50/67qcow2: Inform block layer about discard boundariesblock/qcow2.c+1 -00 replies
51/67block: Let write zeroes fallback work even with small max_transferblock/io.c+8 -50 replies
52/67block: Return -ENOTSUP rather than assert on unaligned discardsblock/iscsi.c block/qcow2.c block/sheepdog.c+11 -30 replies
53/67block: Pass unaligned discard requests to driversblock/io.c+32 -130 replies
54/67block/curl: Use BDRV_SECTOR_SIZEblock/curl.c+5 -60 replies
55/67block/curl: Fix return value from curl_read_cbblock/curl.c+7 -40 replies
56/67block/curl: Remember all socketsblock/curl.c+41 -60 replies
57/67block/curl: Do not wait for data beyond EOFblock/curl.c+23 -90 replies
58/67vhost: drop legacy vring layout bitshw/virtio/vhost.c include/hw/virtio/vhost.h+0 -160 replies
59/67ivshmem: Fix 64 bit memory bar configurationhw/misc/ivshmem.c+3 -10 replies
60/67pci-assign: sync MSI/MSI-X cap and table with PCIDevicehw/i386/kvm/pci-assign.c+4 -00 replies
61/67rules.mak: Use -r instead of -Wl, -r to fix building when PIE is defaultrules.mak+1 -10 replies
62/67intel_iommu: fix incorrect device invalidatehw/i386/intel_iommu.c+1 -00 replies
63/67vhost-user-test: Use libqos instead of pxe-virtio.romtests/Makefile.include tests/vhost-user-test.c+35 -40 replies
64/67vl: Delay initialization of memory backendsvl.c+13 -00 replies
65/67Revert "megasas: remove useless check for cmd->frame"hw/scsi/megasas.c+5 -10 replies
66/67msmouse: Fix segfault caused by free the chr before chardev cleanup.backends/msmouse.c+0 -10 replies
67/67vfio/pci: Fix vfio_rtl8168_quirk_data_read address offsethw/vfio/pci-quirks.c+1 -10 replies

Reviews trailers per patch

38 of 67 patches have a Reviewed-by or Acked-by.

PatchEric BlakePaolo BonziniStefan HajnocziChristian BorntraegerKevin WolfMax ReitzFam ZhengMarc-André LureauJuan QuintelaCédric Le GoaterXiao Long JiangMarkus ArmbrusterMichael S. TsirkinZhang ChenDr. David Alan GilbertThomas HuthGreg KurzCornelia HuckDenis V. LunevJohn SnowBrian CandlerLadi ProsekGongleiChanglimin
1/67
2/67R-b
3/67R-b
4/67R-b
5/67R-b R-b
6/67R-b R-b
7/67R-b
8/67R-b
9/67
10/67
11/67
12/67
13/67
14/67
15/67
16/67R-b
17/67R-b
18/67
19/67
20/67R-b
21/67T-b
22/67
23/67
24/67
25/67R-b R-b A-b
26/67R-b R-b A-b
27/67R-b A-b
28/67R-b R-b
29/67
30/67
31/67R-b
32/67R-b T-b R-b
33/67R-b R-b
34/67
35/67
36/67
37/67R-b
38/67
39/67
40/67A-b
41/67A-b
42/67R-b
43/67R-b
44/67R-b R-b R-b
45/67R-b
46/67R-b
47/67R-b R-b R-b
48/67R-b R-b
49/67R-b T-b
50/67R-b
51/67R-b
52/67R-b
53/67R-b
54/67R-b
55/67R-b
56/67
57/67
58/67R-b R-b
59/67R-b R-b R-b R-b
60/67R-b T-b
61/67
62/67R-b
63/67
64/67
65/67
66/67
67/67

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 24 reviewers.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 00/67] Patch Round-up for stable 2.7.1, freeze on 2016-12-20

Hi everyone,

The following new patches are queued for QEMU stable v2.7.1:

https://github.com/mdroth/qemu/commits/stable-2.7-staging

The release is planned for 2016-12-23:

http://wiki.qemu.org/Planning/2.7

Please respond here or CC [email protected] on any patches you think should be included in the release.

Testing/feedback is greatly appreciated.

Thanks!

----------------------------------------------------------------
Adrian Bunk (1):
rules.mak: Use -r instead of -Wl, -r to fix building when PIE is default

Alberto Garcia (2):
throttle: Correct access to wrong BlockBackendPublic structures
qemu-iotests: Test I/O in a single drive from a throttling group

Alex Williamson (2):
memory: Replace skip_dump flag with "ram_device"
memory: Don't use memcpy for ram_device regions

Corey Minyard (1):
acpi/ipmi: Initialize the fwinfo before fetching it

Cornelia Huck (2):

      linux-headers: update
      s390x/css: handle cssid 255 correctly

Daniel P. Berrange (4):
crypto: ensure XTS is only used with ciphers with 16 byte blocks
qcow2: fix encryption during cow of sectors
char: fix missing return in error path for chardev TLS init
net: fix sending of data with -net socket, listen backend

David Gibson (2):
vfio/pci: Fix regression in MSI routing configuration
target-ppc: Fix CPU migration from qemu-2.6 <-> later versions

Eduardo Habkost (2):
vhost-user-test: Use libqos instead of pxe-virtio.rom
vl: Delay initialization of memory backends

Emilio G. Cota (2):
qht: simplify qht_reset_size
qht: fix unlock-after-free segfault upon resizing

Eric Blake (6):
iscsi: Fix divide-by-zero regression on raw SG devices
migrate: Fix cpu-throttle-increment regression in HMP
qcow2: Inform block layer about discard boundaries
block: Let write zeroes fallback work even with small max_transfer
block: Return -ENOTSUP rather than assert on unaligned discards
block: Pass unaligned discard requests to drivers

Fam Zheng (3):
iothread: Stop threads before main() quits
scsi-disk: Cleaning up around tray open state
virtio-scsi: Don't abort when media is ejected

Gonglei (1):
vnc: fix qemu crash because of SIGSEGV

Greg Kurz (3):
9pfs: fix potential segfault during walk
vhost: adapt vhost_verify_ring_mappings() to virtio 1 ring layout
vhost: drop legacy vring layout bits

John Snow (4):
ahci: clear aiocb in ncq_cb
block: reintroduce bdrv_flush_all
qemu: use bdrv_flush_all for vm_stop et al
block-backend: remove blk_flush_all

Kevin Wolf (1):
block: Don't mark node clean after failed flush

Ladi Prosek (1):
virtio-balloon: discard virtqueue element on reset

Li Qiang (1):
scsi: mptsas: use g_new0 to allocate MPTSASRequest object

Lin Ma (2):
qemu-char: avoid segfault if user lacks of permisson of a given logfile
msmouse: Fix segfault caused by free the chr before chardev cleanup.

Marc-André Lureau (2):
qmp: fix object-add assert() without props
qapi: Fix crash when 'any' or 'null' parameter is missing

Markus Armbruster (1):
tests/test-qmp-input-strict: Cover missing struct members

Max Reitz (4):
block/curl: Use BDRV_SECTOR_SIZE block/curl: Fix return value from curl_read_cb block/curl: Remember all sockets block/curl: Do not wait for data beyond EOF

Michael Roth (1):

      Merge tag 'ppc-for-2.7-20161013' into stable-2.7-staging

Michael S. Tsirkin (2):
virtio: allow per-device-class legacy features
virtio-net: mark VIRTIO_NET_F_GSO as legacy

Paolo Bonzini (3):
scsi: mptconfig: fix misuse of MPTSAS_CONFIG_PACK
rbd: shift byte count as a 64-bit value Revert "megasas: remove useless check for cmd->frame"

Peter Xu (2):
pci-assign: sync MSI/MSI-X cap and table with PCIDevice
intel_iommu: fix incorrect device invalidate

Prasad J Pandit (4):
scsi: pvscsi: limit process IO loop to ring size
vmw_pvscsi: check page count while initialising descriptor rings
scsi: mptconfig: fix an assert expression
net: rtl8139: limit processing of ring descriptors

Rony Weng (1):
scsi-disk: change disk serial length from 20 to 36

Samuel Thibault (1):
slirp: Fix access to freed memory

Stefan Hajnoczi (1):

      virtio: zero vq->inuse in virtio_reset()

Thomas Huth (4):
hw/ppc/spapr: Move code related to "ibm,pa-features" to a separate function hw/ppc/spapr: Fix the selection of the processor features
ppc: Check the availability of transactional memory
ppc/kvm: Mark 64kB page size support as disabled if not available

Thorsten Kohfeldt (1):
vfio/pci: Fix vfio_rtl8168_quirk_data_read address offset

Zhuang Yanying (1):
ivshmem: Fix 64 bit memory bar configuration

 backends/msmouse.c                                 |  4 +-
 block/block-backend.c                              | 22 -----
 block/curl.c                                       | 99 ++++++++++++++++------
 block/io.c                                         | 87 ++++++++++++++-----
 block/iscsi.c                                      | 17 ++--
 block/qcow2-cluster.c                              |  2 +-
 block/qcow2.c                                      |  6 ++
 block/rbd.c                                        |  4 +-
 block/sheepdog.c                                   |  5 +-
 block/throttle-groups.c                            | 27 +++++-
 cpus.c                                             |  4 +-
 crypto/cipher-gcrypt.c                             |  6 ++
 crypto/cipher-nettle.c                             | 12 +--
 hmp.c                                              |  1 +
 hw/9pfs/9p.c                                       |  5 +-
 hw/acpi/ipmi.c                                     |  1 +
 hw/i386/intel_iommu.c                              |  1 +
 hw/i386/kvm/pci-assign.c                           |  4 +
 hw/i386/xen/xen_platform.c                         |  2 -
 hw/ide/ahci.c                                      |  1 +
 hw/ide/piix.c                                      |  4 +
 hw/misc/ivshmem.c                                  |  4 +-
 hw/net/rtl8139.c                                   |  2 +-
 hw/net/virtio-net.c                                |  1 +
 hw/ppc/spapr.c                                     | 76 ++++++++++-------
 hw/s390x/css.c                                     |  8 +-
 hw/s390x/virtio-ccw.c                              |  4 +-
 hw/scsi/megasas.c                                  |  6 +-
 hw/scsi/mptconfig.c                                |  6 +-
 hw/scsi/mptsas.c                                   |  2 +-
 hw/scsi/scsi-disk.c                                | 26 +++---
 hw/scsi/virtio-scsi.c                              | 15 ++--
 hw/scsi/vmw_pvscsi.c                               | 24 +++---
 hw/vfio/common.c                                   |  9 +-
 hw/vfio/pci-quirks.c                               |  2 +-
 hw/vfio/pci.c                                      |  4 +-
 hw/vfio/spapr.c                                    |  2 +-
 hw/virtio/vhost.c                                  | 92 +++++++++++++-------
 hw/virtio/virtio-balloon.c                         |  1 +
 hw/virtio/virtio-pci.c                             |  4 +-
 hw/virtio/virtio.c                                 |  4 +
 include/block/block.h                              |  1 +
 include/exec/memory.h                              | 47 ++++++----
 include/hw/s390x/css.h                             |  2 +-
 include/hw/virtio/vhost.h                          |  7 +-
 include/hw/virtio/virtio.h                         |  5 ++
 include/standard-headers/linux/input-event-codes.h | 32 +++++++
 include/standard-headers/linux/input.h             |  1 +
 include/standard-headers/linux/virtio_config.h     | 10 ++-
 include/standard-headers/linux/virtio_ids.h        |  1 +
 include/standard-headers/linux/virtio_net.h        |  3 +
 include/standard-headers/linux/virtio_vsock.h      | 94 ++++++++++++++++++++
 include/sysemu/block-backend.h                     |  1 -
 include/sysemu/iothread.h                          |  1 +
 iothread.c                                         | 24 +++++-
 linux-headers/asm-arm/kvm.h                        |  4 +-
 linux-headers/asm-arm64/kvm.h                      |  2 +
 linux-headers/asm-s390/kvm.h                       | 41 +++++++++
 linux-headers/asm-x86/unistd_x32.h                 |  4 +-
 linux-headers/linux/kvm.h                          | 18 +++-
 linux-headers/linux/vhost.h                        | 33 ++++++++
 memory.c                                           | 80 ++++++++++++++++-
 memory_mapping.c                                   |  2 +-
 net/net.c                                          |  5 +-
 net/socket.c                                       |  1 +
 qapi/qmp-input-visitor.c                           | 11 +++
 qemu-char.c                                        |  7 ++
 qmp.c                                              |  8 +-
 rules.mak                                          |  2 +-
 slirp/socket.c                                     | 17 ++++
 target-ppc/cpu.h                                   |  6 ++
 target-ppc/kvm.c                                   | 14 +++
 target-ppc/kvm_ppc.h                               |  6 ++
 target-ppc/machine.c                               | 29 ++++++-
 tests/Makefile.include                             |  2 +-
 tests/qemu-iotests/026.out                         | 22 +++++
 tests/qemu-iotests/026.out.nocache                 | 22 +++++
 tests/qemu-iotests/071.out                         |  2 +
 tests/qemu-iotests/093                             | 33 ++++++--
 tests/qemu-iotests/093.out                         |  4 +-
 tests/qemu-iotests/158                             | 80 +++++++++++++++++
 tests/qemu-iotests/158.out                         | 36 ++++++++
 tests/qemu-iotests/group                           |  1 +
 tests/test-crypto-cipher.c                         | 43 ++++++++--
 tests/test-qmp-input-strict.c                      | 46 ++++++++++
 tests/vhost-user-test.c                            | 37 +++++++-
 trace-events                                       |  2 +
 ui/vnc.c                                           |  4 +
 util/qht.c                                         | 55 ++++++------
 vl.c                                               | 15 ++++
 90 files changed, 1230 insertions(+), 299 deletions(-)
 create mode 100644 include/standard-headers/linux/virtio_vsock.h
 create mode 100755 tests/qemu-iotests/158
 create mode 100644 tests/qemu-iotests/158.out