Hi Michael, Our upcoming SLE15-SP2 and Leap 15.2 releases have a qemu package which is based on v4.2.0. In addition to some of the patches already mentioned, here is a list of others we have backported as being stable material. I threw a little wider net this time than usual, so feel free to give it a more critical eye.
commit 8937a39da22e5d5689c516a2d4ce4f2bb6a378fc Author: Han Han <h...@redhat.com> Revert "qemu-options.hx: Update for reboot-timeout parameter" commit 0f516ca4767042aec8716369d6d62436fa10593a Author: Robert Foley <robert.fo...@linaro.org> Fix double free issue in qemu_set_log_filename(). commit eb4ea9aaa0051054b3c148ad8631be7510851681 Author: Max Reitz <mre...@redhat.com> iotests: Fix IMGOPTSSYNTAX for nbd commit fcd3f2cc124600385dba46c69a80626985c15b50 Author: Igor Mammedov <imamm...@redhat.com> numa: properly check if numa is supported commit ca26b032e5a0e8a190c763ce828a8740d24b9b65 Author: Cole Robinson <crobi...@redhat.com> vhost-user-gpu: Drop trailing json comma commit 0d82411d0e38a0de7829f97d04406765c8d2210d Author: Cameron Esfahani <di...@apple.com> display/bochs-display: fix memory leak commit 3d44c60500785f18bb469c9de0aeba7415c0f28f Author: Simon Veith <sve...@amazon.de> hw/arm/smmuv3: Apply address mask to linear strtab base address commit 3293b9f514a413e019b7dbc9d543458075b4849e Author: Simon Veith <sve...@amazon.de> hw/arm/smmuv3: Correct SMMU_BASE_ADDR_MASK value commit 05ff2fb80ce4ca85d8a39d48ff8156de739b4f51 Author: Simon Veith <sve...@amazon.de> hw/arm/smmuv3: Check stream IDs against actual table LOG2SIZE commit 41678c33aac61261522b74f08595ccf2221a430a Author: Simon Veith <sve...@amazon.de> hw/arm/smmuv3: Align stream table base address to table size commit a7f65ceb851af5a5b639c6e30801076d848db2c2 Author: Simon Veith <sve...@amazon.de> hw/arm/smmuv3: Use correct bit positions in EVT_SET_ADDR2 macro commit b255cafb59578d16716186ed955717bc8f87bdb7 Author: Simon Veith <sve...@amazon.de> hw/arm/smmuv3: Report F_STE_FETCH fault address in correct word position commit 7b1d9c4df0603fbc526226a9c5ef91118aa6c957 Author: Max Reitz <mre...@redhat.com> block: Add bdrv_qapi_perm_to_blk_perm() commit 69c6449ff10fe4e3219e960549307096d5366bd0 Author: Max Reitz <mre...@redhat.com> blkdebug: Allow taking/unsharing permissions commit 16c5c6928ff53bd95e6504301ef6c285501531e7 Author: Laurent Vivier <lviv...@redhat.com> migration-test: ppc64: fix FORTH test program commit 30d544839e278dc76017b9a42990c41e84a34377 Author: Jeff Kubascik <jeff.kubas...@dornerworks.com> target/arm: Return correct IL bit in merge_syn_data_abort commit ddad81bd28de665475a87693a93e6cf5d6fd8bab Author: Laurent Vivier <lviv...@redhat.com> runstate: ignore finishmigrate -> prelaunch transition commit 97e1e06780e70f6e98a0d2df881e0c0927d3aeb6 Author: Dr. David Alan Gilbert <dgilb...@redhat.com> migration: Rate limit inside host pages commit 0780ec7be82dd4781e9fd216b5d99a125882ff5a Author: Gerd Hoffmann <kra...@redhat.com> Revert "vnc: allow fall back to RAW encoding" commit 557ba0e57200014bd4f453f6516f02b61bdfc782 Author: Cameron Esfahani <di...@apple.com> vnc: prioritize ZRLE compression over ZLIB commit 322f244aaa80a5208090d41481c1c09c6face66b Author: Laurent Vivier <laur...@vivier.eu> m68k: Fix regression causing Single-Step via GDB/RSP to not single step commit de0b1bae6461f67243282555475f88b2384a1eb9 Author: Vincent Dehors <vincent.deh...@smile.fr> target/arm: Fix PAuth sbox functions commit 420ae1fc51c99abfd03b1c590f55617edd2a2bed Author: Paolo Bonzini <pbonz...@redhat.com> target/i386: kvm: initialize feature MSRs very early commit 3c5fd8074335c67777d9391b84f97070c35d9c63 Author: Cornelia Huck <coh...@redhat.com> s390x: adapter routes error handling commit fb574de81bfdd71fdb0315105a3a7761efb68395 Author: Eiichi Tsukata <de...@etsukata.com> block/backup: fix memory leak in bdrv_backup_top_append() commit 71e415c8a75c130875f14d6b2136825789feb297 Author: Marc-André Lureau <marcandre.lur...@redhat.com> tpm-ppi: page-align PPI RAM commit 618bacabd3c8c3360be795cd8763bacdf5bec101 Author: Zenghui Yu <yuzeng...@huawei.com> hw/intc/arm_gicv3_kvm: Stop wrongly programming GICR_PENDBASER.PTZ bit commit 7a4ede0047a8613b0e3b72c9d351038f013dd357 Author: Gerd Hoffmann <kra...@redhat.com> audio/oss: fix buffer pos calculation commit aeab8e5eb220cc5ff84b0b68b9afccc611bf0fcd Author: Alex Bennée <alex.ben...@linaro.org> target/arm: fix TCG leak for fcvt half->double commit cb8956144ccaccf23d5cc4167677e2c84fa5a9f8 Author: Pan Nengyuan <pannengy...@huawei.com> block: fix memleaks in bdrv_refresh_filename commit 0df62f45c1de6c020f1e6fba4eeafd248209b003 Author: Vladimir Sementsov-Ogievskiy <vsement...@virtuozzo.com> block/backup-top: fix failure path commit a541fcc27c98b96da187c7d4573f3270f3ddd283 Author: Vladimir Sementsov-Ogievskiy <vsement...@virtuozzo.com> iotests: add test for backup-top failure on permission activation commit 0999a4ba8718aa96105b978d3567fc7e90244c7e Author: Liang Yan <l...@suse.com> target/arm/monitor: query-cpu-model-expansion crashed qemu when using machine type none commit ac9d00bf7b47acae6b0e42910d9ed55fef3af5b8 Author: Vladimir Sementsov-Ogievskiy <vsement...@virtuozzo.com> block: fix crash on zero-length unaligned write and read commit 804359b8b90f76d9d8fbe8d85a6544b68f107f10 Author: Max Reitz <mre...@redhat.com> block: Fix VM size field width in snapshot dump commit a1ed04dd79aabb9dbeeb5fa7d49f1a3de0357553 Author: Peter Maydell <peter.mayd...@linaro.org> target/arm: Correct definition of PMCRDP commit 9861546e1dae05c5152de7d3bd14e341ecadc972 Author: Pan Nengyuan <pannengy...@huawei.com> virtio-pmem: do delete rq_vq in virtio_pmem_unrealize commit d56e1c8256cb37e68f9b5d98c6cc4e6ca463f1fd Author: Pan Nengyuan <pannengy...@huawei.com> virtio-crypto: do delete ctrl_vq in virtio_crypto_device_unrealize commit 13e5468127111bf44c5dc314d1dd2ec5a65dfec4 Author: Pan Nengyuan <pannengy...@huawei.com> vhost-user-blk: delete virtioqueues in unrealize to fix memleaks commit 2104df2a1fbf44b2564427aa72fd58d66ce290a7 Author: Niek Linnenbank <nieklinnenb...@gmail.com> hw/arm/cubieboard: use ARM Cortex-A8 as the default CPU in machine definition commit 9bfc04f9ef6802fff0fc77130ff345a541783363 Author: Janosch Frank <fran...@linux.ibm.com> pc-bios: s390x: Save iplb location in lowcore commit 69135eb30b9c3fca583737a96df015174dc8e6dd Author: Eric Blake <ebl...@redhat.com> iotests: Fix nonportable use of od --endian commit 1583794b9b36911df116cc726750dadbeeac506a Author: Philippe Mathieu-Daudé <phi...@redhat.com> ppc/ppc405_boards: Remove unnecessary NULL check commit 71eaec2e8c7c8d266137b5c5f42da0bd6d6b5eb7 Author: Eric Blake <ebl...@redhat.com> block: Avoid memleak on qcow2 image info failure commit 6e57963a77df1e275a73dab4c6a7ec9a9d3468d4 Author: Vladimir Sementsov-Ogievskiy <vsement...@virtuozzo.com> block: bdrv_set_backing_bs: fix use-after-free commit d4ff109373ce871928c7e9ef648973eba642b484 Author: Dr. David Alan Gilbert <dgilb...@redhat.com> hmp/vnc: Fix info vnc list leak commit 27d07fcfa70c3afa0664288cbce5334ed9595a3a Author: Vladimir Sementsov-Ogievskiy <vsement...@virtuozzo.com> migration/colo: fix use after free of local_err commit b4a1733c5e6827c72b0dcfa295e07ef7b1ebccff Author: Vladimir Sementsov-Ogievskiy <vsement...@virtuozzo.com> migration/ram: fix use after free of local_err commit bb40ebce2cb0bd4bf37968074d43d5a864fb6dee Author: Eric Blake <ebl...@redhat.com> qcow2: List autoclear bit names in header commit ed049910637be991c88cc25c864115bc5b1e4dab Author: Eric Blake <ebl...@redhat.com> sheepdog: Consistently set bdrv_has_zero_init_truncate commit 8ffb7265af64ec81748335ec8f20e7ab542c3850 Author: Prasad J Pandit <p...@fedoraproject.org> net: tulip: check frame size and r/w data length commit 7aab5899764887f6b0512cb2e5c11bdc2a5d3644 Author: David Gibson <da...@gibson.dropbear.id.au> spapr: Fix failure path for attempting to hot unplug PCI bridges commit 3f6de653b946fe849330208becf79d6af7e876cb Author: Kevin Wolf <kw...@redhat.com> vpc: Don't round up already aligned BAT sizes commit 1a03362b14affa4d8ddede55df6e21d7a07b87c2 Author: Max Filippov <jcmvb...@gmail.com> target/xtensa: fix pasto in pfwait.r opcode name commit a4e57084c16d5b0eff3651693fba04f26b30b551 - Bruce ________________________________________ From: Qemu-devel <qemu-devel-bounces+brogers=suse....@nongnu.org> on behalf of Michael Roth <mdr...@linux.vnet.ibm.com> Sent: Tuesday, June 16, 2020 8:14 AM To: qemu-devel@nongnu.org Cc: qemu-sta...@nongnu.org Subject: [PATCH 00/78] Patch Round-up for stable 4.2.1, freeze on 2020-06-22 Hi everyone, The following new patches are queued for QEMU stable v4.2.1: https://github.com/mdroth/qemu/commits/stable-4.2-staging The release is planned for 2020-06-25: https://wiki.qemu.org/Planning/4.2 Due to delays on my part this release is going out beyond the normal ~4 month support window. v5.0.1 is scheduled to be released as normal. Please respond here or CC qemu-sta...@nongnu.org on any additional patches you think should be included in the release. Thanks! ---------------------------------------------------------------- Alex Bennée (2): target/arm: ensure we use current exception state after SCR update tcg: save vaddr temp for plugin usage Alexander Popov (2): tests/ide-test: Create a single unit-test covering more PRDT cases ide: Fix incorrect handling of some PRDTs in ide_dma_cb() Anthony PERARD (1): xen-block: Fix double qlist remove and request leak Basil Salman (2): qga: Installer: Wait for installation to finish qga-win: prevent crash when executing guest-file-read with large count Christian Borntraeger (1): s390/sclp: improve special wait psw logic Christophe de Dinechin (1): scsi/qemu-pr-helper: Fix out-of-bounds access to trnptid_list[] Cornelia Huck (1): compat: disable edid on correct virtio-gpu device Daniel P. Berrangé (1): qapi: better document NVMe blockdev @device parameter David Hildenbrand (3): virtio-balloon: fix free page hinting without an iothread virtio-balloon: fix free page hinting check on unrealize virtio-balloon: unref the iothread when unrealizing Denis Plotnikov (1): virtio-mmio: update queue size on guest write Eduardo Habkost (1): i386: Resolve CPU models to v1 by default Emilio G. Cota (1): plugins/core: add missing break in cb_to_tcg_flags Eric Blake (3): qga: Fix undefined C behavior nbd/server: Avoid long error message assertions CVE-2020-10761 block: Call attention to truncation of long NBD exports Finn Thain (14): dp8393x: Mask EOL bit from descriptor addresses dp8393x: Always use 32-bit accesses dp8393x: Clean up endianness hacks dp8393x: Have dp8393x_receive() return the packet size dp8393x: Update LLFA and CRDA registers from rx descriptor dp8393x: Clear RRRA command register bit only when appropriate dp8393x: Implement packet size limit and RBAE interrupt dp8393x: Don't clobber packet checksum dp8393x: Use long-word-aligned RRA pointers in 32-bit mode dp8393x: Pad frames to word or long word boundary dp8393x: Clear descriptor in_use field to release packet dp8393x: Always update RRA pointers and sequence numbers dp8393x: Don't reset Silicon Revision register dp8393x: Don't stop reception upon RBE interrupt assertion Greg Kurz (1): 9p: Lock directory streams with a CoMutex Igor Mammedov (3): numa: remove not needed check numa: properly check if numa is supported hostmem: don't use mbind() if host-nodes is empty Kevin Wolf (4): block: Activate recursively even for already active nodes qcow2: update_refcount(): Reset old_table_index after qcow2_cache_put() qcow2: Fix qcow2_alloc_cluster_abort() for external data file iotests: Test copy offloading with external data file Li Hangjing (1): virtio-blk: fix out-of-bounds access to bitmap in notify_guest_bh Liu Yi L (2): intel_iommu: a fix to vtd_find_as_from_bus_num() intel_iommu: add present bit check for pasid table entries Max Reitz (4): backup-top: Begin drain earlier qcow2: Fix alloc_cluster_abort() for pre-existing clusters iotests/026: Test EIO on preallocated zero cluster iotests/026: Test EIO on allocation in a data-file Michael S. Tsirkin (3): virtio: update queue size on guest write virtio: add ability to delete vq through a pointer virtio: make virtio_delete_queue idempotent Nicholas Piggin (1): target/ppc: Fix mtmsr(d) L=1 variant that loses interrupts Niek Linnenbank (2): arm/arm-powerctl: set NSACR.{CP11, CP10} bits in arm_set_cpu_on() arm/arm-powerctl: rebuild hflags after setting CP15 bits in arm_set_cpu_on() Pan Nengyuan (2): block/nbd: extract the common cleanup code block/nbd: fix memory leak in nbd_open() Peter Maydell (2): hw/i386/amd_iommu.c: Fix corruption of log events passed to guest dump: Fix writing of ELF section Peter Wu (1): hw/i386/pc: fix regression in parsing vga cmdline parameter Peter Xu (1): vfio/pci: Don't remove irqchip notifier if not registered Philippe Mathieu-Daudé (1): vhost-user-gpu: Release memory returned by vu_queue_pop() with free() Raphael Pour (1): qemu-nbd: Close inherited stderr Richard Henderson (3): target/arm: Set ISSIs16Bit in make_issinfo tcg/i386: Fix INDEX_op_dup2_vec target/arm: Clear tail in gvec_fmul_idx_*, gvec_fmla_idx_* Sameeh Jubran (1): qga-win: Handle VSS_E_PROVIDER_ALREADY_REGISTERED error Stefan Hajnoczi (2): virtio: gracefully handle invalid region caches qemu-ga: document vsock-listen in the man page Thomas Huth (1): net: Do not include a newline in the id of -nic devices Vitaly Chikunov (1): target/ppc: Fix rlwinm on ppc64 Vladimir Sementsov-Ogievskiy (5): qcow2-bitmaps: fix qcow2_can_store_new_dirty_bitmap block/qcow2-threads: fix qcow2_decompress job: refactor progress to separate object block/block-copy: fix progress calculation block/io: fix bdrv_co_do_copy_on_readv Yuri Benditovich (2): virtio: reset region cache when on queue deletion virtio-net: delete also control queue when TX/RX deleted backends/hostmem.c | 6 +- block.c | 57 +++++------ block/backup-top.c | 4 +- block/backup.c | 13 +-- block/block-copy.c | 16 ++- block/io.c | 2 +- block/nbd.c | 48 +++++---- block/qcow2-bitmap.c | 41 ++++---- block/qcow2-cluster.c | 7 +- block/qcow2-refcount.c | 1 + block/qcow2-threads.c | 12 ++- blockjob.c | 16 +-- contrib/vhost-user-gpu/main.c | 4 +- contrib/vhost-user-gpu/virgl.c | 2 +- docs/interop/qemu-ga.rst | 5 +- dump/dump.c | 2 +- hw/9pfs/9p.h | 8 +- hw/arm/sbsa-ref.c | 1 - hw/block/dataplane/virtio-blk.c | 2 +- hw/block/dataplane/xen-block.c | 48 +++------ hw/core/machine.c | 6 +- hw/core/numa.c | 7 +- hw/i386/amd_iommu.c | 2 +- hw/i386/intel_iommu.c | 93 +++++++++++++---- hw/i386/intel_iommu_internal.h | 1 + hw/i386/x86.c | 8 +- hw/ide/core.c | 30 ++++-- hw/net/dp8393x.c | 200 ++++++++++++++++++++++++------------- hw/net/virtio-net.c | 3 +- hw/vfio/pci.c | 4 +- hw/virtio/virtio-balloon.c | 36 +++---- hw/virtio/virtio-mmio.c | 3 +- hw/virtio/virtio-pci.c | 2 + hw/virtio/virtio.c | 116 ++++++++++++++++++--- include/block/block-copy.h | 15 +-- include/hw/virtio/virtio.h | 2 + include/qemu/job.h | 11 +- include/qemu/progress_meter.h | 58 +++++++++++ job-qmp.c | 4 +- job.c | 6 +- nbd/server.c | 23 ++++- net/net.c | 2 +- plugins/core.c | 1 + qapi/block-core.json | 6 +- qemu-deprecated.texi | 8 ++ qemu-img.c | 6 +- qemu-nbd.c | 6 +- qga/commands-win32.c | 8 +- qga/commands.c | 9 +- qga/installer/qemu-ga.wxs | 2 +- qga/main.c | 4 +- qga/vss-win32/install.cpp | 11 ++ scsi/qemu-pr-helper.c | 17 ++-- target/arm/arm-powerctl.c | 6 ++ target/arm/cpu.h | 8 +- target/arm/helper.c | 14 ++- target/arm/helper.h | 1 + target/arm/translate.c | 9 +- target/arm/vec_helper.c | 2 + target/i386/cpu.c | 8 +- target/ppc/translate.c | 66 ++++++------ target/s390x/helper.c | 2 +- tcg/i386/tcg-target.inc.c | 10 +- tcg/tcg-op.c | 23 ++++- tests/ide-test.c | 174 ++++++++++++++------------------ tests/qemu-iotests/026 | 53 ++++++++++ tests/qemu-iotests/026.out | 16 +++ tests/qemu-iotests/026.out.nocache | 16 +++ tests/qemu-iotests/143 | 4 + tests/qemu-iotests/143.out | 2 + tests/qemu-iotests/244 | 14 +++ tests/qemu-iotests/244.out | 6 ++ 72 files changed, 963 insertions(+), 476 deletions(-) create mode 100644 include/qemu/progress_meter.h