Skip to content

Patch Round-up for stable 4.1.1, freeze on 2019-11-12

Michael Roth qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest55 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/55dma-helpers: ensure AIO callback is invoked after cancellationdma-helpers.c+9 -40 replies
2/55Revert "ide/ahci: Check for -ECANCELED in aio callbacks"hw/ide/ahci.c hw/ide/core.c+0 -170 replies
3/55s390x/tcg: Fix VERIM with 32/64 bit elementstarget/s390x/translate_vx.inc.c+1 -10 replies
4/55target/alpha: fix tlb_fill trap_arg2 value for instruction fetchtarget/alpha/helper.c+3 -10 replies
5/55pc: Don't make die-id mandatory unless necessaryhw/i386/pc.c tests/acceptance/pc_cpu_hotplug_props.py+43 -00 replies
6/55xen-bus: Fix backend state transition on device resethw/xen/xen-bus.c+20 -30 replies
7/55xen-bus: check whether the frontend is active during device reset...hw/xen/xen-bus.c+1 -10 replies
8/55block/file-posix: Reduce xfsctl() useblock/file-posix.c+1 -760 replies
9/55iotests: Test reverse sub-cluster qcow2 writestests/qemu-iotests/265 tests/qemu-iotests/265.out tests/qemu-iotests/group+74 -00 replies
10/55pr-manager: Fix invalid g_free() crash bugscsi/pr-manager.c+0 -10 replies
11/55x86: do not advertise die-id in query-hotpluggbale-cpus if '-smp dies' is not sethw/i386/pc.c+4 -20 replies
12/55vpc: Return 0 from vpc_co_create() on successblock/vpc.c+2 -10 replies
13/55iotests: add testing shim for script-style python teststests/qemu-iotests/iotests.py+26 -140 replies
14/55iotests: Add supported protocols to execute_test()tests/qemu-iotests/iotests.py+3 -10 replies
15/55iotests: Restrict file Python tests to filetests/qemu-iotests/030 tests/qemu-iotests/040 tests/qemu-iotests/041 +22 more+50 -250 replies
16/55iotests: Restrict nbd Python tests to nbdtests/qemu-iotests/147 tests/qemu-iotests/205+4 -40 replies
17/55iotests: Test blockdev-create for vpctests/qemu-iotests/266 tests/qemu-iotests/266.out tests/qemu-iotests/group+291 -00 replies
18/55target/arm: Free TCG temps in trans_VMOV_64_sp()target/arm/translate-vfp.inc.c+2 -00 replies
19/55target/arm: Don't abort on M-profile exception return in linux-user modetarget/arm/translate.c+20 -10 replies
20/55libvhost-user: fix SLAVE_SEND_FD handlingcontrib/libvhost-user/libvhost-user.c+2 -10 replies
21/55qcow2: Fix the calculation of the maximum L2 cache sizeblock/qcow2.c+5 -10 replies
22/55block/nfs: tear down aio before nfs_closeblock/nfs.c+4 -20 replies
23/55curl: Keep pointer to the CURLState in CURLSocketblock/curl.c+3 -00 replies
24/55curl: Keep *socket until the end of curl_sock_cb()block/curl.c+5 -50 replies
25/55curl: Check completion in curl_multi_do()block/curl.c+2 -120 replies
26/55curl: Pass CURLSocket to curl_multi_do()block/curl.c+11 -90 replies
27/55curl: Report only ready socketsblock/curl.c+6 -110 replies
28/55curl: Handle success in multi_check_completionblock/curl.c+29 -400 replies
29/55blockjob: update nodes head while removing all bdrvblockjob.c+13 -40 replies
30/55block/qcow2: Fix corruption introduced by commit 8ac0f15f335block/qcow2-cluster.c+4 -30 replies
31/55coroutine: Add qemu_co_mutex_assert_locked()include/qemu/coroutine.h+15 -00 replies
32/55qcow2: Fix corruption bug in qcow2_detect_metadata_preallocation()block/qcow2-refcount.c block/qcow2.c+4 -10 replies
33/55block/backup: fix max_transfer handling for copy_rangeblock/backup.c+11 -40 replies
34/55block/backup: fix backup_cow_with_offload for last clusterblock/backup.c+1 -10 replies
35/55hw/arm/boot.c: Set NSACR.{CP11, CP10} for NS kernel bootshw/arm/boot.c+2 -00 replies
36/55make-release: pull in edk2 submodules so we can build it from tarballsscripts/make-release+8 -00 replies
37/55roms/Makefile.edk2: don't pull in submodules when building from tarballroms/Makefile.edk2+6 -10 replies
38/55s390: PCI: fix IOMMU region inithw/s390x/s390-pci-bus.c+6 -10 replies
39/55block/snapshot: Restrict set of snapshot nodesblock/snapshot.c+19 -70 replies
40/55iotests: Test internal snapshots with -blockdevtests/qemu-iotests/267 tests/qemu-iotests/267.out tests/qemu-iotests/common.filter +1 more+358 -40 replies
41/55vhost-user: save features if the char dev is closednet/vhost-user.c+4 -00 replies
42/55hw/core/loader: Fix possible crash in rom_copy()hw/core/loader.c+1 -10 replies
43/55qcow2: Limit total allocation range to INT_MAXblock/qcow2-cluster.c+4 -10 replies
44/55iotests: Test large write request to qcow2 filetests/qemu-iotests/270 tests/qemu-iotests/270.out tests/qemu-iotests/group+93 -00 replies
45/55mirror: Do not dereference invalid pointersblock/mirror.c+9 -40 replies
46/55ui: Fix hanging up Cocoa display on macOS 10.15 (Catalina)ui/cocoa.m+12 -00 replies
47/55virtio: new post_load hookhw/virtio/virtio.c include/hw/virtio/virtio.h+13 -00 replies
48/55virtio-net: prevent offloads reset on migrationhw/net/virtio-net.c include/hw/virtio/virtio-net.h+26 -30 replies
49/55COLO-compare: Fix incorrect `if` logicnet/colo-compare.c+3 -30 replies
50/55util/hbitmap: strict hbitmap_resetinclude/qemu/hbitmap.h tests/test-hbitmap.c util/hbitmap.c+10 -10 replies
51/55hbitmap: handle set/reset with zero lengthutil/hbitmap.c+8 -00 replies
52/55target/arm: Allow reading flags from FPSCR for M-profiletarget/arm/translate-vfp.inc.c+3 -20 replies
53/55target/xtensa: regenerate and re-import test_mmuhifi_c3 coretarget/xtensa/core-test_mmuhifi_c3.c target/xtensa/core-test_mmuhifi_c3/core-isa.h target/xtensa/core-test_mmuhifi_c3/gdb-config.inc.c +1 more+3385 -32320 replies
54/55scsi: lsi: exit infinite loop while executing script (CVE-2019-12068)hw/scsi/lsi53c895a.c+27 -140 replies
55/55virtio-blk: Cancel the pending BH when the dataplane is resethw/block/dataplane/virtio-blk.c+3 -00 replies

Reviews trailers per patch

37 of 55 patches have a Reviewed-by or Acked-by.

PatchStefano GarzarellaJohn SnowEduardo HabkostVladimir Sementsov-OgievskiyMax ReitzMaxim LevitskySergio LopezTiwei BieMichael S. TsirkinRichard HendersonPhilippe Mathieu-DaudéMichael WeiserDenis V. LunevEric BlakeCornelia HuckPeter KrempaAnthony PERARDPierre MorelBoris FiuczynskiPeter MaydellJason WangPaolo BonziniPaul DurrantLaszlo Ersek
1/55
2/55
3/55R-b
4/55
5/55
6/55R-b
7/55R-b
8/55R-b T-b R-b T-b
9/55R-b T-b R-b T-b
10/55R-b A-b
11/55R-b
12/55
13/55R-b
14/55
15/55
16/55
17/55
18/55R-b R-b
19/55R-b
20/55R-b R-b
21/55
22/55
23/55R-b R-b
24/55R-b R-b
25/55R-b R-b
26/55R-b R-b
27/55R-b R-b
28/55R-b R-b
29/55R-b
30/55R-b R-b
31/55R-b R-b T-b R-b R-b
32/55R-b R-b T-b R-b
33/55
34/55R-b R-b
35/55R-b
36/55R-b T-b
37/55R-b T-b R-b
38/55R-b T-b
39/55R-b R-b T-b
40/55R-b T-b
41/55R-b A-b
42/55R-b
43/55R-b R-b
44/55R-b
45/55R-b R-b
46/55
47/55
48/55
49/55R-b
50/55R-b
51/55R-b
52/55R-b
53/55
54/55
55/55

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 [PATCH 00/55] Patch Round-up for stable 4.1.1, freeze on 2019-11-12

Hi everyone,

The following new patches are queued for QEMU stable v4.1.1:

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

The release is tentatively planned for 2019-11-14:

https://wiki.qemu.org/Planning/4.1

Please note that the original release date was planned for 2019-11-21, but was moved up to address a number of qcow2 corruption issues:

https://lists.gnu.org/archive/html/qemu-devel/2019-10/msg07144.html

Fixes for the XFS issues noted in the thread are still pending, but will hopefully be qemu.git master in time for 4.1.1 freeze and the currently-scheduled release date for 4.2.0-rc1.

The list of still-pending patchsets being tracked for inclusion are:

qcow2: Fix data corruption on XFS

    https://lists.gnu.org/archive/html/qemu-devel/2019-11/msg00073.html
    (PULL pending)
  qcow2: Fix QCOW2_COMPRESSED_SECTOR_MASK
    https://lists.gnu.org/archive/html/qemu-devel/2019-10/msg07718.html
  qcow2-bitmap: Fix uint64_t left-shift overflow
    https://lists.gnu.org/archive/html/qemu-devel/2019-10/msg07989.html

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

Thanks!

----------------------------------------------------------------
Adrian Moreno (1):
vhost-user: save features if the char dev is closed

Alberto Garcia (1):
qcow2: Fix the calculation of the maximum L2 cache size

Anthony PERARD (1):
xen-bus: Fix backend state transition on device reset

Aurelien Jarno (1):
target/alpha: fix tlb_fill trap_arg2 value for instruction fetch

Christophe Lyon (1):
target/arm: Allow reading flags from FPSCR for M-profile

David Hildenbrand (1):

      s390x/tcg: Fix VERIM with 32/64 bit elements

Eduardo Habkost (1):
pc: Don't make die-id mandatory unless necessary

Fan Yang (1):
COLO-compare: Fix incorrect if logic

Hikaru Nishida (1):
ui: Fix hanging up Cocoa display on macOS 10.15 (Catalina)

Igor Mammedov (1):
x86: do not advertise die-id in query-hotpluggbale-cpus if '-smp dies' is not set

Johannes Berg (1):
libvhost-user: fix SLAVE_SEND_FD handling

John Snow (2):
Revert "ide/ahci: Check for -ECANCELED in aio callbacks"
iotests: add testing shim for script-style python tests

Kevin Wolf (4):
coroutine: Add qemu_co_mutex_assert_locked()
qcow2: Fix corruption bug in qcow2_detect_metadata_preallocation() block/snapshot: Restrict set of snapshot nodes
iotests: Test internal snapshots with -blockdev

Markus Armbruster (1):
pr-manager: Fix invalid g_free() crash bug

Matthew Rosato (1):
s390: PCI: fix IOMMU region init

Max Filippov (1):
target/xtensa: regenerate and re-import test_mmuhifi_c3 core

Max Reitz (16):
block/file-posix: Reduce xfsctl() use
iotests: Test reverse sub-cluster qcow2 writes
vpc: Return 0 from vpc_co_create() on success
iotests: Add supported protocols to execute_test()
iotests: Restrict file Python tests to file
iotests: Restrict nbd Python tests to nbd
iotests: Test blockdev-create for vpc
curl: Keep pointer to the CURLState in CURLSocket
curl: Keep *socket until the end of curl_sock_cb()
curl: Check completion in curl_multi_do()
curl: Pass CURLSocket to curl_multi_do()
curl: Report only ready sockets
curl: Handle success in multi_check_completion
qcow2: Limit total allocation range to INT_MAX
iotests: Test large write request to qcow2 file
mirror: Do not dereference invalid pointers

Maxim Levitsky (1):
block/qcow2: Fix corruption introduced by commit 8ac0f15f335

Michael Roth (2):
make-release: pull in edk2 submodules so we can build it from tarballs roms/Makefile.edk2: don't pull in submodules when building from tarball

Michael S. Tsirkin (1):
virtio: new post_load hook

Mikhail Sennikovsky (1):
virtio-net: prevent offloads reset on migration

Paolo Bonzini (2):
dma-helpers: ensure AIO callback is invoked after cancellation
scsi: lsi: exit infinite loop while executing script (CVE-2019-12068)

Paul Durrant (1):
xen-bus: check whether the frontend is active during device reset...

Peter Lieven (1):
block/nfs: tear down aio before nfs_close

Peter Maydell (3):
target/arm: Free TCG temps in trans_VMOV_64_sp() target/arm: Don't abort on M-profile exception return in linux-user mode hw/arm/boot.c: Set NSACR.{CP11,CP10} for NS kernel boots

Philippe Mathieu-Daudé (1):
virtio-blk: Cancel the pending BH when the dataplane is reset

Sergio Lopez (1):
blockjob: update nodes head while removing all bdrv

Thomas Huth (1):
hw/core/loader: Fix possible crash in rom_copy()

Vladimir Sementsov-Ogievskiy (4):
block/backup: fix max_transfer handling for copy_range block/backup: fix backup_cow_with_offload for last cluster util/hbitmap: strict hbitmap_reset
hbitmap: handle set/reset with zero length

 block/backup.c                                     |   17 +-
 block/curl.c                                       |  125 +-
 block/file-posix.c                                 |   77 +-
 block/mirror.c                                     |   13 +-
 block/nfs.c                                        |    6 +-
 block/qcow2-cluster.c                              |   12 +-
 block/qcow2-refcount.c                             |    2 +
 block/qcow2.c                                      |    9 +-
 block/snapshot.c                                   |   26 +-
 block/vpc.c                                        |    3 +-
 blockjob.c                                         |   17 +-
 contrib/libvhost-user/libvhost-user.c              |    3 +-
 dma-helpers.c                                      |   13 +-
 hw/arm/boot.c                                      |    2 +
 hw/block/dataplane/virtio-blk.c                    |    3 +
 hw/core/loader.c                                   |    2 +-
 hw/i386/pc.c                                       |   14 +-
 hw/ide/ahci.c                                      |    3 -
 hw/ide/core.c                                      |   14 -
 hw/net/virtio-net.c                                |   27 +-
 hw/s390x/s390-pci-bus.c                            |    7 +-
 hw/scsi/lsi53c895a.c                               |   41 +-
 hw/virtio/virtio.c                                 |    7 +
 hw/xen/xen-bus.c                                   |   23 +-
 include/hw/virtio/virtio-net.h                     |    2 +
 include/hw/virtio/virtio.h                         |    6 +
 include/qemu/coroutine.h                           |   15 +
 include/qemu/hbitmap.h                             |    5 +
 net/colo-compare.c                                 |    6 +-
 net/vhost-user.c                                   |    4 +
 roms/Makefile.edk2                                 |    7 +-
 scripts/make-release                               |    8 +
 scsi/pr-manager.c                                  |    1 -
 target/alpha/helper.c                              |    4 +-
 target/arm/translate-vfp.inc.c                     |    7 +-
 target/arm/translate.c                             |   21 +-
 target/s390x/translate_vx.inc.c                    |    2 +-
 target/xtensa/core-test_mmuhifi_c3.c               |    3 +-
 target/xtensa/core-test_mmuhifi_c3/core-isa.h      |  116 +-
 .../xtensa/core-test_mmuhifi_c3/gdb-config.inc.c   |  114 +-
 .../core-test_mmuhifi_c3/xtensa-modules.inc.c      | 6384 ++++++++++----------
 tests/acceptance/pc_cpu_hotplug_props.py           |   35 +
 tests/qemu-iotests/030                             |    3 +-
 tests/qemu-iotests/040                             |    3 +-
 tests/qemu-iotests/041                             |    3 +-
 tests/qemu-iotests/044                             |    3 +-
 tests/qemu-iotests/045                             |    3 +-
 tests/qemu-iotests/055                             |    3 +-
 tests/qemu-iotests/056                             |    3 +-
 tests/qemu-iotests/057                             |    3 +-
 tests/qemu-iotests/065                             |    3 +-
 tests/qemu-iotests/096                             |    3 +-
 tests/qemu-iotests/118                             |    3 +-
 tests/qemu-iotests/124                             |    3 +-
 tests/qemu-iotests/129                             |    3 +-
 tests/qemu-iotests/132                             |    3 +-
 tests/qemu-iotests/139                             |    3 +-
 tests/qemu-iotests/147                             |    5 +-
 tests/qemu-iotests/148                             |    3 +-
 tests/qemu-iotests/151                             |    3 +-
 tests/qemu-iotests/152                             |    3 +-
 tests/qemu-iotests/155                             |    3 +-
 tests/qemu-iotests/163                             |    3 +-
 tests/qemu-iotests/165                             |    3 +-
 tests/qemu-iotests/169                             |    3 +-
 tests/qemu-iotests/196                             |    3 +-
 tests/qemu-iotests/199                             |    3 +-
 tests/qemu-iotests/205                             |    3 +-
 tests/qemu-iotests/245                             |    3 +-
 tests/qemu-iotests/265                             |   67 +
 tests/qemu-iotests/265.out                         |    6 +
 tests/qemu-iotests/266                             |  153 +
 tests/qemu-iotests/266.out                         |  137 +
 tests/qemu-iotests/267                             |  168 +
 tests/qemu-iotests/267.out                         |  182 +
 tests/qemu-iotests/270                             |   83 +
 tests/qemu-iotests/270.out                         |    9 +
 tests/qemu-iotests/common.filter                   |   11 +-
 tests/qemu-iotests/group                           |    4 +
 tests/qemu-iotests/iotests.py                      |   42 +-
 tests/test-hbitmap.c                               |    2 +-
 ui/cocoa.m                                         |   12 +
 util/hbitmap.c                                     |   12 +
 83 files changed, 4663 insertions(+), 3514 deletions(-)
 create mode 100644 tests/acceptance/pc_cpu_hotplug_props.py
 create mode 100755 tests/qemu-iotests/265
 create mode 100644 tests/qemu-iotests/265.out
 create mode 100755 tests/qemu-iotests/266
 create mode 100644 tests/qemu-iotests/266.out
 create mode 100755 tests/qemu-iotests/267
 create mode 100644 tests/qemu-iotests/267.out
 create mode 100755 tests/qemu-iotests/270
 create mode 100644 tests/qemu-iotests/270.out