[PULL 00/23] pc,pci,virtio: lots of new features

Michael S. Tsirkin posted 23 patches 4 years, 6 months ago
Failed in applying to current master (apply log)
There is a newer version of this series
docs/bypass-iommu.txt                    |  89 +++++++
hw/i386/acpi-build.h                     |   5 +
include/hw/acpi/ich9.h                   |   5 +
include/hw/acpi/pcihp.h                  |   3 +-
include/hw/arm/virt.h                    |   1 +
include/hw/i386/pc.h                     |   1 +
include/hw/pci/pci.h                     |   2 +
include/hw/pci/pci_host.h                |   1 +
include/hw/pci/pcie_port.h               |   5 +-
include/hw/virtio/vhost-user-i2c.h       |  28 +++
include/hw/virtio/vhost-user-rng.h       |  33 +++
hw/acpi/acpi-x86-stub.c                  |   6 +
hw/acpi/ich9.c                           |  70 ++++++
hw/acpi/pcihp.c                          |  26 +-
hw/acpi/piix4.c                          |   4 +-
hw/arm/virt-acpi-build.c                 | 114 ++++++++-
hw/arm/virt.c                            |  26 ++
hw/core/machine.c                        |   1 -
hw/i386/acpi-build.c                     | 114 +++++++--
hw/i386/pc.c                             |  21 ++
hw/i386/pc_q35.c                         |  11 +
hw/pci-bridge/pci_expander_bridge.c      |   3 +
hw/pci-host/q35.c                        |   2 +
hw/pci/pci.c                             |  34 ++-
hw/pci/pci_host.c                        |   1 +
hw/pci/pcie.c                            |   8 +-
hw/pci/pcie_port.c                       |   1 +
hw/virtio/vhost-user-i2c-pci.c           |  69 ++++++
hw/virtio/vhost-user-i2c.c               | 288 ++++++++++++++++++++++
hw/virtio/vhost-user-rng-pci.c           |  79 ++++++
hw/virtio/vhost-user-rng.c               | 294 ++++++++++++++++++++++
hw/virtio/vhost-vsock.c                  |  12 +-
tools/vhost-user-rng/main.c              | 403 +++++++++++++++++++++++++++++++
docs/tools/index.rst                     |   1 +
docs/tools/vhost-user-rng.rst            |  74 ++++++
hw/virtio/Kconfig                        |  10 +
hw/virtio/meson.build                    |   4 +
qemu-options.hx                          |  33 +++
tests/data/acpi/q35/DSDT                 | Bin 7859 -> 8289 bytes
tests/data/acpi/q35/DSDT.acpihmat        | Bin 9184 -> 9614 bytes
tests/data/acpi/q35/DSDT.bridge          | Bin 7877 -> 11003 bytes
tests/data/acpi/q35/DSDT.cphp            | Bin 8323 -> 8753 bytes
tests/data/acpi/q35/DSDT.dimmpxm         | Bin 9513 -> 9943 bytes
tests/data/acpi/q35/DSDT.ipmibt          | Bin 7934 -> 8364 bytes
tests/data/acpi/q35/DSDT.memhp           | Bin 9218 -> 9648 bytes
tests/data/acpi/q35/DSDT.mmio64          | Bin 8990 -> 9419 bytes
tests/data/acpi/q35/DSDT.nohpet          | Bin 7717 -> 8147 bytes
tests/data/acpi/q35/DSDT.numamem         | Bin 7865 -> 8295 bytes
tests/data/acpi/q35/DSDT.tis             | Bin 8465 -> 8894 bytes
tools/meson.build                        |   8 +
tools/vhost-user-rng/50-qemu-rng.json.in |   5 +
tools/vhost-user-rng/meson.build         |  10 +
52 files changed, 1863 insertions(+), 42 deletions(-)
create mode 100644 docs/bypass-iommu.txt
create mode 100644 include/hw/virtio/vhost-user-i2c.h
create mode 100644 include/hw/virtio/vhost-user-rng.h
create mode 100644 hw/virtio/vhost-user-i2c-pci.c
create mode 100644 hw/virtio/vhost-user-i2c.c
create mode 100644 hw/virtio/vhost-user-rng-pci.c
create mode 100644 hw/virtio/vhost-user-rng.c
create mode 100644 tools/vhost-user-rng/main.c
create mode 100644 docs/tools/vhost-user-rng.rst
create mode 100644 tools/vhost-user-rng/50-qemu-rng.json.in
create mode 100644 tools/vhost-user-rng/meson.build
[PULL 00/23] pc,pci,virtio: lots of new features
Posted by Michael S. Tsirkin 4 years, 6 months ago
The following changes since commit 708f50199b59476ec4b45ebcdf171550086d6292:

  Merge remote-tracking branch 'remotes/ericb/tags/pull-nbd-2021-07-09-v2' into staging (2021-07-13 14:32:20 +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 cf171f90d5e41730ad3e0ce23f1990f34b7e63ef:

  vhost-vsock: SOCK_SEQPACKET feature bit support (2021-07-13 16:59:12 -0400)

----------------------------------------------------------------
pc,pci,virtio: lots of new features

Lots of last minute stuff.

vhost-user-rng.
vhost-user-i2c.
vhost-vsock SOCK_SEQPACKET support.
IOMMU bypass.
ACPI based pci hotplug.

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

----------------------------------------------------------------
Arseny Krasnov (1):
      vhost-vsock: SOCK_SEQPACKET feature bit support

Julia Suvorova (6):
      hw/i386/acpi-build: Add ACPI PCI hot-plug methods to Q35
      hw/acpi/ich9: Enable ACPI PCI hot-plug
      hw/pci/pcie: Do not set HPC flag if acpihp is used
      bios-tables-test: Allow changes in DSDT ACPI tables
      hw/acpi/ich9: Set ACPI PCI hot-plug as default on Q35
      bios-tables-test: Update golden binaries

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

Peter Xu (1):
      docs: Add '-device intel-iommu' entry

Viresh Kumar (2):
      hw/virtio: add boilerplate for vhost-user-i2c device
      hw/virtio: add vhost-user-i2c-pci boilerplate

Xingang Wang (9):
      hw/pci/pci_host: Allow PCI host to bypass iommu
      hw/pxb: Add a bypass iommu property
      hw/arm/virt: Add default_bus_bypass_iommu machine option
      hw/i386: Add a default_bus_bypass_iommu pc machine option
      hw/pci: Add pci_bus_range() to get PCI bus number range
      hw/arm/virt-acpi-build: Add IORT support to bypass SMMUv3
      hw/i386/acpi-build: Add DMAR support to bypass iommu
      hw/i386/acpi-build: Add IVRS support to bypass iommu
      docs: Add documentation for iommu bypass

 docs/bypass-iommu.txt                    |  89 +++++++
 hw/i386/acpi-build.h                     |   5 +
 include/hw/acpi/ich9.h                   |   5 +
 include/hw/acpi/pcihp.h                  |   3 +-
 include/hw/arm/virt.h                    |   1 +
 include/hw/i386/pc.h                     |   1 +
 include/hw/pci/pci.h                     |   2 +
 include/hw/pci/pci_host.h                |   1 +
 include/hw/pci/pcie_port.h               |   5 +-
 include/hw/virtio/vhost-user-i2c.h       |  28 +++
 include/hw/virtio/vhost-user-rng.h       |  33 +++
 hw/acpi/acpi-x86-stub.c                  |   6 +
 hw/acpi/ich9.c                           |  70 ++++++
 hw/acpi/pcihp.c                          |  26 +-
 hw/acpi/piix4.c                          |   4 +-
 hw/arm/virt-acpi-build.c                 | 114 ++++++++-
 hw/arm/virt.c                            |  26 ++
 hw/core/machine.c                        |   1 -
 hw/i386/acpi-build.c                     | 114 +++++++--
 hw/i386/pc.c                             |  21 ++
 hw/i386/pc_q35.c                         |  11 +
 hw/pci-bridge/pci_expander_bridge.c      |   3 +
 hw/pci-host/q35.c                        |   2 +
 hw/pci/pci.c                             |  34 ++-
 hw/pci/pci_host.c                        |   1 +
 hw/pci/pcie.c                            |   8 +-
 hw/pci/pcie_port.c                       |   1 +
 hw/virtio/vhost-user-i2c-pci.c           |  69 ++++++
 hw/virtio/vhost-user-i2c.c               | 288 ++++++++++++++++++++++
 hw/virtio/vhost-user-rng-pci.c           |  79 ++++++
 hw/virtio/vhost-user-rng.c               | 294 ++++++++++++++++++++++
 hw/virtio/vhost-vsock.c                  |  12 +-
 tools/vhost-user-rng/main.c              | 403 +++++++++++++++++++++++++++++++
 docs/tools/index.rst                     |   1 +
 docs/tools/vhost-user-rng.rst            |  74 ++++++
 hw/virtio/Kconfig                        |  10 +
 hw/virtio/meson.build                    |   4 +
 qemu-options.hx                          |  33 +++
 tests/data/acpi/q35/DSDT                 | Bin 7859 -> 8289 bytes
 tests/data/acpi/q35/DSDT.acpihmat        | Bin 9184 -> 9614 bytes
 tests/data/acpi/q35/DSDT.bridge          | Bin 7877 -> 11003 bytes
 tests/data/acpi/q35/DSDT.cphp            | Bin 8323 -> 8753 bytes
 tests/data/acpi/q35/DSDT.dimmpxm         | Bin 9513 -> 9943 bytes
 tests/data/acpi/q35/DSDT.ipmibt          | Bin 7934 -> 8364 bytes
 tests/data/acpi/q35/DSDT.memhp           | Bin 9218 -> 9648 bytes
 tests/data/acpi/q35/DSDT.mmio64          | Bin 8990 -> 9419 bytes
 tests/data/acpi/q35/DSDT.nohpet          | Bin 7717 -> 8147 bytes
 tests/data/acpi/q35/DSDT.numamem         | Bin 7865 -> 8295 bytes
 tests/data/acpi/q35/DSDT.tis             | Bin 8465 -> 8894 bytes
 tools/meson.build                        |   8 +
 tools/vhost-user-rng/50-qemu-rng.json.in |   5 +
 tools/vhost-user-rng/meson.build         |  10 +
 52 files changed, 1863 insertions(+), 42 deletions(-)
 create mode 100644 docs/bypass-iommu.txt
 create mode 100644 include/hw/virtio/vhost-user-i2c.h
 create mode 100644 include/hw/virtio/vhost-user-rng.h
 create mode 100644 hw/virtio/vhost-user-i2c-pci.c
 create mode 100644 hw/virtio/vhost-user-i2c.c
 create mode 100644 hw/virtio/vhost-user-rng-pci.c
 create mode 100644 hw/virtio/vhost-user-rng.c
 create mode 100644 tools/vhost-user-rng/main.c
 create mode 100644 docs/tools/vhost-user-rng.rst
 create mode 100644 tools/vhost-user-rng/50-qemu-rng.json.in
 create mode 100644 tools/vhost-user-rng/meson.build


Re: [PULL 00/23] pc,pci,virtio: lots of new features
Posted by Peter Maydell 4 years, 6 months ago
On Tue, 13 Jul 2021 at 23:10, Michael S. Tsirkin <mst@redhat.com> wrote:
>
> The following changes since commit 708f50199b59476ec4b45ebcdf171550086d6292:
>
>   Merge remote-tracking branch 'remotes/ericb/tags/pull-nbd-2021-07-09-v2' into staging (2021-07-13 14:32:20 +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 cf171f90d5e41730ad3e0ce23f1990f34b7e63ef:
>
>   vhost-vsock: SOCK_SEQPACKET feature bit support (2021-07-13 16:59:12 -0400)
>
> ----------------------------------------------------------------
> pc,pci,virtio: lots of new features
>
> Lots of last minute stuff.
>
> vhost-user-rng.
> vhost-user-i2c.
> vhost-vsock SOCK_SEQPACKET support.
> IOMMU bypass.
> ACPI based pci hotplug.
>
> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>

This seems to produce a new meson warning:

Configuring 50-qemu-gpu.json using configuration
Configuring 50-qemu-virtiofsd.json using configuration
Configuring 50-qemu-rng.json using configuration
../../tools/vhost-user-rng/meson.build:7: WARNING: The variable(s)
'libexecdir' in the input file
'tools/vhost-user-rng/50-qemu-rng.json.in' are not present in the
given configuration data.
Configuring 50-edk2-i386-secure.json using configuration
Configuring 50-edk2-x86_64-secure.json using configuration
Configuring 60-edk2-aarch64.json using configuration

(the build then seems to go on to complete OK).

-- PMM

Re: [PULL 00/23] pc,pci,virtio: lots of new features
Posted by Marcel Apfelbaum 4 years, 6 months ago
Hi,

On Wed, Jul 14, 2021 at 11:33 PM Peter Maydell <peter.maydell@linaro.org>
wrote:

> On Tue, 13 Jul 2021 at 23:10, Michael S. Tsirkin <mst@redhat.com> wrote:
> >
> > The following changes since commit
> 708f50199b59476ec4b45ebcdf171550086d6292:
> >
> >   Merge remote-tracking branch
> 'remotes/ericb/tags/pull-nbd-2021-07-09-v2' into staging (2021-07-13
> 14:32:20 +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 cf171f90d5e41730ad3e0ce23f1990f34b7e63ef:
> >
> >   vhost-vsock: SOCK_SEQPACKET feature bit support (2021-07-13 16:59:12
> -0400)
> >
> > ----------------------------------------------------------------
> > pc,pci,virtio: lots of new features
> >
> > Lots of last minute stuff.
> >
> > vhost-user-rng.
> > vhost-user-i2c.
> > vhost-vsock SOCK_SEQPACKET support.
> > IOMMU bypass.
> > ACPI based pci hotplug.
> >
> > Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
>
> This seems to produce a new meson warning:
>
> Configuring 50-qemu-gpu.json using configuration
> Configuring 50-qemu-virtiofsd.json using configuration
> Configuring 50-qemu-rng.json using configuration
> ../../tools/vhost-user-rng/meson.build:7: WARNING: The variable(s)
> 'libexecdir' in the input file
> 'tools/vhost-user-rng/50-qemu-rng.json.in' are not present in the
> given configuration data.
> Configuring 50-edk2-i386-secure.json using configuration
> Configuring 50-edk2-x86_64-secure.json using configuration
> Configuring 60-edk2-aarch64.json using configuration
>
> (the build then seems to go on to complete OK).
>

/cc Mathieu

The below patch solved the warning for me:

diff --git a/tools/vhost-user-rng/meson.build
b/tools/vhost-user-rng/meson.build
index 4dc386daf3..2192a65ca6 100644
--- a/tools/vhost-user-rng/meson.build
+++ b/tools/vhost-user-rng/meson.build
@@ -6,5 +6,5 @@ executable('vhost-user-rng', files(

 configure_file(input: '50-qemu-rng.json.in',
                output: '50-qemu-rng.json',
-               configuration: config_host,
+               configuration: { 'libexecdir' : get_option('prefix') /
get_option('libexecdir') },
                install_dir: qemu_datadir / 'vhost-user')


Thanks,
Marcel



>
> -- PMM
>
>
Re: [PULL 00/23] pc,pci,virtio: lots of new features
Posted by Michael S. Tsirkin 4 years, 6 months ago
On Thu, Jul 15, 2021 at 11:54:17AM +0300, Marcel Apfelbaum wrote:
> Hi, 
> 
> On Wed, Jul 14, 2021 at 11:33 PM Peter Maydell <peter.maydell@linaro.org>
> wrote:
> 
>     On Tue, 13 Jul 2021 at 23:10, Michael S. Tsirkin <mst@redhat.com> wrote:
>     >
>     > The following changes since commit
>     708f50199b59476ec4b45ebcdf171550086d6292:
>     >
>     >   Merge remote-tracking branch 'remotes/ericb/tags/
>     pull-nbd-2021-07-09-v2' into staging (2021-07-13 14:32:20 +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 cf171f90d5e41730ad3e0ce23f1990f34b7e63ef:
>     >
>     >   vhost-vsock: SOCK_SEQPACKET feature bit support (2021-07-13 16:59:12
>     -0400)
>     >
>     > ----------------------------------------------------------------
>     > pc,pci,virtio: lots of new features
>     >
>     > Lots of last minute stuff.
>     >
>     > vhost-user-rng.
>     > vhost-user-i2c.
>     > vhost-vsock SOCK_SEQPACKET support.
>     > IOMMU bypass.
>     > ACPI based pci hotplug.
>     >
>     > Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
> 
>     This seems to produce a new meson warning:
> 
>     Configuring 50-qemu-gpu.json using configuration
>     Configuring 50-qemu-virtiofsd.json using configuration
>     Configuring 50-qemu-rng.json using configuration
>     ../../tools/vhost-user-rng/meson.build:7: WARNING: The variable(s)
>     'libexecdir' in the input file
>     'tools/vhost-user-rng/50-qemu-rng.json.in' are not present in the
>     given configuration data.
>     Configuring 50-edk2-i386-secure.json using configuration
>     Configuring 50-edk2-x86_64-secure.json using configuration
>     Configuring 60-edk2-aarch64.json using configuration
> 
>     (the build then seems to go on to complete OK).
> 
> 
> /cc Mathieu
> 
> The below patch solved the warning for me:
> 
> diff --git a/tools/vhost-user-rng/meson.build b/tools/vhost-user-rng/
> meson.build
> index 4dc386daf3..2192a65ca6 100644
> --- a/tools/vhost-user-rng/meson.build
> +++ b/tools/vhost-user-rng/meson.build
> @@ -6,5 +6,5 @@ executable('vhost-user-rng', files(
>  
>  configure_file(input: '50-qemu-rng.json.in',
>                 output: '50-qemu-rng.json',
> -               configuration: config_host,
> +               configuration: { 'libexecdir' : get_option('prefix') /
> get_option('libexecdir') },
>                 install_dir: qemu_datadir / 'vhost-user')
> 
> 
> Thanks,
> Marcel


Thanks Marcel!

Yes this matches what virtiofsd does. Just a cut and paste error then.
I applied this and repushed. Peter do you want to pick up the new tag?
Or we can get the fix in the next pull it's up to you.

for_upstream at commit ca381cf34b020be4cf8f7166f7e15392b849fc25

-- 
MST


Re: [PULL 00/23] pc,pci,virtio: lots of new features
Posted by Michael S. Tsirkin 4 years, 6 months ago
On Wed, Jul 14, 2021 at 09:31:21PM +0100, Peter Maydell wrote:
> On Tue, 13 Jul 2021 at 23:10, Michael S. Tsirkin <mst@redhat.com> wrote:
> >
> > The following changes since commit 708f50199b59476ec4b45ebcdf171550086d6292:
> >
> >   Merge remote-tracking branch 'remotes/ericb/tags/pull-nbd-2021-07-09-v2' into staging (2021-07-13 14:32:20 +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 cf171f90d5e41730ad3e0ce23f1990f34b7e63ef:
> >
> >   vhost-vsock: SOCK_SEQPACKET feature bit support (2021-07-13 16:59:12 -0400)
> >
> > ----------------------------------------------------------------
> > pc,pci,virtio: lots of new features
> >
> > Lots of last minute stuff.
> >
> > vhost-user-rng.
> > vhost-user-i2c.
> > vhost-vsock SOCK_SEQPACKET support.
> > IOMMU bypass.
> > ACPI based pci hotplug.
> >
> > Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
> 
> This seems to produce a new meson warning:
> 
> Configuring 50-qemu-gpu.json using configuration
> Configuring 50-qemu-virtiofsd.json using configuration
> Configuring 50-qemu-rng.json using configuration
> ../../tools/vhost-user-rng/meson.build:7: WARNING: The variable(s)
> 'libexecdir' in the input file
> 'tools/vhost-user-rng/50-qemu-rng.json.in' are not present in the
> given configuration data.
> Configuring 50-edk2-i386-secure.json using configuration
> Configuring 50-edk2-x86_64-secure.json using configuration
> Configuring 60-edk2-aarch64.json using configuration
> 
> (the build then seems to go on to complete OK).
> 
> -- PMM


I sent an email about a fix. Do you prefer PULLv2 then?


Re: [PULL 00/23] pc,pci,virtio: lots of new features
Posted by Peter Maydell 4 years, 6 months ago
On Thu, 15 Jul 2021 at 22:21, Michael S. Tsirkin <mst@redhat.com> wrote:
>
> On Wed, Jul 14, 2021 at 09:31:21PM +0100, Peter Maydell wrote:
> > On Tue, 13 Jul 2021 at 23:10, Michael S. Tsirkin <mst@redhat.com> wrote:
> > >
> > > The following changes since commit 708f50199b59476ec4b45ebcdf171550086d6292:
> > >
> > >   Merge remote-tracking branch 'remotes/ericb/tags/pull-nbd-2021-07-09-v2' into staging (2021-07-13 14:32:20 +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 cf171f90d5e41730ad3e0ce23f1990f34b7e63ef:
> > >
> > >   vhost-vsock: SOCK_SEQPACKET feature bit support (2021-07-13 16:59:12 -0400)
> > >
> > > ----------------------------------------------------------------
> > > pc,pci,virtio: lots of new features
> > >
> > > Lots of last minute stuff.
> > >
> > > vhost-user-rng.
> > > vhost-user-i2c.
> > > vhost-vsock SOCK_SEQPACKET support.
> > > IOMMU bypass.
> > > ACPI based pci hotplug.
> > >
> > > Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
> >
> > This seems to produce a new meson warning:
> >
> > Configuring 50-qemu-gpu.json using configuration
> > Configuring 50-qemu-virtiofsd.json using configuration
> > Configuring 50-qemu-rng.json using configuration
> > ../../tools/vhost-user-rng/meson.build:7: WARNING: The variable(s)
> > 'libexecdir' in the input file
> > 'tools/vhost-user-rng/50-qemu-rng.json.in' are not present in the
> > given configuration data.
> > Configuring 50-edk2-i386-secure.json using configuration
> > Configuring 50-edk2-x86_64-secure.json using configuration
> > Configuring 60-edk2-aarch64.json using configuration
> >
> > (the build then seems to go on to complete OK).
> >
> > -- PMM
>
>
> I sent an email about a fix. Do you prefer PULLv2 then?

Same tag, right? I've put this back on my list, but I'm still
working through a backlog of other pullreqs before I get back
to this one.

-- PMM

Re: [PULL 00/23] pc,pci,virtio: lots of new features
Posted by Michael S. Tsirkin 4 years, 6 months ago
On Fri, Jul 16, 2021 at 07:41:16AM +0100, Peter Maydell wrote:
> On Thu, 15 Jul 2021 at 22:21, Michael S. Tsirkin <mst@redhat.com> wrote:
> >
> > On Wed, Jul 14, 2021 at 09:31:21PM +0100, Peter Maydell wrote:
> > > On Tue, 13 Jul 2021 at 23:10, Michael S. Tsirkin <mst@redhat.com> wrote:
> > > >
> > > > The following changes since commit 708f50199b59476ec4b45ebcdf171550086d6292:
> > > >
> > > >   Merge remote-tracking branch 'remotes/ericb/tags/pull-nbd-2021-07-09-v2' into staging (2021-07-13 14:32:20 +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 cf171f90d5e41730ad3e0ce23f1990f34b7e63ef:
> > > >
> > > >   vhost-vsock: SOCK_SEQPACKET feature bit support (2021-07-13 16:59:12 -0400)
> > > >
> > > > ----------------------------------------------------------------
> > > > pc,pci,virtio: lots of new features
> > > >
> > > > Lots of last minute stuff.
> > > >
> > > > vhost-user-rng.
> > > > vhost-user-i2c.
> > > > vhost-vsock SOCK_SEQPACKET support.
> > > > IOMMU bypass.
> > > > ACPI based pci hotplug.
> > > >
> > > > Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
> > >
> > > This seems to produce a new meson warning:
> > >
> > > Configuring 50-qemu-gpu.json using configuration
> > > Configuring 50-qemu-virtiofsd.json using configuration
> > > Configuring 50-qemu-rng.json using configuration
> > > ../../tools/vhost-user-rng/meson.build:7: WARNING: The variable(s)
> > > 'libexecdir' in the input file
> > > 'tools/vhost-user-rng/50-qemu-rng.json.in' are not present in the
> > > given configuration data.
> > > Configuring 50-edk2-i386-secure.json using configuration
> > > Configuring 50-edk2-x86_64-secure.json using configuration
> > > Configuring 60-edk2-aarch64.json using configuration
> > >
> > > (the build then seems to go on to complete OK).
> > >
> > > -- PMM
> >
> >
> > I sent an email about a fix. Do you prefer PULLv2 then?
> 
> Same tag, right? I've put this back on my list, but I'm still
> working through a backlog of other pullreqs before I get back
> to this one.
> 
> -- PMM

Yes. If you merge it there's a trivial conflict.

If you'd rather see it rebased here it is: for_upstream2

-- 
MST


Re: [PULL 00/23] pc,pci,virtio: lots of new features
Posted by Peter Maydell 4 years, 6 months ago
On Fri, 16 Jul 2021 at 09:41, Michael S. Tsirkin <mst@redhat.com> wrote:
>
> On Fri, Jul 16, 2021 at 07:41:16AM +0100, Peter Maydell wrote:
> > On Thu, 15 Jul 2021 at 22:21, Michael S. Tsirkin <mst@redhat.com> wrote:
> > >
> > > On Wed, Jul 14, 2021 at 09:31:21PM +0100, Peter Maydell wrote:
> > > > On Tue, 13 Jul 2021 at 23:10, Michael S. Tsirkin <mst@redhat.com> wrote:
> > > > >
> > > > > The following changes since commit 708f50199b59476ec4b45ebcdf171550086d6292:
> > > > >
> > > > >   Merge remote-tracking branch 'remotes/ericb/tags/pull-nbd-2021-07-09-v2' into staging (2021-07-13 14:32:20 +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 cf171f90d5e41730ad3e0ce23f1990f34b7e63ef:
> > > > >
> > > > >   vhost-vsock: SOCK_SEQPACKET feature bit support (2021-07-13 16:59:12 -0400)
> > > > >
> > > > > ----------------------------------------------------------------
> > > > > pc,pci,virtio: lots of new features
> > > > >
> > > > > Lots of last minute stuff.
> > > > >
> > > > > vhost-user-rng.
> > > > > vhost-user-i2c.
> > > > > vhost-vsock SOCK_SEQPACKET support.
> > > > > IOMMU bypass.
> > > > > ACPI based pci hotplug.
> > > > >
> > > > > Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
> > > >
> > > > This seems to produce a new meson warning:
> > > >
> > > > Configuring 50-qemu-gpu.json using configuration
> > > > Configuring 50-qemu-virtiofsd.json using configuration
> > > > Configuring 50-qemu-rng.json using configuration
> > > > ../../tools/vhost-user-rng/meson.build:7: WARNING: The variable(s)
> > > > 'libexecdir' in the input file
> > > > 'tools/vhost-user-rng/50-qemu-rng.json.in' are not present in the
> > > > given configuration data.
> > > > Configuring 50-edk2-i386-secure.json using configuration
> > > > Configuring 50-edk2-x86_64-secure.json using configuration
> > > > Configuring 60-edk2-aarch64.json using configuration
> > > >
> > > > (the build then seems to go on to complete OK).
> > > >
> > > > -- PMM
> > >
> > >
> > > I sent an email about a fix. Do you prefer PULLv2 then?
> >
> > Same tag, right? I've put this back on my list, but I'm still
> > working through a backlog of other pullreqs before I get back
> > to this one.
> >
> > -- PMM
>
> Yes. If you merge it there's a trivial conflict.
>
> If you'd rather see it rebased here it is: for_upstream2

I tried the for_upstream2 tag, but it fails to compile on
some of the gitlab jobs:
https://gitlab.com/qemu-project/qemu/-/jobs/1430322920
https://gitlab.com/qemu-project/qemu/-/jobs/1430323102

/usr/bin/ld: tools/vhost-user-rng/vhost-user-rng.p/main.c.o: in
function `vu_rng_queue_set_started':
/builds/qemu-project/qemu/build/../tools/vhost-user-rng/main.c:198:
undefined reference to `vu_get_queue'

and various other missing symbols at link time.

thanks
-- PMM

Re: [PULL 00/23] pc,pci,virtio: lots of new features
Posted by Michael S. Tsirkin 4 years, 6 months ago
On Fri, Jul 16, 2021 at 03:12:53PM +0100, Peter Maydell wrote:
> On Fri, 16 Jul 2021 at 09:41, Michael S. Tsirkin <mst@redhat.com> wrote:
> >
> > On Fri, Jul 16, 2021 at 07:41:16AM +0100, Peter Maydell wrote:
> > > On Thu, 15 Jul 2021 at 22:21, Michael S. Tsirkin <mst@redhat.com> wrote:
> > > >
> > > > On Wed, Jul 14, 2021 at 09:31:21PM +0100, Peter Maydell wrote:
> > > > > On Tue, 13 Jul 2021 at 23:10, Michael S. Tsirkin <mst@redhat.com> wrote:
> > > > > >
> > > > > > The following changes since commit 708f50199b59476ec4b45ebcdf171550086d6292:
> > > > > >
> > > > > >   Merge remote-tracking branch 'remotes/ericb/tags/pull-nbd-2021-07-09-v2' into staging (2021-07-13 14:32:20 +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 cf171f90d5e41730ad3e0ce23f1990f34b7e63ef:
> > > > > >
> > > > > >   vhost-vsock: SOCK_SEQPACKET feature bit support (2021-07-13 16:59:12 -0400)
> > > > > >
> > > > > > ----------------------------------------------------------------
> > > > > > pc,pci,virtio: lots of new features
> > > > > >
> > > > > > Lots of last minute stuff.
> > > > > >
> > > > > > vhost-user-rng.
> > > > > > vhost-user-i2c.
> > > > > > vhost-vsock SOCK_SEQPACKET support.
> > > > > > IOMMU bypass.
> > > > > > ACPI based pci hotplug.
> > > > > >
> > > > > > Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
> > > > >
> > > > > This seems to produce a new meson warning:
> > > > >
> > > > > Configuring 50-qemu-gpu.json using configuration
> > > > > Configuring 50-qemu-virtiofsd.json using configuration
> > > > > Configuring 50-qemu-rng.json using configuration
> > > > > ../../tools/vhost-user-rng/meson.build:7: WARNING: The variable(s)
> > > > > 'libexecdir' in the input file
> > > > > 'tools/vhost-user-rng/50-qemu-rng.json.in' are not present in the
> > > > > given configuration data.
> > > > > Configuring 50-edk2-i386-secure.json using configuration
> > > > > Configuring 50-edk2-x86_64-secure.json using configuration
> > > > > Configuring 60-edk2-aarch64.json using configuration
> > > > >
> > > > > (the build then seems to go on to complete OK).
> > > > >
> > > > > -- PMM
> > > >
> > > >
> > > > I sent an email about a fix. Do you prefer PULLv2 then?
> > >
> > > Same tag, right? I've put this back on my list, but I'm still
> > > working through a backlog of other pullreqs before I get back
> > > to this one.
> > >
> > > -- PMM
> >
> > Yes. If you merge it there's a trivial conflict.
> >
> > If you'd rather see it rebased here it is: for_upstream2
> 
> I tried the for_upstream2 tag, but it fails to compile on
> some of the gitlab jobs:
> https://gitlab.com/qemu-project/qemu/-/jobs/1430322920
> https://gitlab.com/qemu-project/qemu/-/jobs/1430323102
> 
> /usr/bin/ld: tools/vhost-user-rng/vhost-user-rng.p/main.c.o: in
> function `vu_rng_queue_set_started':
> /builds/qemu-project/qemu/build/../tools/vhost-user-rng/main.c:198:
> undefined reference to `vu_get_queue'
> 
> and various other missing symbols at link time.
> 
> thanks
> -- PMM

Clearly some meson/config related issues.
I don't understand why it links fine on my box yet, but that
is a puzzle for another day. I've dropped vhost-user-rng for now.
We'll work to include it in the next release.

-- 
MST


Re: [PULL 00/23] pc,pci,virtio: lots of new features
Posted by Michael S. Tsirkin 4 years, 6 months ago
On Fri, Jul 16, 2021 at 03:12:53PM +0100, Peter Maydell wrote:
> On Fri, 16 Jul 2021 at 09:41, Michael S. Tsirkin <mst@redhat.com> wrote:
> >
> > On Fri, Jul 16, 2021 at 07:41:16AM +0100, Peter Maydell wrote:
> > > On Thu, 15 Jul 2021 at 22:21, Michael S. Tsirkin <mst@redhat.com> wrote:
> > > >
> > > > On Wed, Jul 14, 2021 at 09:31:21PM +0100, Peter Maydell wrote:
> > > > > On Tue, 13 Jul 2021 at 23:10, Michael S. Tsirkin <mst@redhat.com> wrote:
> > > > > >
> > > > > > The following changes since commit 708f50199b59476ec4b45ebcdf171550086d6292:
> > > > > >
> > > > > >   Merge remote-tracking branch 'remotes/ericb/tags/pull-nbd-2021-07-09-v2' into staging (2021-07-13 14:32:20 +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 cf171f90d5e41730ad3e0ce23f1990f34b7e63ef:
> > > > > >
> > > > > >   vhost-vsock: SOCK_SEQPACKET feature bit support (2021-07-13 16:59:12 -0400)
> > > > > >
> > > > > > ----------------------------------------------------------------
> > > > > > pc,pci,virtio: lots of new features
> > > > > >
> > > > > > Lots of last minute stuff.
> > > > > >
> > > > > > vhost-user-rng.
> > > > > > vhost-user-i2c.
> > > > > > vhost-vsock SOCK_SEQPACKET support.
> > > > > > IOMMU bypass.
> > > > > > ACPI based pci hotplug.
> > > > > >
> > > > > > Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
> > > > >
> > > > > This seems to produce a new meson warning:
> > > > >
> > > > > Configuring 50-qemu-gpu.json using configuration
> > > > > Configuring 50-qemu-virtiofsd.json using configuration
> > > > > Configuring 50-qemu-rng.json using configuration
> > > > > ../../tools/vhost-user-rng/meson.build:7: WARNING: The variable(s)
> > > > > 'libexecdir' in the input file
> > > > > 'tools/vhost-user-rng/50-qemu-rng.json.in' are not present in the
> > > > > given configuration data.
> > > > > Configuring 50-edk2-i386-secure.json using configuration
> > > > > Configuring 50-edk2-x86_64-secure.json using configuration
> > > > > Configuring 60-edk2-aarch64.json using configuration
> > > > >
> > > > > (the build then seems to go on to complete OK).
> > > > >
> > > > > -- PMM
> > > >
> > > >
> > > > I sent an email about a fix. Do you prefer PULLv2 then?
> > >
> > > Same tag, right? I've put this back on my list, but I'm still
> > > working through a backlog of other pullreqs before I get back
> > > to this one.
> > >
> > > -- PMM
> >
> > Yes. If you merge it there's a trivial conflict.
> >
> > If you'd rather see it rebased here it is: for_upstream2
> 
> I tried the for_upstream2 tag, but it fails to compile on
> some of the gitlab jobs:
> https://gitlab.com/qemu-project/qemu/-/jobs/1430322920
> https://gitlab.com/qemu-project/qemu/-/jobs/1430323102
> 
> /usr/bin/ld: tools/vhost-user-rng/vhost-user-rng.p/main.c.o: in
> function `vu_rng_queue_set_started':
> /builds/qemu-project/qemu/build/../tools/vhost-user-rng/main.c:198:
> undefined reference to `vu_get_queue'
> 
> and various other missing symbols at link time.
> 
> thanks
> -- PMM

OK for_upstream3 is now without vhost-user-rng - we found too many
issues for the last minute pull.

-- 
MST