mbox series

[PULL,v2,00/15] virtio,pc,acpi: fixes, tests

Message ID 20200918161836.318893-1-mst@redhat.com
Headers show
Series virtio,pc,acpi: fixes, tests | expand

Message

Michael S. Tsirkin Sept. 18, 2020, 4:19 p.m. UTC
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 <mst@redhat.com>

----------------------------------------------------------------
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(-)

Comments

Michael S. Tsirkin Sept. 18, 2020, 4:35 p.m. UTC | #1
found a problem on some build systems. sorry.
will post v3.

On Fri, Sep 18, 2020 at 12:19:59PM -0400, Michael S. Tsirkin wrote:
> 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 <mst@redhat.com>

> 

> ----------------------------------------------------------------

> 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(-)

>
Peter Maydell Sept. 18, 2020, 4:46 p.m. UTC | #2
On Fri, 18 Sep 2020 at 17:36, Michael S. Tsirkin <mst@redhat.com> wrote:
>

> found a problem on some build systems. sorry.

> will post v3.


aarch64, osx, x86-64 clang all run into this one:

../../tests/qtest/vhost-user-test.c: In function ‘vu_blk_get_config’:
../../tests/qtest/vhost-user-test.c:1076:14: error: taking address of
packed member of ‘struct VhostUserMsg’ may result in an unaligned
pointer value [-Werror=address-of-packed-member]
 1076 |     config = &msg->payload.config;
      |              ^~~~~~~~~~~~~~~~~~~~

thanks
-- PMM
no-reply@patchew.org Sept. 18, 2020, 5:01 p.m. UTC | #3
Patchew URL: https://patchew.org/QEMU/20200918161836.318893-1-mst@redhat.com/



Hi,

This series failed the docker-mingw@fedora build test. Please find the testing commands and
their output below. If you have Docker installed, you can probably reproduce it
locally.






The full log is available at
http://patchew.org/logs/20200918161836.318893-1-mst@redhat.com/testing.docker-mingw@fedora/?type=message.
---
Email generated automatically by Patchew [https://patchew.org/].
Please send your feedback to patchew-devel@redhat.com