[PULL v2 00/44] pc,pci,virtio: features, fixes, tests

Michael S. Tsirkin posted 44 patches 2 years, 6 months ago
Test checkpatch failed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20211020101844.988480-1-mst@redhat.com
Maintainers: Laurent Vivier <lvivier@redhat.com>, Peter Maydell <peter.maydell@linaro.org>, Jason Wang <jasowang@redhat.com>, Eric Auger <eric.auger@redhat.com>, Juan Quintela <quintela@redhat.com>, "Daniel P. Berrangé" <berrange@redhat.com>, Coiby Xu <Coiby.Xu@gmail.com>, Thomas Huth <thuth@redhat.com>, Ani Sinha <ani@anisinha.ca>, "Michael S. Tsirkin" <mst@redhat.com>, Paolo Bonzini <pbonzini@redhat.com>, Igor Mammedov <imammedo@redhat.com>, "Dr. David Alan Gilbert" <dgilbert@redhat.com>, Eduardo Habkost <ehabkost@redhat.com>
include/hw/virtio/vhost-user-rng.h        |  33 ++++
include/hw/virtio/vhost-vdpa.h            |   3 +
include/hw/virtio/vhost.h                 |   2 +
include/hw/virtio/virtio-iommu.h          |   2 +-
include/hw/virtio/virtio-net.h            |   5 +-
include/net/net.h                         |   5 +
include/net/vhost_net.h                   |   6 +-
tests/qtest/libqos/libqtest.h             |   8 +
hw/net/vhost_net-stub.c                   |   4 +-
hw/net/vhost_net.c                        |  55 ++++--
hw/net/virtio-net.c                       | 201 ++++++++++++---------
hw/pci/pci_bridge.c                       |  10 +-
hw/virtio/vhost-user-rng-pci.c            |  79 ++++++++
hw/virtio/vhost-user-rng.c                | 289 ++++++++++++++++++++++++++++++
hw/virtio/vhost-user.c                    |   5 +-
hw/virtio/vhost-vdpa.c                    | 140 ++++++++++++---
hw/virtio/virtio-iommu-pci.c              |   4 +-
net/net.c                                 |  24 ++-
net/vhost-vdpa.c                          | 127 +++++++++++--
softmmu/qdev-monitor.c                    |  18 +-
subprojects/libvhost-user/libvhost-user.c |   1 +
tests/qtest/acpi-utils.c                  |  14 ++
tests/qtest/arm-cpu-features.c            |  29 +--
tests/qtest/bios-tables-test.c            | 122 ++++++++++---
tests/qtest/libqtest.c                    |  27 +++
tests/qtest/migration-test.c              |  15 +-
tests/qtest/vhost-user-blk-test.c         |   4 +-
docs/system/device-emulation.rst          |   1 +
docs/system/devices/vhost-user-rng.rst    |  39 ++++
hw/virtio/Kconfig                         |   5 +
hw/virtio/meson.build                     |   2 +
hw/virtio/trace-events                    |   1 +
meson.build                               |   6 +
tests/data/acpi/q35/APIC.xapic            | Bin 0 -> 2686 bytes
tests/data/acpi/q35/DMAR.dmar             | Bin 0 -> 120 bytes
tests/data/acpi/q35/DSDT.ivrs             | Bin 0 -> 8306 bytes
tests/data/acpi/q35/DSDT.multi-bridge     | Bin 0 -> 8583 bytes
tests/data/acpi/q35/DSDT.xapic            | Bin 0 -> 35652 bytes
tests/data/acpi/q35/FACP.xapic            | Bin 0 -> 244 bytes
tests/data/acpi/q35/IVRS.ivrs             | Bin 0 -> 104 bytes
tests/data/acpi/q35/SRAT.xapic            | Bin 0 -> 5080 bytes
tests/data/acpi/rebuild-expected-aml.sh   |  22 ++-
42 files changed, 1075 insertions(+), 233 deletions(-)
create mode 100644 include/hw/virtio/vhost-user-rng.h
create mode 100644 hw/virtio/vhost-user-rng-pci.c
create mode 100644 hw/virtio/vhost-user-rng.c
create mode 100644 docs/system/devices/vhost-user-rng.rst
create mode 100644 tests/data/acpi/q35/APIC.xapic
create mode 100644 tests/data/acpi/q35/DMAR.dmar
create mode 100644 tests/data/acpi/q35/DSDT.ivrs
create mode 100644 tests/data/acpi/q35/DSDT.multi-bridge
create mode 100644 tests/data/acpi/q35/DSDT.xapic
create mode 100644 tests/data/acpi/q35/FACP.xapic
create mode 100644 tests/data/acpi/q35/IVRS.ivrs
create mode 100644 tests/data/acpi/q35/SRAT.xapic
[PULL v2 00/44] pc,pci,virtio: features, fixes, tests
Posted by Michael S. Tsirkin 2 years, 6 months ago
The following changes since commit 50352cce138ef3b30c1cda28a4df68fff5da3202:

  Merge remote-tracking branch 'remotes/juanquintela/tags/migration.next-pull-request' into staging (2021-10-19 07:41:04 -0700)

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 a8339e07f94a47f99560baef59d65a9e039aaf45:

  tests/acpi/bios-tables-test: update DSDT blob for multifunction bridge test (2021-10-20 06:18:17 -0400)

----------------------------------------------------------------
pc,pci,virtio: features, fixes, tests

vhost user rng
vdpa multiqueue
Fixes, cleanups, new tests all over the place.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>

----------------------------------------------------------------
Ani Sinha (3):
      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

David Hildenbrand (1):
      libvhost-user: fix VHOST_USER_REM_MEM_REG skipping mmap_addr

Eric Auger (2):
      virtio-iommu: Remove the non transitional name
      virtio-iommu: Drop base_name and change generic_name

Eugenio Pérez (3):
      vdpa: Skip protected ram IOMMU mappings
      vdpa: Add vhost_vdpa_section_end
      vdpa: Check for iova range at mappings changes

Igor Mammedov (15):
      tests: acpi: dump table with failed checksum
      tests: qtest: add qtest_has_accel() to check if tested binary supports accelerator
      tests: acpi: whitelist expected tables for acpi/q35/xapic testcase
      tests: acpi: q35: test for x2APIC entries in SRAT
      tests: acpi: update expected tables blobs
      tests: acpi: whitelist new expected table tests/data/acpi/q35/DMAR.dmar
      tests: acpi: add testcase for intel_iommu (DMAR table)
      tests: acpi: add expected blob for DMAR table
      tests: acpi: whitelist expected blobs for new acpi/q35/ivrs testcase
      tests: acpi: add testcase for amd-iommu (IVRS table)
      tests: acpi: update expected blobs
      tests: acpi: arm/virt: drop redundant test_acpi_one() in test_acpi_virt_tcg()
      tests: arm-cpu-features: use qtest_has_kvm() API
      tests: migration-test: use qtest_has_accel() API
      tests: bios-tables-test: use qtest_has_accel() API to register TCG only tests

Jason Wang (10):
      vhost-vdpa: open device fd in net_init_vhost_vdpa()
      vhost-vdpa: classify one time request
      vhost-vdpa: prepare for the multiqueue support
      vhost-vdpa: let net_vhost_vdpa_init() returns NetClientState *
      net: introduce control client
      vhost-net: control virtqueue support
      virtio-net: use "queue_pairs" instead of "queues" when possible
      vhost: record the last virtqueue index for the virtio device
      virtio-net: vhost control virtqueue support
      vhost-vdpa: multiqueue support

Laurent Vivier (2):
      failover: fix a regression introduced by JSON'ification of -device
      qdev/qbus: remove failover specific code

Mathieu Poirier (3):
      vhost-user-rng: Add vhost-user-rng implementation
      vhost-user-rng-pci: Add vhost-user-rng-pci implementation
      docs: Add documentation for vhost based RNG implementation

Michael S. Tsirkin (3):
      rebuild-expected-aml.sh: allow partial target list
      bios-tables-test: don't disassemble empty files
      pci: fix PCI resource reserve capability on BE

Stefan Hajnoczi (1):
      vhost-user-blk-test: pass vhost-user socket fds to QSD

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

 include/hw/virtio/vhost-user-rng.h        |  33 ++++
 include/hw/virtio/vhost-vdpa.h            |   3 +
 include/hw/virtio/vhost.h                 |   2 +
 include/hw/virtio/virtio-iommu.h          |   2 +-
 include/hw/virtio/virtio-net.h            |   5 +-
 include/net/net.h                         |   5 +
 include/net/vhost_net.h                   |   6 +-
 tests/qtest/libqos/libqtest.h             |   8 +
 hw/net/vhost_net-stub.c                   |   4 +-
 hw/net/vhost_net.c                        |  55 ++++--
 hw/net/virtio-net.c                       | 201 ++++++++++++---------
 hw/pci/pci_bridge.c                       |  10 +-
 hw/virtio/vhost-user-rng-pci.c            |  79 ++++++++
 hw/virtio/vhost-user-rng.c                | 289 ++++++++++++++++++++++++++++++
 hw/virtio/vhost-user.c                    |   5 +-
 hw/virtio/vhost-vdpa.c                    | 140 ++++++++++++---
 hw/virtio/virtio-iommu-pci.c              |   4 +-
 net/net.c                                 |  24 ++-
 net/vhost-vdpa.c                          | 127 +++++++++++--
 softmmu/qdev-monitor.c                    |  18 +-
 subprojects/libvhost-user/libvhost-user.c |   1 +
 tests/qtest/acpi-utils.c                  |  14 ++
 tests/qtest/arm-cpu-features.c            |  29 +--
 tests/qtest/bios-tables-test.c            | 122 ++++++++++---
 tests/qtest/libqtest.c                    |  27 +++
 tests/qtest/migration-test.c              |  15 +-
 tests/qtest/vhost-user-blk-test.c         |   4 +-
 docs/system/device-emulation.rst          |   1 +
 docs/system/devices/vhost-user-rng.rst    |  39 ++++
 hw/virtio/Kconfig                         |   5 +
 hw/virtio/meson.build                     |   2 +
 hw/virtio/trace-events                    |   1 +
 meson.build                               |   6 +
 tests/data/acpi/q35/APIC.xapic            | Bin 0 -> 2686 bytes
 tests/data/acpi/q35/DMAR.dmar             | Bin 0 -> 120 bytes
 tests/data/acpi/q35/DSDT.ivrs             | Bin 0 -> 8306 bytes
 tests/data/acpi/q35/DSDT.multi-bridge     | Bin 0 -> 8583 bytes
 tests/data/acpi/q35/DSDT.xapic            | Bin 0 -> 35652 bytes
 tests/data/acpi/q35/FACP.xapic            | Bin 0 -> 244 bytes
 tests/data/acpi/q35/IVRS.ivrs             | Bin 0 -> 104 bytes
 tests/data/acpi/q35/SRAT.xapic            | Bin 0 -> 5080 bytes
 tests/data/acpi/rebuild-expected-aml.sh   |  22 ++-
 42 files changed, 1075 insertions(+), 233 deletions(-)
 create mode 100644 include/hw/virtio/vhost-user-rng.h
 create mode 100644 hw/virtio/vhost-user-rng-pci.c
 create mode 100644 hw/virtio/vhost-user-rng.c
 create mode 100644 docs/system/devices/vhost-user-rng.rst
 create mode 100644 tests/data/acpi/q35/APIC.xapic
 create mode 100644 tests/data/acpi/q35/DMAR.dmar
 create mode 100644 tests/data/acpi/q35/DSDT.ivrs
 create mode 100644 tests/data/acpi/q35/DSDT.multi-bridge
 create mode 100644 tests/data/acpi/q35/DSDT.xapic
 create mode 100644 tests/data/acpi/q35/FACP.xapic
 create mode 100644 tests/data/acpi/q35/IVRS.ivrs
 create mode 100644 tests/data/acpi/q35/SRAT.xapic


Re: [PULL v2 00/44] pc,pci,virtio: features, fixes, tests
Posted by Richard Henderson 2 years, 6 months ago
On 10/20/21 3:19 AM, Michael S. Tsirkin wrote:
> The following changes since commit 50352cce138ef3b30c1cda28a4df68fff5da3202:
> 
>    Merge remote-tracking branch 'remotes/juanquintela/tags/migration.next-pull-request' into staging (2021-10-19 07:41:04 -0700)
> 
> 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 a8339e07f94a47f99560baef59d65a9e039aaf45:
> 
>    tests/acpi/bios-tables-test: update DSDT blob for multifunction bridge test (2021-10-20 06:18:17 -0400)
> 
> ----------------------------------------------------------------
> pc,pci,virtio: features, fixes, tests
> 
> vhost user rng
> vdpa multiqueue
> Fixes, cleanups, new tests all over the place.
> 
> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
> 
> ----------------------------------------------------------------
> Ani Sinha (3):
>        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
> 
> David Hildenbrand (1):
>        libvhost-user: fix VHOST_USER_REM_MEM_REG skipping mmap_addr
> 
> Eric Auger (2):
>        virtio-iommu: Remove the non transitional name
>        virtio-iommu: Drop base_name and change generic_name
> 
> Eugenio Pérez (3):
>        vdpa: Skip protected ram IOMMU mappings
>        vdpa: Add vhost_vdpa_section_end
>        vdpa: Check for iova range at mappings changes
> 
> Igor Mammedov (15):
>        tests: acpi: dump table with failed checksum
>        tests: qtest: add qtest_has_accel() to check if tested binary supports accelerator
>        tests: acpi: whitelist expected tables for acpi/q35/xapic testcase
>        tests: acpi: q35: test for x2APIC entries in SRAT
>        tests: acpi: update expected tables blobs
>        tests: acpi: whitelist new expected table tests/data/acpi/q35/DMAR.dmar
>        tests: acpi: add testcase for intel_iommu (DMAR table)
>        tests: acpi: add expected blob for DMAR table
>        tests: acpi: whitelist expected blobs for new acpi/q35/ivrs testcase
>        tests: acpi: add testcase for amd-iommu (IVRS table)
>        tests: acpi: update expected blobs
>        tests: acpi: arm/virt: drop redundant test_acpi_one() in test_acpi_virt_tcg()
>        tests: arm-cpu-features: use qtest_has_kvm() API
>        tests: migration-test: use qtest_has_accel() API
>        tests: bios-tables-test: use qtest_has_accel() API to register TCG only tests
> 
> Jason Wang (10):
>        vhost-vdpa: open device fd in net_init_vhost_vdpa()
>        vhost-vdpa: classify one time request
>        vhost-vdpa: prepare for the multiqueue support
>        vhost-vdpa: let net_vhost_vdpa_init() returns NetClientState *
>        net: introduce control client
>        vhost-net: control virtqueue support
>        virtio-net: use "queue_pairs" instead of "queues" when possible
>        vhost: record the last virtqueue index for the virtio device
>        virtio-net: vhost control virtqueue support
>        vhost-vdpa: multiqueue support
> 
> Laurent Vivier (2):
>        failover: fix a regression introduced by JSON'ification of -device
>        qdev/qbus: remove failover specific code
> 
> Mathieu Poirier (3):
>        vhost-user-rng: Add vhost-user-rng implementation
>        vhost-user-rng-pci: Add vhost-user-rng-pci implementation
>        docs: Add documentation for vhost based RNG implementation
> 
> Michael S. Tsirkin (3):
>        rebuild-expected-aml.sh: allow partial target list
>        bios-tables-test: don't disassemble empty files
>        pci: fix PCI resource reserve capability on BE
> 
> Stefan Hajnoczi (1):
>        vhost-user-blk-test: pass vhost-user socket fds to QSD
> 
> Xueming Li (1):
>        vhost-user: fix duplicated notifier MR init
> 
>   include/hw/virtio/vhost-user-rng.h        |  33 ++++
>   include/hw/virtio/vhost-vdpa.h            |   3 +
>   include/hw/virtio/vhost.h                 |   2 +
>   include/hw/virtio/virtio-iommu.h          |   2 +-
>   include/hw/virtio/virtio-net.h            |   5 +-
>   include/net/net.h                         |   5 +
>   include/net/vhost_net.h                   |   6 +-
>   tests/qtest/libqos/libqtest.h             |   8 +
>   hw/net/vhost_net-stub.c                   |   4 +-
>   hw/net/vhost_net.c                        |  55 ++++--
>   hw/net/virtio-net.c                       | 201 ++++++++++++---------
>   hw/pci/pci_bridge.c                       |  10 +-
>   hw/virtio/vhost-user-rng-pci.c            |  79 ++++++++
>   hw/virtio/vhost-user-rng.c                | 289 ++++++++++++++++++++++++++++++
>   hw/virtio/vhost-user.c                    |   5 +-
>   hw/virtio/vhost-vdpa.c                    | 140 ++++++++++++---
>   hw/virtio/virtio-iommu-pci.c              |   4 +-
>   net/net.c                                 |  24 ++-
>   net/vhost-vdpa.c                          | 127 +++++++++++--
>   softmmu/qdev-monitor.c                    |  18 +-
>   subprojects/libvhost-user/libvhost-user.c |   1 +
>   tests/qtest/acpi-utils.c                  |  14 ++
>   tests/qtest/arm-cpu-features.c            |  29 +--
>   tests/qtest/bios-tables-test.c            | 122 ++++++++++---
>   tests/qtest/libqtest.c                    |  27 +++
>   tests/qtest/migration-test.c              |  15 +-
>   tests/qtest/vhost-user-blk-test.c         |   4 +-
>   docs/system/device-emulation.rst          |   1 +
>   docs/system/devices/vhost-user-rng.rst    |  39 ++++
>   hw/virtio/Kconfig                         |   5 +
>   hw/virtio/meson.build                     |   2 +
>   hw/virtio/trace-events                    |   1 +
>   meson.build                               |   6 +
>   tests/data/acpi/q35/APIC.xapic            | Bin 0 -> 2686 bytes
>   tests/data/acpi/q35/DMAR.dmar             | Bin 0 -> 120 bytes
>   tests/data/acpi/q35/DSDT.ivrs             | Bin 0 -> 8306 bytes
>   tests/data/acpi/q35/DSDT.multi-bridge     | Bin 0 -> 8583 bytes
>   tests/data/acpi/q35/DSDT.xapic            | Bin 0 -> 35652 bytes
>   tests/data/acpi/q35/FACP.xapic            | Bin 0 -> 244 bytes
>   tests/data/acpi/q35/IVRS.ivrs             | Bin 0 -> 104 bytes
>   tests/data/acpi/q35/SRAT.xapic            | Bin 0 -> 5080 bytes
>   tests/data/acpi/rebuild-expected-aml.sh   |  22 ++-
>   42 files changed, 1075 insertions(+), 233 deletions(-)
>   create mode 100644 include/hw/virtio/vhost-user-rng.h
>   create mode 100644 hw/virtio/vhost-user-rng-pci.c
>   create mode 100644 hw/virtio/vhost-user-rng.c
>   create mode 100644 docs/system/devices/vhost-user-rng.rst
>   create mode 100644 tests/data/acpi/q35/APIC.xapic
>   create mode 100644 tests/data/acpi/q35/DMAR.dmar
>   create mode 100644 tests/data/acpi/q35/DSDT.ivrs
>   create mode 100644 tests/data/acpi/q35/DSDT.multi-bridge
>   create mode 100644 tests/data/acpi/q35/DSDT.xapic
>   create mode 100644 tests/data/acpi/q35/FACP.xapic
>   create mode 100644 tests/data/acpi/q35/IVRS.ivrs
>   create mode 100644 tests/data/acpi/q35/SRAT.xapic

Applied, thanks.

r~