[PULL v4 00/36] Misc patches (buildsys, i386, fuzzing) for 2021-01-29

Paolo Bonzini posted 36 patches 3 years, 2 months ago
Only 0 patches received!
MAINTAINERS                              |   1 +
accel/kvm/kvm-all.c                      |  21 +--
accel/tcg/tcg-cpus-icount.c              |   8 +-
backends/hostmem.c                       |  10 ++
configure                                |   7 +-
docs/devel/build-system.rst              |   2 +-
docs/devel/fuzzing.rst                   |  35 ++++-
docs/meson.build                         |   6 +-
hw/scsi/virtio-scsi-dataplane.c          |   8 +-
include/exec/memory.h                    |   8 +-
include/exec/memory_ldst_cached.h.inc    |   6 +-
include/qemu/event_notifier.h            |   1 +
memory_ldst.c.inc                        |   8 +-
meson.build                              | 214 +++++++++++++++++--------------
meson_options.txt                        |   2 +-
pc-bios/descriptors/meson.build          |   2 +-
pc-bios/meson.build                      |   1 +
qapi/meson.build                         |  34 +++--
qemu-options.hx                          |  26 +++-
scripts/oss-fuzz/minimize_qtest_trace.py |   2 +-
softmmu/memory.c                         |   5 +-
softmmu/physmem.c                        |   4 +-
stubs/meson.build                        |   2 +
stubs/qdev.c                             |  23 ++++
target/i386/cpu.c                        |  15 ++-
target/i386/cpu.h                        |  29 +++--
target/i386/helper.c                     |   3 +
target/i386/hvf/hvf.c                    |   4 +
target/i386/machine.c                    |  24 +++-
target/i386/tcg/excp_helper.c            |  32 +++--
target/i386/tcg/misc_helper.c            |  14 ++
target/i386/tcg/translate.c              |   2 +-
tests/meson.build                        |  11 +-
tests/qtest/fuzz/fuzz.c                  |  11 +-
tests/qtest/fuzz/generic_fuzz.c          |  19 ++-
tests/qtest/fuzz/generic_fuzz_configs.h  |  41 +++++-
util/event_notifier-posix.c              |  16 +++
37 files changed, 468 insertions(+), 189 deletions(-)
create mode 100644 stubs/qdev.c
[PULL v4 00/36] Misc patches (buildsys, i386, fuzzing) for 2021-01-29
Posted by Paolo Bonzini 3 years, 2 months ago
The following changes since commit cf7ca7d5b9faca13f1f8e3ea92cfb2f741eb0c0e:

  Merge remote-tracking branch 'remotes/stefanha-gitlab/tags/tracing-pull-request' into staging (2021-02-01 16:28:00 +0000)

are available in the Git repository at:

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

for you to fetch changes up to 4e1cd7b1d59727ae471bae95db4002739eda085b:

  pc-bios/descriptors: fix paths in json files (2021-02-03 14:20:21 +0100)

----------------------------------------------------------------
* Fuzzing improvements (Qiuhao, Alexander)
* i386: Fix BMI decoding for instructions with the 0x66 prefix (David)
* initial attempt at fixing event_notifier emulation (Maxim)
* i386: PKS emulation, fix for "qemu-system-i386 -cpu host" (myself)
* meson: RBD test fixes (myself)
* meson: TCI warnings (Philippe)
* Leaner build for --disable-guest-agent, --disable-system and
  --disable-tools (Philippe, Stefan)
* --enable-tcg-interpreter fix (Richard)
* i386: SVM feature bits (Wei)
* HVF bugfix (Alex)
* KVM bugfix (Thomas)

----------------------------------------------------------------

v3->v4: dropped slirp update

Alexander Bulekov (7):
      fuzz: ignore address_space_map is_write flag
      fuzz: refine the ide/ahci fuzzer configs
      docs/fuzz: fix pre-meson path
      fuzz: log the arguments used to initialize QEMU
      fuzz: enable dynamic args for generic-fuzz configs
      docs/fuzz: add some information about OSS-Fuzz
      fuzz: add virtio-9p configurations for fuzzing

Alexander Graf (1):
      hvf: Fetch cr4 before evaluating CPUID(1)

David Greenaway (1):
      target/i386: Fix decoding of certain BMI instructions

Igor Mammedov (1):
      machine: add missing doc for memory-backend option

Maxim Levitsky (2):
      virtio-scsi: don't uninitialize queues that we didn't initialize
      event_notifier: handle initialization failure better

Paolo Bonzini (4):
      target/i386: do not set LM for 32-bit emulation "-cpu host/max"
      meson: accept either shared or static libraries if --disable-static
      meson: honor --enable-rbd if cc.links test fails
      target/i86: implement PKS

Pavel Dovgalyuk (1):
      replay: fix replay of the interrupts

Philippe Mathieu-Daudé (13):
      configure: Improve TCI feature description
      meson: Explicit TCG backend used
      meson: Warn when TCI is selected but TCG backend is available
      tests/meson: Only build softfloat objects if TCG is selected
      pc-bios/meson: Only install EDK2 blob firmwares with system emulation
      meson: Restrict block subsystem processing
      meson: Merge trace_events_subdirs array
      meson: Restrict some trace event directories to user/system emulation
      meson: Restrict emulation code
      qapi/meson: Restrict qdev code to system-mode emulation
      qapi/meson: Remove QMP from user-mode emulation
      qapi/meson: Restrict system-mode specific modules
      qapi/meson: Restrict UI module to system emulation and tools

Qiuhao Li (1):
      fuzz: fix wrong index in clear_bits

Richard Henderson (1):
      configure: Fix --enable-tcg-interpreter

Sergei Trofimovich (1):
      pc-bios/descriptors: fix paths in json files

Stefan Reiter (1):
      docs: don't install corresponding man page if guest agent is disabled

Thomas Huth (1):
      accel/kvm/kvm-all: Fix wrong return code handling in dirty log code

Wei Huang (1):
      x86/cpu: Populate SVM CPUID feature bits

 MAINTAINERS                              |   1 +
 accel/kvm/kvm-all.c                      |  21 +--
 accel/tcg/tcg-cpus-icount.c              |   8 +-
 backends/hostmem.c                       |  10 ++
 configure                                |   7 +-
 docs/devel/build-system.rst              |   2 +-
 docs/devel/fuzzing.rst                   |  35 ++++-
 docs/meson.build                         |   6 +-
 hw/scsi/virtio-scsi-dataplane.c          |   8 +-
 include/exec/memory.h                    |   8 +-
 include/exec/memory_ldst_cached.h.inc    |   6 +-
 include/qemu/event_notifier.h            |   1 +
 memory_ldst.c.inc                        |   8 +-
 meson.build                              | 214 +++++++++++++++++--------------
 meson_options.txt                        |   2 +-
 pc-bios/descriptors/meson.build          |   2 +-
 pc-bios/meson.build                      |   1 +
 qapi/meson.build                         |  34 +++--
 qemu-options.hx                          |  26 +++-
 scripts/oss-fuzz/minimize_qtest_trace.py |   2 +-
 softmmu/memory.c                         |   5 +-
 softmmu/physmem.c                        |   4 +-
 stubs/meson.build                        |   2 +
 stubs/qdev.c                             |  23 ++++
 target/i386/cpu.c                        |  15 ++-
 target/i386/cpu.h                        |  29 +++--
 target/i386/helper.c                     |   3 +
 target/i386/hvf/hvf.c                    |   4 +
 target/i386/machine.c                    |  24 +++-
 target/i386/tcg/excp_helper.c            |  32 +++--
 target/i386/tcg/misc_helper.c            |  14 ++
 target/i386/tcg/translate.c              |   2 +-
 tests/meson.build                        |  11 +-
 tests/qtest/fuzz/fuzz.c                  |  11 +-
 tests/qtest/fuzz/generic_fuzz.c          |  19 ++-
 tests/qtest/fuzz/generic_fuzz_configs.h  |  41 +++++-
 util/event_notifier-posix.c              |  16 +++
 37 files changed, 468 insertions(+), 189 deletions(-)
 create mode 100644 stubs/qdev.c
-- 
2.29.2

Re: [PULL v4 00/36] Misc patches (buildsys, i386, fuzzing) for 2021-01-29
Posted by Peter Maydell 3 years, 2 months ago
On Wed, 3 Feb 2021 at 13:27, Paolo Bonzini <pbonzini@redhat.com> wrote:
>
> The following changes since commit cf7ca7d5b9faca13f1f8e3ea92cfb2f741eb0c0e:
>
>   Merge remote-tracking branch 'remotes/stefanha-gitlab/tags/tracing-pull-request' into staging (2021-02-01 16:28:00 +0000)
>
> are available in the Git repository at:
>
>   https://gitlab.com/bonzini/qemu.git tags/for-upstream
>
> for you to fetch changes up to 4e1cd7b1d59727ae471bae95db4002739eda085b:
>
>   pc-bios/descriptors: fix paths in json files (2021-02-03 14:20:21 +0100)
>
> ----------------------------------------------------------------
> * Fuzzing improvements (Qiuhao, Alexander)
> * i386: Fix BMI decoding for instructions with the 0x66 prefix (David)
> * initial attempt at fixing event_notifier emulation (Maxim)
> * i386: PKS emulation, fix for "qemu-system-i386 -cpu host" (myself)
> * meson: RBD test fixes (myself)
> * meson: TCI warnings (Philippe)
> * Leaner build for --disable-guest-agent, --disable-system and
>   --disable-tools (Philippe, Stefan)
> * --enable-tcg-interpreter fix (Richard)
> * i386: SVM feature bits (Wei)
> * HVF bugfix (Alex)
> * KVM bugfix (Thomas)

Fails to build, OSX:

../../target/i386/hvf/hvf.c:739:41: error: no member named 'hvf' in
'struct CPUState'
                env->cr[4] = rvmcs(cpu->hvf->fd, VMCS_GUEST_CR4);
                                   ~~~  ^
1 error generated.

Looks like Alex's hvf patch was based on some of the hvf
refactoring in his "hvf: Implement Apple Silicon support" patchset,
so it needs changes to work with current master.

thanks
-- PMM