From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.5 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D4E6CC433DF for ; Tue, 16 Jun 2020 14:23:53 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 847BD208B3 for ; Tue, 16 Jun 2020 14:23:53 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="kub6hfO1" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 847BD208B3 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linux.vnet.ibm.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:40350 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jlCVE-0002LW-Q0 for qemu-devel@archiver.kernel.org; Tue, 16 Jun 2020 10:23:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57184) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jlCPD-00013o-0P; Tue, 16 Jun 2020 10:17:39 -0400 Received: from mail-ot1-x332.google.com ([2607:f8b0:4864:20::332]:38833) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jlCPA-0006Wv-UX; Tue, 16 Jun 2020 10:17:38 -0400 Received: by mail-ot1-x332.google.com with SMTP id n70so16042580ota.5; Tue, 16 Jun 2020 07:17:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=9vGu0YLgaYZvwQAcBTQm8uE/5aIG9Ox/1lBOfdE+yIQ=; b=kub6hfO1O9uS6RPw3ILgwDRQRePd6Ilpi7yj25zIVYPRGmI2AwiTYGtDWSkiVkXcFv 1fY5Q2O84drKQi+nU3FlHzzgszDVAJs7rSUCQnlXM7bKsDD4KFa5wVhyO9A65x/4d1O8 35tBUsE7fCWybiTGsk/V+dZYtA5fQFdJqiZQ541eLI9eBstkQbS01DdwMfcsKgP5I8BI B99VKX9ElOLD9JG0hHzniXty+Qgs+Fo6aEyg6Oiy05TG4j9Bn96t4vwYYALa5sWxOvf0 GREFVmRLVgO+LmJg3F+espDHxSS2RYppUsy+8Umbw768G/uDS7lvOUUIb3l0PR6KXPZa zDtA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding; bh=9vGu0YLgaYZvwQAcBTQm8uE/5aIG9Ox/1lBOfdE+yIQ=; b=eNPoAEyknW7EvQAkYicnjWny/g1uFsr7TZPgNZWkhdzM6VKhylSK4URcDqbJ1HCP1D wtoX991eshfU3WU2OHJTYZgDdHCXDtC8yM0B5j+CYrVOOr/OSOS1llfHWYjVBVpbMIEI jld3tXTDMcQLyEduBOaDGHsNjtKKVPui4rL1EGPcDc6DKIHv7ckxogi6uUkjGE6vOoWr +JjVer6mDiGaE9XqxMPgNowIlcnpItyY46aIfGiwJo2BULL2r1J6tbYrYuDgYS24AUOC DTlaMjlKYPaXSTmCANJMMguNOEOWNN7cpGsY/TgBXjmPDeGgcmGB9gA+adF1iUv0E8iI abHA== X-Gm-Message-State: AOAM530bLIC28qyE9fHBp5L8gTsDfMuxBmoatxZFW3nbNabjpeqya03l HZX1cJPEr72nwwntr96PZBk0cyV1 X-Google-Smtp-Source: ABdhPJy6QbSl4QDEC382kfd46atgtPIJKVN913FRct7+XYEGgeMpcsuemS2kjlyAPllLO4X6/Iip9A== X-Received: by 2002:a05:6830:1dbb:: with SMTP id z27mr2570012oti.340.1592317055055; Tue, 16 Jun 2020 07:17:35 -0700 (PDT) Received: from localhost (76-251-165-188.lightspeed.austtx.sbcglobal.net. [76.251.165.188]) by smtp.gmail.com with ESMTPSA id c196sm4149487oib.34.2020.06.16.07.17.34 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 16 Jun 2020 07:17:34 -0700 (PDT) From: Michael Roth To: qemu-devel@nongnu.org Subject: [PATCH 00/78] Patch Round-up for stable 4.2.1, freeze on 2020-06-22 Date: Tue, 16 Jun 2020 09:14:29 -0500 Message-Id: <20200616141547.24664-1-mdroth@linux.vnet.ibm.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::332; envelope-from=flukshun@gmail.com; helo=mail-ot1-x332.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: 0 X-Spam_score: 0.0 X-Spam_bar: / X-Spam_report: (0.0 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=1, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: qemu-stable@nongnu.org Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" 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-stable@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