[PULL 00/10] Misc patches for 2021-04-30 (incl. NVMM accelerator)

Paolo Bonzini posted 10 patches 3 years ago
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20210501093026.189429-1-pbonzini@redhat.com
Maintainers: Kamil Rytarowski <kamil@netbsd.org>, Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>, Kevin Wolf <kwolf@redhat.com>, Richard Henderson <richard.henderson@linaro.org>, Eduardo Habkost <ehabkost@redhat.com>, Thomas Huth <thuth@redhat.com>, Willian Rampazzo <willianr@redhat.com>, Max Reitz <mreitz@redhat.com>, Stefan Weil <sw@weilnetz.de>, John Snow <jsnow@redhat.com>, "Alex Bennée" <alex.bennee@linaro.org>, "Philippe Mathieu-Daudé" <f4bug@amsat.org>, Wainer dos Santos Moschetta <wainersm@redhat.com>, Paolo Bonzini <pbonzini@redhat.com>
There is a newer version of this series
.gitlab-ci.yml                    |   10 +-
MAINTAINERS                       |   11 +
accel/Kconfig                     |    3 +
block/block-copy.c                |    2 +
blockjob.c                        |    3 +
configure                         |  119 ++--
include/qemu/ratelimit.h          |   14 +
include/sysemu/hw_accel.h         |    1 +
include/sysemu/nvmm.h             |   26 +
meson.build                       |   16 +-
meson_options.txt                 |    2 +
net/slirp.c                       |   16 +-
qemu-options.hx                   |    8 +-
target/i386/helper.c              |    2 +-
target/i386/meson.build           |    1 +
target/i386/nvmm/meson.build      |    8 +
target/i386/nvmm/nvmm-accel-ops.c |  111 ++++
target/i386/nvmm/nvmm-accel-ops.h |   24 +
target/i386/nvmm/nvmm-all.c       | 1226 +++++++++++++++++++++++++++++++++++++
util/oslib-win32.c                |    2 +-
20 files changed, 1545 insertions(+), 60 deletions(-)
create mode 100644 include/sysemu/nvmm.h
create mode 100644 target/i386/nvmm/meson.build
create mode 100644 target/i386/nvmm/nvmm-accel-ops.c
create mode 100644 target/i386/nvmm/nvmm-accel-ops.h
create mode 100644 target/i386/nvmm/nvmm-all.c
[PULL 00/10] Misc patches for 2021-04-30 (incl. NVMM accelerator)
Posted by Paolo Bonzini 3 years ago
The following changes since commit b1cffefa1b163bce9aebc3416f562c1d3886eeaa:

  Update version for v6.0.0-rc4 release (2021-04-20 16:30:01 +0100)

are available in the Git repository at:

  https://gitlab.com/bonzini/qemu.git tags/for-upstream

for you to fetch changes up to 29740bdf1418c1193524356389cec825051c7a64:

  gitlab-ci: use --meson=internal for CFI jobs (2021-04-30 21:39:59 +0200)

----------------------------------------------------------------
* NetBSD NVMM support
* RateLimit mutex
* Prepare for Meson 0.57 upgrade

----------------------------------------------------------------
Joelle van Dyne (1):
      slirp: add configure option to disable smbd

Paolo Bonzini (5):
      oslib-win32: do not rely on macro to get redefined function name
      ratelimit: protect with a mutex
      configure: reindent meson invocation
      configure: handle meson options that have changed type
      gitlab-ci: use --meson=internal for CFI jobs

Reinoud Zandijk (4):
      Add NVMM accelerator: configure and build logic
      Add NVMM accelerator: x86 CPU support
      Add NVMM accelerator: acceleration enlightenments
      Add NVMM Accelerator: add maintainers for NetBSD/NVMM

 .gitlab-ci.yml                    |   10 +-
 MAINTAINERS                       |   11 +
 accel/Kconfig                     |    3 +
 block/block-copy.c                |    2 +
 blockjob.c                        |    3 +
 configure                         |  119 ++--
 include/qemu/ratelimit.h          |   14 +
 include/sysemu/hw_accel.h         |    1 +
 include/sysemu/nvmm.h             |   26 +
 meson.build                       |   16 +-
 meson_options.txt                 |    2 +
 net/slirp.c                       |   16 +-
 qemu-options.hx                   |    8 +-
 target/i386/helper.c              |    2 +-
 target/i386/meson.build           |    1 +
 target/i386/nvmm/meson.build      |    8 +
 target/i386/nvmm/nvmm-accel-ops.c |  111 ++++
 target/i386/nvmm/nvmm-accel-ops.h |   24 +
 target/i386/nvmm/nvmm-all.c       | 1226 +++++++++++++++++++++++++++++++++++++
 util/oslib-win32.c                |    2 +-
 20 files changed, 1545 insertions(+), 60 deletions(-)
 create mode 100644 include/sysemu/nvmm.h
 create mode 100644 target/i386/nvmm/meson.build
 create mode 100644 target/i386/nvmm/nvmm-accel-ops.c
 create mode 100644 target/i386/nvmm/nvmm-accel-ops.h
 create mode 100644 target/i386/nvmm/nvmm-all.c
-- 
2.31.1


Re: [PULL 00/10] Misc patches for 2021-04-30 (incl. NVMM accelerator)
Posted by Peter Maydell 3 years ago
On Sat, 1 May 2021 at 10:35, Paolo Bonzini <pbonzini@redhat.com> wrote:
>
> The following changes since commit b1cffefa1b163bce9aebc3416f562c1d3886eeaa:
>
>   Update version for v6.0.0-rc4 release (2021-04-20 16:30:01 +0100)
>
> are available in the Git repository at:
>
>   https://gitlab.com/bonzini/qemu.git tags/for-upstream
>
> for you to fetch changes up to 29740bdf1418c1193524356389cec825051c7a64:
>
>   gitlab-ci: use --meson=internal for CFI jobs (2021-04-30 21:39:59 +0200)
>
> ----------------------------------------------------------------
> * NetBSD NVMM support
> * RateLimit mutex
> * Prepare for Meson 0.57 upgrade
>
> ----------------------------------------------------------------

Fails to build on netbsd (on our usual tests/vm setup):

../src/target/i386/nvmm/nvmm-all.c: In function 'nvmm_vcpu_loop':
../src/target/i386/nvmm/nvmm-all.c:753:13: warning: implicit
declaration of function 'nvmm_vcpu_stop'; did you mean
'nvmm_vcpu_loop'? [-Wimplicit-function-declaration]
             nvmm_vcpu_stop(vcpu);
             ^~~~~~~~~~~~~~
             nvmm_vcpu_loop
../src/target/i386/nvmm/nvmm-all.c:753:13: warning: nested extern
declaration of 'nvmm_vcpu_stop' [-Wnested-externs]
../src/target/i386/nvmm/nvmm-all.c:770:14: error:
'NVMM_VCPU_EXIT_STOPPED' undeclared (first use in this function); did
you mean 'NVMM_VCPU_EXIT_CPUID'?
         case NVMM_VCPU_EXIT_STOPPED:
              ^~~~~~~~~~~~~~~~~~~~~~
              NVMM_VCPU_EXIT_CPUID
../src/target/i386/nvmm/nvmm-all.c:770:14: note: each undeclared
identifier is reported only once for each function it appears in

thanks
-- PMM