Skip to content

Patch Round-up for stable 6.1.1, freeze on 2021-12-21

Michael Roth qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest47 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/47virtio-balloon: don't start free page hinting if postcopy is possiblehw/virtio/virtio-balloon.c+13 -00 replies
2/47target/arm: Don't skip M-profile reset entirely in user modetarget/arm/cpu.c+19 -00 replies
3/47virtio-net: fix use after unmap/free for sghw/net/virtio-net.c+32 -70 replies
4/47qemu-nbd: Change default cache mode to writebackdocs/tools/qemu-nbd.rst qemu-nbd.c+8 -40 replies
5/47hmp: Unbreak "change vnc"monitor/hmp-cmds.c+1 -10 replies
6/47virtio-mem-pci: Fix memory leak when creating MEMORY_DEVICE_SIZE_CHANGE eventhw/virtio/virtio-mem-pci.c+1 -60 replies
7/47uas: add stream number sanity checks.hw/usb/dev-uas.c+11 -00 replies
8/47vhost-user: fix duplicated notifier MR inithw/virtio/vhost-user.c+3 -20 replies
9/47libvhost-user: fix VHOST_USER_REM_MEM_REG skipping mmap_addrsubprojects/libvhost-user/libvhost-user.c+1 -00 replies
10/47hw/display/artist: Fix bug in coordinate extraction in artist_vram_read() and artist_vram_write()hw/display/artist.c+4 -40 replies
11/47i386/cpu: Remove AVX_VNNI feature from Cooperlake cpu modeltarget/i386/cpu.c+1 -10 replies
12/479pfs: fix crash in v9fs_walk()hw/9pfs/coth.h+3 -10 replies
13/47plugins/execlog: removed unintended "s" at the end of log lines.contrib/plugins/execlog.c+1 -10 replies
14/47plugins: do not limit exported symbols if modules are activeconfigure plugins/meson.build+10 -90 replies
15/47qemu-sockets: fix unix socket path copy (again)util/qemu-sockets.c+5 -80 replies
16/47vhost-vsock: fix migration issue when seqpacket is supportedhw/core/machine.c hw/virtio/vhost-vsock.c include/hw/virtio/vhost-vsock.h+20 -30 replies
17/47hw/arm/virt: Rename default_bus_bypass_iommuhw/arm/virt.c+2 -20 replies
18/47hw/i386: Rename default_bus_bypass_iommuhw/i386/pc.c+1 -10 replies
19/47bios-tables-test: allow changes in DSDT ACPI tables for q35tests/qtest/bios-tables-test-allowed-diff.h+12 -00 replies
20/47hw/i386/acpi: fix conflicting IO address range for acpi pci hotplug in q35include/hw/acpi/ich9.h+1 -10 replies
21/47bios-tables-test: Update ACPI DSDT table golden blobs for q35tests/data/acpi/q35/DSDT tests/data/acpi/q35/DSDT.acpihmat tests/data/acpi/q35/DSDT.bridge +9 more+0 -120 replies
22/47block: introduce max_hw_iov for use in scsi-genericblock/block-backend.c block/file-posix.c block/io.c +3 more+17 -20 replies
23/47pci: fix PCI resource reserve capability on BEhw/pci/pci_bridge.c+5 -50 replies
24/47tests/acpi/bios-tables-test: add and allow changes to a new q35 DSDT table blobtests/data/acpi/q35/DSDT.multi-bridge tests/qtest/bios-tables-test-allowed-diff.h+1 -00 replies
25/47tests/acpi/pcihp: add unit tests for hotplug on multifunction bridges for q35tests/qtest/bios-tables-test.c+18 -00 replies
26/47tests/acpi/bios-tables-test: update DSDT blob for multifunction bridge testtests/data/acpi/q35/DSDT.multi-bridge tests/qtest/bios-tables-test-allowed-diff.h+0 -10 replies
27/47block/file-posix: Fix return value translation for AIO discardsblock/file-posix.c+2 -20 replies
28/47Partially revert "build: -no-pie is no functional linker flag"configure+4 -10 replies
29/47target-i386: mmu: use pg_mode instead of HF_LMA_MASKtarget/i386/tcg/sysemu/excp_helper.c+2 -20 replies
30/47target-i386: mmu: fix handling of noncanonical virtual addressestarget/i386/tcg/sysemu/excp_helper.c+12 -90 replies
31/47hw/scsi/scsi-disk: MODE_PAGE_ALLS not allowed in MODE SELECT commandshw/scsi/scsi-disk.c+6 -00 replies
32/47hw: m68k: virt: Add compat machine for 6.1hw/m68k/virt.c+8 -10 replies
33/47rcu: Introduce force_rcu notifierinclude/qemu/rcu.h util/rcu.c+34 -00 replies
34/47accel/tcg: Register a force_rcu notifieraccel/tcg/tcg-accel-ops-mttcg.c accel/tcg/tcg-accel-ops-rr.c+36 -00 replies
35/47pcie: rename 'native-hotplug' to 'x-native-hotplug'hw/i386/pc_q35.c hw/pci/pcie_port.c+2 -20 replies
36/47virtio: use virtio accessor to access packed descriptor flagshw/virtio/virtio.c+4 -70 replies
37/47virtio: use virtio accessor to access packed eventhw/virtio/virtio.c+4 -90 replies
38/47vfio: Fix memory leak of hostwinhw/vfio/common.c+8 -00 replies
39/47nbd/server: Don't complain on certain client disconnectsnbd/server.c+3 -00 replies
40/47hw/nvme: fix buffer overrun in nvme_changed_nslist (CVE-2021-3947)hw/nvme/ctrl.c+5 -00 replies
41/47chardev/wctable: don't free the instance in wctablet_chr_finalizechardev/wctablet.c+0 -10 replies
42/47hw/block/fdc: Extract blk_create_empty_drive()hw/block/fdc.c+7 -20 replies
43/47hw/block/fdc: Kludge missing floppy drive to fix CVE-2021-20196hw/block/fdc.c+13 -10 replies
44/47tests/qtest/fdc-test: Add a regression test for CVE-2021-20196tests/qtest/fdc-test.c+38 -00 replies
45/47virtio-blk: Fix clean up of host notifiers for single MR transaction.hw/block/dataplane/virtio-blk.c+1 -10 replies
46/47net: vmxnet3: validate configuration values during activate (CVE-2021-20203)hw/net/vmxnet3.c+13 -00 replies
47/47e1000: fix tx re-entrancy problemhw/net/e1000.c+7 -00 replies

Reviews trailers per patch

32 of 47 patches have a Reviewed-by or Acked-by.

PatchMichael S. TsirkinRaphael NorwitzStefan HajnocziPhilippe Mathieu-DaudéGreg KurzEric AugerIgor MammedovRichard HendersonDaniel P. BerrangéMarc-André LureauAni SinhaPeter XuJulia SuvorovaThomas HuthVladimir Sementsov-OgievskiyAkihiko OdakiHanna ReitzDarren KennyMark Cave-AylandMarkus ArmbrusterEric BlakeGerd Hoffmann
1/47R-b R-b
2/47R-b
3/47
4/47R-b
5/47R-b R-b
6/47R-b
7/47R-b
8/47R-b
9/47R-b R-b R-b
10/47R-b
11/47
12/47R-b
13/47
14/47
15/47R-b R-b
16/47R-b
17/47R-b T-b R-b
18/47R-b R-b T-b
19/47R-b A-b
20/47R-b R-b R-b
21/47R-b A-b
22/47
23/47R-b T-b
24/47R-b A-b
25/47R-b R-b
26/47R-b A-b
27/47R-b R-b
28/47
29/47
30/47T-b
31/47
32/47
33/47R-b
34/47R-b
35/47R-b R-b
36/47R-b R-b
37/47R-b R-b
38/47
39/47R-b
40/47R-b
41/47R-b
42/47Inspired-by
43/47R-b R-b R-b R-b
44/47R-b
45/47
46/47
47/47

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

Read the v1 thread

Cover letter [PATCH 00/47] Patch Round-up for stable 6.1.1, freeze on 2021-12-21

Hi everyone,

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

https://gitlab.com/qemu-project/qemu/-/commits/stable-6.1-staging/

Patch freeze is 2021-12-21, and the release is planned for 2021-12-23:

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

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

Thanks!

----------------------------------------------------------------
Ani Sinha (6):
bios-tables-test: allow changes in DSDT ACPI tables for q35 hw/i386/acpi: fix conflicting IO address range for acpi pci hotplug in q35
bios-tables-test: Update ACPI DSDT table golden blobs for q35 tests/acpi/bios-tables-test: add and allow changes to a new q35 DSDT table blob tests/acpi/pcihp: add unit tests for hotplug on multifunction bridges for q35 tests/acpi/bios-tables-test: update DSDT blob for multifunction bridge test

Ari Sundholm (1):
block/file-posix: Fix return value translation for AIO discards

Christian Schoenebeck (1):
9pfs: fix crash in v9fs_walk()

Daniil Tatianin (1):
chardev/wctable: don't free the instance in wctablet_chr_finalize

David Hildenbrand (3):
virtio-balloon: don't start free page hinting if postcopy is possible
virtio-mem-pci: Fix memory leak when creating MEMORY_DEVICE_SIZE_CHANGE event
libvhost-user: fix VHOST_USER_REM_MEM_REG skipping mmap_addr

Eric Blake (1):
nbd/server: Don't complain on certain client disconnects

Gerd Hoffmann (1):
uas: add stream number sanity checks.

Greg Kurz (2):
rcu: Introduce force_rcu notifier
accel/tcg: Register a force_rcu notifier

Helge Deller (1):
hw/display/artist: Fix bug in coordinate extraction in artist_vram_read() and artist_vram_write()

Igor Mammedov (1):
pcie: rename 'native-hotplug' to 'x-native-hotplug'

Jason Wang (3):
virtio-net: fix use after unmap/free for sg
virtio: use virtio accessor to access packed descriptor flags
virtio: use virtio accessor to access packed event

Jean-Philippe Brucker (2):
hw/arm/virt: Rename default_bus_bypass_iommu hw/i386: Rename default_bus_bypass_iommu

Jessica Clarke (1):
Partially revert "build: -no-pie is no functional linker flag"

Jon Maloy (1):
e1000: fix tx re-entrancy problem

Klaus Jensen (1):
hw/nvme: fix buffer overrun in nvme_changed_nslist (CVE-2021-3947)

Laurent Vivier (1):
hw: m68k: virt: Add compat machine for 6.1

Mahmoud Mandour (1):
plugins/execlog: removed unintended "s" at the end of log lines.

Mark Mielke (1):
virtio-blk: Fix clean up of host notifiers for single MR transaction.

Markus Armbruster (1):
hmp: Unbreak "change vnc"

Mauro Matteo Cascella (1):
hw/scsi/scsi-disk: MODE_PAGE_ALLS not allowed in MODE SELECT commands

Michael S. Tsirkin (1):
pci: fix PCI resource reserve capability on BE

Michael Tokarev (1):
qemu-sockets: fix unix socket path copy (again)

Nir Soffer (1):
qemu-nbd: Change default cache mode to writeback

Paolo Bonzini (4):
plugins: do not limit exported symbols if modules are active
block: introduce max_hw_iov for use in scsi-generic
target-i386: mmu: use pg_mode instead of HF_LMA_MASK
target-i386: mmu: fix handling of noncanonical virtual addresses

Peng Liang (1):
vfio: Fix memory leak of hostwin

Peter Maydell (1):
target/arm: Don't skip M-profile reset entirely in user mode

Philippe Mathieu-Daudé (3):
hw/block/fdc: Extract blk_create_empty_drive() hw/block/fdc: Kludge missing floppy drive to fix CVE-2021-20196 tests/qtest/fdc-test: Add a regression test for CVE-2021-20196

Prasad J Pandit (1):
net: vmxnet3: validate configuration values during activate (CVE-2021-20203)

Stefano Garzarella (1):
vhost-vsock: fix migration issue when seqpacket is supported

Xueming Li (1):
vhost-user: fix duplicated notifier MR init

Yang Zhong (1):
i386/cpu: Remove AVX_VNNI feature from Cooperlake cpu model

 accel/tcg/tcg-accel-ops-mttcg.c           |  26 ++++++++++++++++++++
 accel/tcg/tcg-accel-ops-rr.c              |  10 ++++++++
 block/block-backend.c                     |   6 +++++
 block/file-posix.c                        |   6 ++---
 block/io.c                                |   1 +
 chardev/wctablet.c                        |   1 -
 configure                                 |  10 +++++---
 contrib/plugins/execlog.c                 |   2 +-
 docs/tools/qemu-nbd.rst                   |   6 +++--
 hw/9pfs/coth.h                            |   4 ++-
 hw/arm/virt.c                             |   4 +--
 hw/block/dataplane/virtio-blk.c           |   2 +-
 hw/block/fdc.c                            |  23 +++++++++++++++---
 hw/core/machine.c                         |   1 +
 hw/display/artist.c                       |   8 +++---
 hw/i386/pc.c                              |   2 +-
 hw/i386/pc_q35.c                          |   2 +-
 hw/m68k/virt.c                            |   9 ++++++-
 hw/net/e1000.c                            |   7 ++++++
 hw/net/virtio-net.c                       |  39 ++++++++++++++++++++++++------
 hw/net/vmxnet3.c                          |  13 ++++++++++
 hw/nvme/ctrl.c                            |   5 ++++
 hw/pci/pci_bridge.c                       |  10 ++++----
 hw/pci/pcie_port.c                        |   2 +-
 hw/scsi/scsi-disk.c                       |   6 +++++
 hw/scsi/scsi-generic.c                    |   2 +-
 hw/usb/dev-uas.c                          |  11 +++++++++
 hw/vfio/common.c                          |   8 ++++++
 hw/virtio/vhost-user.c                    |   5 ++--
 hw/virtio/vhost-vsock.c                   |  19 ++++++++++++---
 hw/virtio/virtio-balloon.c                |  13 ++++++++++
 hw/virtio/virtio-mem-pci.c                |   7 +-----
 hw/virtio/virtio.c                        |  24 ++++++------------
 include/block/block_int.h                 |   7 ++++++
 include/hw/acpi/ich9.h                    |   2 +-
 include/hw/virtio/vhost-vsock.h           |   3 +++
 include/qemu/rcu.h                        |  15 ++++++++++++
 include/sysemu/block-backend.h            |   1 +
 monitor/hmp-cmds.c                        |   2 +-
 nbd/server.c                              |   3 +++
 plugins/meson.build                       |  14 ++++++-----
 qemu-nbd.c                                |   6 +++--
 subprojects/libvhost-user/libvhost-user.c |   1 +
 target/arm/cpu.c                          |  19 +++++++++++++++
 target/i386/cpu.c                         |   2 +-
 target/i386/tcg/sysemu/excp_helper.c      |  25 ++++++++++---------
 tests/data/acpi/q35/DSDT                  | Bin 8289 -> 8289 bytes
 tests/data/acpi/q35/DSDT.acpihmat         | Bin 9614 -> 9614 bytes
 tests/data/acpi/q35/DSDT.bridge           | Bin 11003 -> 11003 bytes
 tests/data/acpi/q35/DSDT.cphp             | Bin 8753 -> 8753 bytes
 tests/data/acpi/q35/DSDT.dimmpxm          | Bin 9943 -> 9943 bytes
 tests/data/acpi/q35/DSDT.ipmibt           | Bin 8364 -> 8364 bytes
 tests/data/acpi/q35/DSDT.memhp            | Bin 9648 -> 9648 bytes
 tests/data/acpi/q35/DSDT.mmio64           | Bin 9419 -> 9419 bytes
 tests/data/acpi/q35/DSDT.multi-bridge     | Bin 0 -> 8583 bytes
 tests/data/acpi/q35/DSDT.nohpet           | Bin 8147 -> 8147 bytes
 tests/data/acpi/q35/DSDT.numamem          | Bin 8295 -> 8295 bytes
 tests/data/acpi/q35/DSDT.tis              | Bin 8894 -> 8894 bytes
 tests/qtest/bios-tables-test.c            |  18 ++++++++++++++
 tests/qtest/fdc-test.c                    |  38 +++++++++++++++++++++++++++++
 util/qemu-sockets.c                       |  13 ++++------
 util/rcu.c                                |  19 +++++++++++++++
 62 files changed, 386 insertions(+), 96 deletions(-)
 create mode 100644 tests/data/acpi/q35/DSDT.multi-bridge