From patchwork Fri Sep 18 16:19:56 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Michael S. Tsirkin" X-Patchwork-Id: 273384 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=-22.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PULL_REQUEST, MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, 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 53660C43463 for ; Fri, 18 Sep 2020 16:23:02 +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 C19ED2100A for ; Fri, 18 Sep 2020 16:23:01 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="VzxqDt8o" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C19ED2100A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:53700 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kJJA4-0007GS-Pl for qemu-devel@archiver.kernel.org; Fri, 18 Sep 2020 12:23:00 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40148) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kJJ7H-0004vu-GK for qemu-devel@nongnu.org; Fri, 18 Sep 2020 12:20:07 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:42422) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1kJJ7E-0005Tl-J3 for qemu-devel@nongnu.org; Fri, 18 Sep 2020 12:20:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1600446003; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type; bh=u4302BQbo40TIl3KbmuWqFiGuIo3OQ+IagqhVahM/xU=; b=VzxqDt8oi/w79UUbIa/2007amHZBmdmb3Fa4vQHxRjL0RlTQf6satnvY7mCPMxuQ9TXDPc mMTB7ZOgtY5Op0Ki2vy0uTy+WuG3k19yxM28Q9VbPE33aG5wK2qSHb4dGAitGlLqm3wPvM 6cBJnN8T1RyVUWRgI57M0dfoFQ4tJHE= Received: from mail-wr1-f69.google.com (mail-wr1-f69.google.com [209.85.221.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-519-JkMMZ10JNaOtDDZ7tZ9bvA-1; Fri, 18 Sep 2020 12:20:01 -0400 X-MC-Unique: JkMMZ10JNaOtDDZ7tZ9bvA-1 Received: by mail-wr1-f69.google.com with SMTP id r16so2304809wrm.18 for ; Fri, 18 Sep 2020 09:20:00 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition; bh=u4302BQbo40TIl3KbmuWqFiGuIo3OQ+IagqhVahM/xU=; b=naGoACD93C29MOPUfFo8BGImuzHe5UAszTUQ3gAtLtFp8aFRH0R14lsZsuN5ZZMOw0 P8i74xXvuu8X5T9gCQDxr42wyTrHT3SSdtgUmm8Z6X4HbIop9PIfq0LcqLYOj2SXgqXZ tQC8B3d8+gLb5lB5uSVsObOPgUA/N7Z/TSNLl0SEwAAx1uNoBtB08i7lWgMWpitjKyjx PvtQHnnBfyCHKG5I5V9koPV2S/i1HpZ1hHt11ae8K4RM8te4Nv7Zs42fF/2ni3LmhpYC BOCGZPyyp9Zgou+4kzPW9Qd8pQ9ZryB2SJvBZxXSwVUlrzaQoVSidgV3UJPT5sokCI1u +Vnw== X-Gm-Message-State: AOAM532Uu6AL7cknoo4QKIEvmn0CMVM8K0I+q3O5R+s8r1LZXPkq49jx qZ3DaStQhJCWw+1cHktGdBQ+V4QEVWh6/n7EgCEa9h529mviaTKB9V9mynTuM1JTokHJNgXv+lG P33hi5Y8g+zxYs5U= X-Received: by 2002:adf:e54f:: with SMTP id z15mr37057845wrm.136.1600445999446; Fri, 18 Sep 2020 09:19:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxYLBMx4w0zEvTl10fPNn4+KA3zmB60i/zL3j9gA5zCQHapx8VoFPpK3iA6I+IAQ0OXZdij6Q== X-Received: by 2002:adf:e54f:: with SMTP id z15mr37057824wrm.136.1600445999193; Fri, 18 Sep 2020 09:19:59 -0700 (PDT) Received: from redhat.com (bzq-109-65-116-225.red.bezeqint.net. [109.65.116.225]) by smtp.gmail.com with ESMTPSA id d5sm6356216wrb.28.2020.09.18.09.19.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 18 Sep 2020 09:19:58 -0700 (PDT) Date: Fri, 18 Sep 2020 12:19:56 -0400 From: "Michael S. Tsirkin" To: qemu-devel@nongnu.org Subject: [PULL v2 00/15] virtio,pc,acpi: fixes, tests Message-ID: <20200918161836.318893-1-mst@redhat.com> MIME-Version: 1.0 X-Mailer: git-send-email 2.27.0.106.g8ac3dc51b1 X-Mutt-Fcc: =sent Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=mst@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Disposition: inline Received-SPF: pass client-ip=216.205.24.124; envelope-from=mst@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/18 01:32:10 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -50 X-Spam_score: -5.1 X-Spam_bar: ----- X-Spam_report: (-5.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-2.999, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no 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: Peter Maydell Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" changes from v1: rebased on master pick a fixed patch version - noticed by Raphael The following changes since commit e883b492c221241d28aaa322c61536436090538a: Merge remote-tracking branch 'remotes/legoater/tags/pull-aspeed-20200918' into staging (2020-09-18 13:36:42 +0100) are available in the Git repository at: git://git.kernel.org/pub/scm/virt/kvm/mst/qemu.git tags/for_upstream for you to fetch changes up to b98061bc65dae34cfabcfe2c123a5b14347c6135: virtio-iommu-pci: force virtio version 1 (2020-09-18 12:18:05 -0400) ---------------------------------------------------------------- virtio,pc,acpi: fixes, tests Fixes and tests all over the place. Batch iommu updates for vdpa. Removal of deprecated cpu hotplug commands. Signed-off-by: Michael S. Tsirkin ---------------------------------------------------------------- David Hildenbrand (1): pc: fix auto_enable_numa_with_memhp/auto_enable_numa_with_memdev for the 5.0 machine Dima Stepanov (7): vhost: recheck dev state in the vhost_migration_log routine vhost: check queue state in the vhost_dev_set_log routine tests/qtest/vhost-user-test: prepare the tests for adding new dev class tests/qtest/libqos/virtio-blk: add support for vhost-user-blk tests/qtest/vhost-user-test: add support for the vhost-user-blk device tests/qtest/vhost-user-test: add migrate_reconnect test tests/qtest/vhost-user-test: enable the reconnect tests Eric Auger (2): virtio-iommu: Check gtrees are non null before destroying them virtio-iommu-pci: force virtio version 1 Igor Mammedov (1): cphp: remove deprecated cpu-add command(s) Jason Wang (3): linux headers: sync to 5.9-rc4 vhost: switch to use IOTLB v2 format vhost-vdpa: batch updating IOTLB mappings Li Qiang (1): virtio-mem: detach the element from the virtqueue when error occurs qapi/machine.json | 24 -- include/hw/boards.h | 1 - include/hw/i386/pc.h | 1 - include/hw/virtio/vhost-backend.h | 2 + include/hw/virtio/vhost-user-blk.h | 10 + include/hw/virtio/vhost-vdpa.h | 1 + include/hw/virtio/vhost.h | 1 + include/monitor/hmp.h | 1 - include/standard-headers/drm/drm_fourcc.h | 140 ++++++++++ include/standard-headers/linux/ethtool.h | 87 +++++++ include/standard-headers/linux/input-event-codes.h | 3 +- include/standard-headers/linux/vhost_types.h | 11 + include/standard-headers/linux/virtio_9p.h | 4 +- include/standard-headers/linux/virtio_blk.h | 26 +- include/standard-headers/linux/virtio_config.h | 8 +- include/standard-headers/linux/virtio_console.h | 8 +- include/standard-headers/linux/virtio_net.h | 6 +- include/standard-headers/linux/virtio_scsi.h | 20 +- linux-headers/asm-generic/unistd.h | 6 +- linux-headers/asm-mips/unistd_n32.h | 1 + linux-headers/asm-mips/unistd_n64.h | 1 + linux-headers/asm-mips/unistd_o32.h | 1 + linux-headers/asm-powerpc/kvm.h | 5 + linux-headers/asm-powerpc/unistd_32.h | 1 + linux-headers/asm-powerpc/unistd_64.h | 1 + linux-headers/asm-s390/kvm.h | 7 +- linux-headers/asm-s390/unistd_32.h | 1 + linux-headers/asm-s390/unistd_64.h | 1 + linux-headers/asm-x86/unistd_32.h | 1 + linux-headers/asm-x86/unistd_64.h | 1 + linux-headers/asm-x86/unistd_x32.h | 1 + linux-headers/linux/kvm.h | 4 + linux-headers/linux/vfio.h | 2 +- linux-headers/linux/vhost.h | 2 + hw/block/vhost-user-blk.c | 19 +- hw/core/machine-hmp-cmds.c | 12 - hw/core/machine-qmp-cmds.c | 12 - hw/i386/pc.c | 27 -- hw/i386/pc_piix.c | 1 - hw/i386/pc_q35.c | 2 +- hw/s390x/s390-virtio-ccw.c | 12 - hw/virtio/vhost-backend.c | 88 +++++-- hw/virtio/vhost-vdpa.c | 66 +++++ hw/virtio/vhost.c | 49 +++- hw/virtio/virtio-iommu-pci.c | 2 +- hw/virtio/virtio-iommu.c | 8 +- hw/virtio/virtio-mem.c | 3 + tests/qtest/cpu-plug-test.c | 100 +------ tests/qtest/libqos/virtio-blk.c | 14 +- tests/qtest/test-hmp.c | 1 - tests/qtest/vhost-user-test.c | 290 ++++++++++++++++++--- docs/system/deprecated.rst | 25 +- hmp-commands.hx | 15 -- 53 files changed, 813 insertions(+), 323 deletions(-)