qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] 8a5701: tests: add missing genh dependency


From: Peter Maydell
Subject: [Qemu-commits] [qemu/qemu] 8a5701: tests: add missing genh dependency
Date: Thu, 01 Oct 2020 07:30:38 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 8a5701e54a1f6a355072751e40c0ef440a4402b3
      
https://github.com/qemu/qemu/commit/8a5701e54a1f6a355072751e40c0ef440a4402b3
  Author: Claudio Fontana <cfontana@suse.de>
  Date:   2020-09-30 (Wed, 30 Sep 2020)

  Changed paths:
    M tests/meson.build

  Log Message:
  -----------
  tests: add missing genh dependency

Fix high-parallelism builds by forcing all generated headers
to be created before tests are compiled.

Reported-by: Claudio Fontana <cfontana@suse.de>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Tested-by: Claudio Fontana <cfontana@suse.de>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>


  Commit: 27d551c00d5458d1deda33508dab7453959ca2c6
      
https://github.com/qemu/qemu/commit/27d551c00d5458d1deda33508dab7453959ca2c6
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2020-09-30 (Wed, 30 Sep 2020)

  Changed paths:
    M docs/devel/build-system.rst
    M tests/fp/meson.build
    M tests/meson.build
    M tests/qemu-iotests/meson.build
    M trace/meson.build
    M ui/shader/meson.build

  Log Message:
  -----------
  meson: clean up build_by_default

Build all executables by default except for the known-broken ones.

This also allows running qemu-iotests without manually building
socket_scm_helper.

Reported-by: Max Reitz <mreitz@redhat.com>
Tested-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 1d14a8edce750c9d87ba6b03276815723de9a193
      
https://github.com/qemu/qemu/commit/1d14a8edce750c9d87ba6b03276815723de9a193
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2020-09-30 (Wed, 30 Sep 2020)

  Changed paths:
    M scripts/ninjatool.py

  Log Message:
  -----------
  ninjatool: rebuild multi-output targets if outputs are missing

The "stamp file trick" used to group targets of a single multi-output rule
prevents the user from deleting one such target in order to force its
rebuild.  Doing so will not touch the stamp file, and therefore only
the dummy ":" command will be executed.

With this patch, ninjatool writes rules that force-rebuild the stamp
file if any of its outputs are missing.  Rebuilding the missing
target therefore causes the stamp file to be rebuilt too.

Reported-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 18240fdcaa890cf1873fc2cd961411ab22183968
      
https://github.com/qemu/qemu/commit/18240fdcaa890cf1873fc2cd961411ab22183968
  Author: Marc-André Lureau <marcandre.lureau@redhat.com>
  Date:   2020-09-30 (Wed, 30 Sep 2020)

  Changed paths:
    M qga/meson.build

  Log Message:
  -----------
  meson: fix MSI rule

The environment variables can't be passed through an env: argument
yet (meson#2723), use 'env' as suggested in:
https://github.com/mesonbuild/meson/issues/2723#issuecomment-348630957

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 8fe11232c8ad0fecbfab0ea804bfdef0bbec0da7
      
https://github.com/qemu/qemu/commit/8fe11232c8ad0fecbfab0ea804bfdef0bbec0da7
  Author: Marc-André Lureau <marcandre.lureau@redhat.com>
  Date:   2020-09-30 (Wed, 30 Sep 2020)

  Changed paths:
    M meson.build

  Log Message:
  -----------
  meson: error out if qemu_suffix starts with /

Since the variable is used for path concatenation, the result would
ignore the prefix directory altogether.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 5c8e1e832822f2e5bc630864a77eea40ee520a4f
      
https://github.com/qemu/qemu/commit/5c8e1e832822f2e5bc630864a77eea40ee520a4f
  Author: Sunil Muthuswamy <sunilmut@microsoft.com>
  Date:   2020-09-30 (Wed, 30 Sep 2020)

  Changed paths:
    M target/i386/whp-dispatch.h
    M target/i386/whpx-all.c

  Log Message:
  -----------
  WHPX: vmware cpuid leaf for tsc and apic frequency

Newer versions of WHPX provide the capability to query the tsc
and apic frequency. Expose these through the vmware cpuid leaf.
This patch doesnt support setting the tsc frequency; that will
come as a separate fix.

Signed-off-by: Sunil Muthuswamy <sunilmut@microsoft.com>
Message-Id: 
<SN4PR2101MB08808DFDDC3F442BBEAADFF4C0710@SN4PR2101MB0880.namprd21.prod.outlook.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 738c7236d17cd3b424f001e9ffbf6b9a482ad00a
      
https://github.com/qemu/qemu/commit/738c7236d17cd3b424f001e9ffbf6b9a482ad00a
  Author: Philippe Mathieu-Daudé <f4bug@amsat.org>
  Date:   2020-09-30 (Wed, 30 Sep 2020)

  Changed paths:
    M configure

  Log Message:
  -----------
  configure: Do not intent to build WHPX on 32-bit host

Hyper-V is available on 64-bit versions of Windows,
do not try to build its support on 32-bit versions.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20200910054516.405777-1-f4bug@amsat.org>
Reviewed-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>


  Commit: 1b7e01d00854cb053d8dbed6a064038c162a27ef
      
https://github.com/qemu/qemu/commit/1b7e01d00854cb053d8dbed6a064038c162a27ef
  Author: Stefan Hajnoczi <stefanha@redhat.com>
  Date:   2020-09-30 (Wed, 30 Sep 2020)

  Changed paths:
    M MAINTAINERS

  Log Message:
  -----------
  MAINTAINERS: add Paolo Bonzini as RCU maintainer

The RCU code that Paolo maintains is missing a MAINTAINERS file entry.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-Id: <20200909090851.14458-1-stefanha@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: db5daafab2dadc029f48e6a64c3cf0c6e44d35f8
      
https://github.com/qemu/qemu/commit/db5daafab2dadc029f48e6a64c3cf0c6e44d35f8
  Author: Vitaly Kuznetsov <vkuznets@redhat.com>
  Date:   2020-09-30 (Wed, 30 Sep 2020)

  Changed paths:
    M target/i386/cpu.c
    M target/i386/cpu.h
    M target/i386/kvm.c
    M target/i386/machine.c

  Log Message:
  -----------
  target/i386: support KVM_FEATURE_ASYNC_PF_INT

Linux-5.8 introduced interrupt based mechanism for 'page ready' events
delivery and disabled the old, #PF based one (see commit 2635b5c4a0e4
"KVM: x86: interrupt based APF 'page ready' event delivery"). Linux
guest switches to using in in 5.9 (see commit b1d405751cd5 "KVM: x86:
Switch KVM guest to using interrupts for page ready APF delivery").
The feature has a new KVM_FEATURE_ASYNC_PF_INT bit assigned and
the interrupt vector is set in MSR_KVM_ASYNC_PF_INT MSR. Support this
in QEMU.

Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Message-Id: <20200908141206.357450-1-vkuznets@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: ffb716f05015524cc97da18b34748961c743e827
      
https://github.com/qemu/qemu/commit/ffb716f05015524cc97da18b34748961c743e827
  Author: Eduardo Habkost <ehabkost@redhat.com>
  Date:   2020-09-30 (Wed, 30 Sep 2020)

  Changed paths:
    M include/exec/memory.h

  Log Message:
  -----------
  memory: Convert IOMMUMemoryRegionClass doc comment to kernel-doc

Convert the existing documentation comments of
IOMMUMemoryRegionClass to kernel-doc format so their contents
will appear in the API reference at docs/devel/memory.html.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Message-Id: <20200908201129.3407568-1-ehabkost@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: b82526c7ee484f2ba03944f804ab895aa75d89d3
      
https://github.com/qemu/qemu/commit/b82526c7ee484f2ba03944f804ab895aa75d89d3
  Author: Li Feng <fengli@smartx.com>
  Date:   2020-09-30 (Wed, 30 Sep 2020)

  Changed paths:
    M hw/scsi/vhost-scsi-common.c
    M include/hw/virtio/vhost-scsi-common.h

  Log Message:
  -----------
  vhost-scsi: support inflight io track

Qemu will send GET_INFLIGHT_FD and SET_INFLIGH_FD to backend, and
the backend setup the inflight memory to track the io.

Change-Id: I805d6189996f7a1b44c65f0b12ef7473b1789510
Signed-off-by: Li Feng <fengli@smartx.com>
Message-Id: <20200909122021.1055174-1-fengli@smartx.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 8f814ea1a2769311c71af069210dbba1de3aa9a4
      
https://github.com/qemu/qemu/commit/8f814ea1a2769311c71af069210dbba1de3aa9a4
  Author: Jon Doron <arilou@gmail.com>
  Date:   2020-09-30 (Wed, 30 Sep 2020)

  Changed paths:
    M hw/i386/acpi-build.c

  Log Message:
  -----------
  acpi: i386: Move VMBus DSDT entry to SB

Signed-off-by: Jon Doron <arilou@gmail.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Message-Id: <20200715084326.678715-2-arilou@gmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: b21aa7e01eb82f94ccdd7afdbe299a242d215272
      
https://github.com/qemu/qemu/commit/b21aa7e01eb82f94ccdd7afdbe299a242d215272
  Author: Igor Mammedov <imammedo@redhat.com>
  Date:   2020-09-30 (Wed, 30 Sep 2020)

  Changed paths:
    M docs/system/deprecated.rst
    M hw/core/machine.c
    M hw/core/numa.c
    M hw/i386/pc_piix.c
    M hw/i386/pc_q35.c
    M hw/ppc/spapr.c
    M include/hw/boards.h
    M include/sysemu/numa.h

  Log Message:
  -----------
  numa: drop support for '-numa node' (without memory specified)

it was deprecated since 4.1
commit 4bb4a2732e (numa: deprecate implict memory distribution between nodes)

Users of existing VMs, wishing to preserve the same RAM distribution,
should configure it explicitly using ``-numa node,memdev`` options.
Current RAM distribution can be retrieved using HMP command
`info numa` and if separate memory devices (pc|nv-dimm) are present
use `info memory-device` and subtract device memory from output of
`info numa`.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Message-Id: <20200911084410.788171-2-imammedo@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: c01f250cb86cde926dbee4337317ccd58261fa1b
      
https://github.com/qemu/qemu/commit/c01f250cb86cde926dbee4337317ccd58261fa1b
  Author: Igor Mammedov <imammedo@redhat.com>
  Date:   2020-09-30 (Wed, 30 Sep 2020)

  Changed paths:
    M docs/system/deprecated.rst

  Log Message:
  -----------
  doc: Cleanup "'-mem-path' fallback to RAM" deprecation text

it was actually removed in 5.0,
commit 68a86dc15c (numa: remove deprecated -mem-path fallback to anonymous RAM)
clean up forgotten remnants in docs.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Message-Id: <20200911084410.788171-3-imammedo@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 270b33cc1c40ce2eff1abdf67b04fc008167b525
      
https://github.com/qemu/qemu/commit/270b33cc1c40ce2eff1abdf67b04fc008167b525
  Author: Igor Mammedov <imammedo@redhat.com>
  Date:   2020-09-30 (Wed, 30 Sep 2020)

  Changed paths:
    M hw/core/numa.c

  Log Message:
  -----------
  numa: remove fixup numa_state->num_nodes to MAX_NODES

current code permits only nodeids in [0..MAX_NODES) range
due to nodeid check in

  parse_numa_node()
      if (nodenr >= MAX_NODES) {
          error_setg(errp, "Max number of NUMA nodes reached: %"

so subj fixup is not reachable, drop it.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Message-Id: <20200911084410.788171-4-imammedo@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: cf3d932f97d4f76339846f49075fecca690308ab
      
https://github.com/qemu/qemu/commit/cf3d932f97d4f76339846f49075fecca690308ab
  Author: Philippe Mathieu-Daudé <philmd@redhat.com>
  Date:   2020-09-30 (Wed, 30 Sep 2020)

  Changed paths:
    M hw/mips/mipssim.c

  Log Message:
  -----------
  hw/mips/mipssim: Use MMIO serial device on fake ISA I/O

The 'mipssim' is not a real hardware, it is a simulator.

There is an ISA MMIO space mapped at 0x1fd00000, however
this is not a real ISA bus (no ISA IRQ). So can not use
the TYPE_ISA_SERIAL device...
Instead we have been using a plain MMIO device, but named
it IO.

TYPE_SERIAL_IO is a subset of TYPE_SERIAL_MM, using
regshift=0 and endianness=DEVICE_LITTLE_ENDIAN.

Directly use the TYPE_SERIAL_MM device, enforcing the
regshift/endianness values. 'regshift' default is already
'0'. 'endianness' is meaningless for 8-bit accesses.

This change breaks migration back compatibility, but
this is not an issue for the mipssim machine.

Suggested-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20200907011538.818996-2-philmd@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 08516115303c0b72690b3f3ea80149f7a18f961f
      
https://github.com/qemu/qemu/commit/08516115303c0b72690b3f3ea80149f7a18f961f
  Author: Philippe Mathieu-Daudé <philmd@redhat.com>
  Date:   2020-09-30 (Wed, 30 Sep 2020)

  Changed paths:
    M hw/char/serial.c
    M include/hw/char/serial.h

  Log Message:
  -----------
  hw/char/serial: Remove TYPE_SERIAL_IO

TYPE_SERIAL_IO is a subset of TYPE_SERIAL_MM, and it is
not used anymore. Remove it.

Suggested-by: Paolo Bonzini <pbonzini@redhat.com>
Suggested-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20200907011538.818996-3-philmd@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 4bad7c3b58526611accd9238c1e70898de5e5255
      
https://github.com/qemu/qemu/commit/4bad7c3b58526611accd9238c1e70898de5e5255
  Author: Stefan Hajnoczi <stefanha@redhat.com>
  Date:   2020-09-30 (Wed, 30 Sep 2020)

  Changed paths:
    M Makefile
    M configure
    M meson.build

  Log Message:
  -----------
  configure: rename QEMU_GA_MSI_ENABLED to CONFIG_QGA_MSI

The QEMU_GA_MSI_ENABLED config-host.mak variable is emitted by
./configure. meson.build actually checks for CONFIG_QGA_MSI_ENABLED:

  summary_info += {'QGA MSI support':   
config_host.has_key('CONFIG_QGA_MSI_ENABLED')}

Rename QEMU_GA_MSI_ENABLED to CONFIG_QGA_MSI for consistency with
CONFIG_QGA_VSS. Also use 'y' instead of 'yes' for consistency.

This fixes the feature summary printed by meson.build.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-Id: <20200914095231.621068-4-stefanha@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 6ab9be1ec1267865c2f4c334668e05f5810b8836
      
https://github.com/qemu/qemu/commit/6ab9be1ec1267865c2f4c334668e05f5810b8836
  Author: Philippe Mathieu-Daudé <f4bug@amsat.org>
  Date:   2020-09-30 (Wed, 30 Sep 2020)

  Changed paths:
    M hw/char/serial.c

  Log Message:
  -----------
  hw/char/serial: Assert serial_ioport_read/write offset fits 8 bytes

The serial device has 8 registers, each 8-bit. The MemoryRegionOps
'serial_io_ops' is initialized with max_access_size=1, and all
memory_region_init_io() callers correctly set the region size to
8 bytes:
- serial_io_realize
- serial_isa_realizefn
- serial_pci_realize
- multi_serial_pci_realize

It is safe to assert the offset argument of serial_ioport_read()
and serial_ioport_write() is always less than 8.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20200907015535.827885-2-f4bug@amsat.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 4d7b9a6373504cd75a589775fee9debf76912d39
      
https://github.com/qemu/qemu/commit/4d7b9a6373504cd75a589775fee9debf76912d39
  Author: Philippe Mathieu-Daudé <f4bug@amsat.org>
  Date:   2020-09-30 (Wed, 30 Sep 2020)

  Changed paths:
    M hw/char/serial.c
    M hw/char/trace-events

  Log Message:
  -----------
  hw/char/serial: Replace commented DPRINTF() by trace event

Convert the old debug PRINTF() call to display the UART
baudrate to a trace event.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20200907015535.827885-3-f4bug@amsat.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 1acb1fe1665b68f226943bbd2919c630b7e0344c
      
https://github.com/qemu/qemu/commit/1acb1fe1665b68f226943bbd2919c630b7e0344c
  Author: Philippe Mathieu-Daudé <f4bug@amsat.org>
  Date:   2020-09-30 (Wed, 30 Sep 2020)

  Changed paths:
    M hw/char/serial.c

  Log Message:
  -----------
  hw/char/serial: Remove old DEBUG_SERIAL commented code

All useful DPRINTF() calls have been converted to trace
events.  Remove a pointless one in the IOEventHandler,
and drop the DEBUG_SERIAL ifdef'ry.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20200907015535.827885-4-f4bug@amsat.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: f2336b5fbdfcf0aef9a66e4b170648e10faf7a8e
      
https://github.com/qemu/qemu/commit/f2336b5fbdfcf0aef9a66e4b170648e10faf7a8e
  Author: Philippe Mathieu-Daudé <f4bug@amsat.org>
  Date:   2020-09-30 (Wed, 30 Sep 2020)

  Changed paths:
    M hw/char/serial.c
    M hw/char/trace-events

  Log Message:
  -----------
  hw/char/serial: Rename I/O read/write trace events

The serial_mm_read/write() handlers from the TYPE_SERIAL_MM device
call the serial_ioport_read/write() handlers with shifted offset.

When looking at the trace events from this MMIO device, it is
confusing to read the accesses as I/O. Simplify using generic
trace event names which make sense the various uses.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20200907015535.827885-5-f4bug@amsat.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 1fa2c0eb6c7e5a5cf714c2a9dfea7633429af76d
      
https://github.com/qemu/qemu/commit/1fa2c0eb6c7e5a5cf714c2a9dfea7633429af76d
  Author: Philippe Mathieu-Daudé <f4bug@amsat.org>
  Date:   2020-09-30 (Wed, 30 Sep 2020)

  Changed paths:
    M hw/char/serial-isa.c
    M hw/char/serial.c
    M include/hw/char/serial.h

  Log Message:
  -----------
  hw/char/serial: Make 'wakeup' property boolean

Make the "wakeup" property introduced in commit 9826fd597df
("suspend: make serial ports wakeup the guest") a boolean.

As we want to reuse the generic serial properties in the
ISA model (next commit), expose this property.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20200907015535.827885-6-f4bug@amsat.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: b7dd40d40bfa44536bee4aa4d643b26621097d27
      
https://github.com/qemu/qemu/commit/b7dd40d40bfa44536bee4aa4d643b26621097d27
  Author: Philippe Mathieu-Daudé <f4bug@amsat.org>
  Date:   2020-09-30 (Wed, 30 Sep 2020)

  Changed paths:
    M hw/char/serial-isa.c
    M hw/char/serial-pci.c

  Log Message:
  -----------
  hw/char/serial-{isa, pci}: Alias QDEV properties from generic serial object

Instead of overwritting the properties of the generic 'state'
object, alias them.
Note we can now propagate the "baudbase" property.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20200907015535.827885-7-f4bug@amsat.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: afff2db61f6ace9bb2c4d81c7c57601f5c009acd
      
https://github.com/qemu/qemu/commit/afff2db61f6ace9bb2c4d81c7c57601f5c009acd
  Author: Dmitry Fomichev <dmitry.fomichev@wdc.com>
  Date:   2020-09-30 (Wed, 30 Sep 2020)

  Changed paths:
    M hw/scsi/scsi-generic.c
    M include/scsi/constants.h

  Log Message:
  -----------
  scsi-generic: Fix HM-zoned device scan

Several important steps during device scan depend on SCSI type of the
device. For example, max_transfer property is only determined and
assigned if the device has the type of TYPE_DISK.

Host-managed ZBC disks retain most of the properties of regular SCSI
drives, but they have their own SCSI device type, 0x14. This prevents
the proper assignment of max_transfer property for HM-zoned devices in
scsi-generic driver leading to I/O errors if the maximum i/o size
calculated at the guest exceeds the host value.

To fix this, define TYPE_ZBC to have the standard value from SCSI ZBC
standard spec. Several scan steps that were previously done only for
TYPE_DISK devices, are now performed for the SCSI devices having
TYPE_ZBC too.

Reported-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Dmitry Fomichev <dmitry.fomichev@wdc.com>
Message-Id: <20200811225122.17342-3-dmitry.fomichev@wdc.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 5ecfbae201d68a2f13df233260c77b0a25d7cd35
      
https://github.com/qemu/qemu/commit/5ecfbae201d68a2f13df233260c77b0a25d7cd35
  Author: Li Qiang <liq3ea@163.com>
  Date:   2020-09-30 (Wed, 30 Sep 2020)

  Changed paths:
    M hw/scsi/megasas.c

  Log Message:
  -----------
  hw: megasas: return -1 when 'megasas_map_sgl' fails

The caller of 'megasas_map_sgl' will only check if the return
is zero or not. If it return 0 it means success, as in the next
patch we will consider 'iov_count=0' is an error, so let's
return -1 to indicate a failure.

Signed-off-by: Li Qiang <liq3ea@163.com>
Message-Id: <20200815141940.44025-2-liq3ea@163.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 4773a5f35b0d83674f92816a226a594b03bbcf60
      
https://github.com/qemu/qemu/commit/4773a5f35b0d83674f92816a226a594b03bbcf60
  Author: Li Qiang <liq3ea@163.com>
  Date:   2020-09-30 (Wed, 30 Sep 2020)

  Changed paths:
    M hw/scsi/megasas.c

  Log Message:
  -----------
  hw: megasas: consider 'iov_count=0' is an error in megasas_map_sgl

Currently in 'megasas_map_sgl' when 'iov_count=0' will just return
success however the 'cmd' doens't contain any iov. This will cause
the assert in 'scsi_dma_complete' failed. This is because in
'dma_blk_cb' the 'dbs->sg_cur_index == dbs->sg->nsg' will be true
and just call 'dma_complete'. However now there is no aiocb returned.

This fixes the LP#1878263:

-->https://bugs.launchpad.net/qemu/+bug/1878263

Reported-by: Alexander Bulekov <alxndr@bu.edu>
Signed-off-by: Li Qiang <liq3ea@163.com>
Message-Id: <20200815141940.44025-3-liq3ea@163.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 19ca8285fcd61a8f60f2f44f789a561e0958e8e6
      
https://github.com/qemu/qemu/commit/19ca8285fcd61a8f60f2f44f789a561e0958e8e6
  Author: Xiaoyao Li <xiaoyao.li@intel.com>
  Date:   2020-09-30 (Wed, 30 Sep 2020)

  Changed paths:
    M target/i386/cpu.c

  Log Message:
  -----------
  i386/cpu: Clear FEAT_XSAVE_COMP_{LO,HI} when XSAVE is not available

Per Intel SDM vol 1, 13.2, if CPUID.1:ECX.XSAVE[bit 26] is 0, the
processor provides no further enumeration through CPUID function 0DH.
QEMU does not do this for "-cpu host,-xsave".

Signed-off-by: Xiaoyao Li <xiaoyao.li@intel.com>
Message-Id: <20200716082019.215316-2-xiaoyao.li@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: f01496a314d916949ef84426d6cdd34f50447bb7
      
https://github.com/qemu/qemu/commit/f01496a314d916949ef84426d6cdd34f50447bb7
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2020-09-30 (Wed, 30 Sep 2020)

  Changed paths:
    M configure
    M meson.build

  Log Message:
  -----------
  meson: move libudev test

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 6ec0e15d95da4e80bc890933e3e5bc11f6b54118
      
https://github.com/qemu/qemu/commit/6ec0e15d95da4e80bc890933e3e5bc11f6b54118
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2020-09-30 (Wed, 30 Sep 2020)

  Changed paths:
    M configure
    M meson.build
    M meson_options.txt

  Log Message:
  -----------
  meson: move libmpathpersist test

This is the first compiler/linker test that has been moved to Meson.
Add more section headings to keep things clearer.

This also fixes static linking to libmpathpersist, which has a
dependency on libmultipath but no pkg-config file to describe it.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 43b43a4027aefceff3bf7df86a109dd945ac6d49
      
https://github.com/qemu/qemu/commit/43b43a4027aefceff3bf7df86a109dd945ac6d49
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2020-09-30 (Wed, 30 Sep 2020)

  Changed paths:
    M meson.build

  Log Message:
  -----------
  meson: extend libmpathpersist test for static linking

libmultipath has a dependency on libdevmapper, so
include it as well when static linking.  It seems that
the rabbit hole ends there.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: aa087962d7af6a2caa2caa0c449b76d01042c05a
      
https://github.com/qemu/qemu/commit/aa087962d7af6a2caa2caa0c449b76d01042c05a
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2020-09-30 (Wed, 30 Sep 2020)

  Changed paths:
    M configure
    M meson.build
    M meson_options.txt

  Log Message:
  -----------
  configure: move malloc_trim/tcmalloc/jemalloc to meson

Because LIBS is not used anymore, tcmalloc/jemalloc does
not work with binaries whose description is in Meson.
The fix is simply to move them to Meson too.

For consistency with other configure options, specifying
--enable-malloc-trim together with --enable-{tc,je}malloc
becomes a fatal error.

Reported-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 84ec0c24357250b53fd6034f0dfe5254f0e4458b
      
https://github.com/qemu/qemu/commit/84ec0c24357250b53fd6034f0dfe5254f0e4458b
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2020-09-30 (Wed, 30 Sep 2020)

  Changed paths:
    M configure

  Log Message:
  -----------
  configure: fix --meson=/path/to/meson

Due to a cut-and-paste error, the path to a user-specified meson
was ignored and replaced by whatever was in the path.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: b4e312e953b71c8dbb9ff4ee195b6189a0bf628b
      
https://github.com/qemu/qemu/commit/b4e312e953b71c8dbb9ff4ee195b6189a0bf628b
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2020-09-30 (Wed, 30 Sep 2020)

  Changed paths:
    M configure
    M meson.build
    M meson_options.txt
    M ui/meson.build

  Log Message:
  -----------
  configure: move cocoa option to Meson

While detection of the framework was already there, moving
the option allows for better error reporting.

Reported-by: Christophe de Dinechin <dinechin@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 61f86416441a902f0244e4f26ca1a510b0273050
      
https://github.com/qemu/qemu/commit/61f86416441a902f0244e4f26ca1a510b0273050
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2020-09-30 (Wed, 30 Sep 2020)

  Changed paths:
    M configure

  Log Message:
  -----------
  configure: do not limit Hypervisor.framework test to Darwin

Because the target/i386/hvf/meson.build rule culls hvf support
on non-Darwin systems, a --enable-hvf build is succeeding.
To fix this, just try the compilation test every time someone
passes --enable-hvf.

Reported-by: Christophe de Dinechin <dinechin@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: fd5eef85fed024387d41adc4f7ca502c14ff62be
      
https://github.com/qemu/qemu/commit/fd5eef85fed024387d41adc4f7ca502c14ff62be
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2020-09-30 (Wed, 30 Sep 2020)

  Changed paths:
    M meson.build
    M tests/qtest/meson.build

  Log Message:
  -----------
  meson: qtest: set "depends" correctly

This does not have any effect on Meson's behavior itself, since "meson test"
always rebuilds everything (that is one reason why we are not using it...).
However, mtest2make can use this information to do a selective rebuild
for the requested suite.

Cc: Thomas Huth <thuth@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 48a81fd5b42e854e6c4b70cec60e023db9675e33
      
https://github.com/qemu/qemu/commit/48a81fd5b42e854e6c4b70cec60e023db9675e33
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2020-09-30 (Wed, 30 Sep 2020)

  Changed paths:
    M Makefile
    M scripts/mtest2make.py

  Log Message:
  -----------
  mtest2make: add support for introspected test dependencies

Right now all "make check" targets depend blindly on "all".  If Meson
is 0.56.0 or newer, we can use the correct dependencies using the new
"depends" entry in "meson introspect --tests".

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 05512f55aaca92505b75d8fa6818b088a5eeb07f
      
https://github.com/qemu/qemu/commit/05512f55aaca92505b75d8fa6818b088a5eeb07f
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2020-09-30 (Wed, 30 Sep 2020)

  Changed paths:
    M meson.build

  Log Message:
  -----------
  meson: report accelerator support

Note that the "real" support is reported.  A configuration like
--disable-system --enable-kvm will report "no" for "KVM support" because
no KVM-supported target is being compiled.

Reported-by: Andrew Jones <drjones@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: a4c13869f95cb45d657cc1df3803f633221d4971
      
https://github.com/qemu/qemu/commit/a4c13869f95cb45d657cc1df3803f633221d4971
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2020-09-30 (Wed, 30 Sep 2020)

  Changed paths:
    M include/qemu/osdep.h
    M os-posix.c
    M os-win32.c
    M tests/qtest/fuzz/fuzz.c
    M util/module.c
    M util/oslib-posix.c
    M util/oslib-win32.c

  Log Message:
  -----------
  oslib: do not call g_strdup from qemu_get_exec_dir

Just return the directory without requiring the caller to free it.
This also removes a bogus check for NULL in os_find_datadir and
module_load_one; g_strdup of a static variable cannot return NULL.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: ec986777accd688c1b7159778c9cc729e54a87f4
      
https://github.com/qemu/qemu/commit/ec986777accd688c1b7159778c9cc729e54a87f4
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2020-09-30 (Wed, 30 Sep 2020)

  Changed paths:
    M tests/qtest/fuzz/fuzz.c

  Log Message:
  -----------
  fuzz: use qemu_get_exec_dir

Make things consistent with how softmmu/vl.c uses os_find_datadir.
Initializing the path to the executables will also be needed for
get_relocatable_path to work.

Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Alexander Bulekov <alxndr@bu.edu>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 9386a4a7150fe11690af1897cf28c206c54cde9c
      
https://github.com/qemu/qemu/commit/9386a4a7150fe11690af1897cf28c206c54cde9c
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2020-09-30 (Wed, 30 Sep 2020)

  Changed paths:
    M meson.build
    M util/oslib-posix.c
    M util/oslib-win32.c

  Log Message:
  -----------
  oslib-posix: default exec_dir to bindir

If the exec_dir cannot be retrieved, just assume it's the installation
directory that was specified at configure time.  This makes it simpler
to reason about what the callers will do if they get back an empty
path.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: f4f5ed2cbde65acaa1bd88d00cc23fa8bf6b5ed9
      
https://github.com/qemu/qemu/commit/f4f5ed2cbde65acaa1bd88d00cc23fa8bf6b5ed9
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2020-09-30 (Wed, 30 Sep 2020)

  Changed paths:
    M include/qemu/cutils.h
    M meson.build
    M util/cutils.c

  Log Message:
  -----------
  cutils: introduce get_relocated_path

Add the function that will compute a relocated version of the
directories in CONFIG_QEMU_*DIR and CONFIG_QEMU_*PATH.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: fcb4f59c8794f0dea9f9b9d988a016ead5df9353
      
https://github.com/qemu/qemu/commit/fcb4f59c8794f0dea9f9b9d988a016ead5df9353
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2020-09-30 (Wed, 30 Sep 2020)

  Changed paths:
    M util/oslib-posix.c

  Log Message:
  -----------
  oslib-posix: relocate path to /var

Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 1b934064817e3bc7c7e6b4a4af57b9ab685093e2
      
https://github.com/qemu/qemu/commit/1b934064817e3bc7c7e6b4a4af57b9ab685093e2
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2020-09-30 (Wed, 30 Sep 2020)

  Changed paths:
    M util/module.c

  Log Message:
  -----------
  module: relocate path to modules

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 63c4db4c2e6d221cecb5aafa365934bb05724cb4
      
https://github.com/qemu/qemu/commit/63c4db4c2e6d221cecb5aafa365934bb05724cb4
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2020-09-30 (Wed, 30 Sep 2020)

  Changed paths:
    M include/net/net.h
    M net/tap.c

  Log Message:
  -----------
  net: relocate paths to helpers and scripts

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: ea1edcd7da1a375ef7ccf8aa93b72827b518ad8e
      
https://github.com/qemu/qemu/commit/ea1edcd7da1a375ef7ccf8aa93b72827b518ad8e
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2020-09-30 (Wed, 30 Sep 2020)

  Changed paths:
    M include/qemu-common.h
    M include/sysemu/sysemu.h
    M os-posix.c
    M os-win32.c
    M softmmu/vl.c
    M tests/qtest/fuzz/fuzz.c

  Log Message:
  -----------
  vl: relocate paths to data directories

As an additional advantage, the logic is now unified between
POSIX and Win32 systems.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 580e6ad6a4ebc1a039c86b7b7f0f2dcff0019091
      
https://github.com/qemu/qemu/commit/580e6ad6a4ebc1a039c86b7b7f0f2dcff0019091
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2020-09-30 (Wed, 30 Sep 2020)

  Changed paths:
    M softmmu/vl.c

  Log Message:
  -----------
  vl: relocate path to configuration file

Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: f761b41a62c8ac12f26727dddc7ae1dd3ca9802b
      
https://github.com/qemu/qemu/commit/f761b41a62c8ac12f26727dddc7ae1dd3ca9802b
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2020-09-30 (Wed, 30 Sep 2020)

  Changed paths:
    M qemu-bridge-helper.c

  Log Message:
  -----------
  qemu-bridge-helper: relocate path to default ACL

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: a9eacf8b4dd1d13f89fb735236e32dcfafef3e93
      
https://github.com/qemu/qemu/commit/a9eacf8b4dd1d13f89fb735236e32dcfafef3e93
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2020-09-30 (Wed, 30 Sep 2020)

  Changed paths:
    M qga/main.c

  Log Message:
  -----------
  qga: relocate path to default configuration and hook

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 77d910fb6aaea60381e487073845ad2152a9e1f6
      
https://github.com/qemu/qemu/commit/77d910fb6aaea60381e487073845ad2152a9e1f6
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2020-09-30 (Wed, 30 Sep 2020)

  Changed paths:
    M ui/gtk.c
    M ui/sdl2.c

  Log Message:
  -----------
  ui: relocate paths to icons and translations

Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: d17f305a2649fccdc50956b3381456a8fd318903
      
https://github.com/qemu/qemu/commit/d17f305a2649fccdc50956b3381456a8fd318903
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2020-09-30 (Wed, 30 Sep 2020)

  Changed paths:
    M configure

  Log Message:
  -----------
  configure: use a platform-neutral prefix

Now that the installation is relocatable, there is no need to compile a
Windows-format prefix into Win32 binaries.  Instead, the prefix will
only be used to compute installation-relative paths, and it can be
any string.

Drop the "Program Files" path completely: it is only usable on English
versions of Windows; therefore, using the NSIS installer to get the
"correct" path to the Program Files folder is recommended, and NSIS
works just as well with any prefix.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: b2a3b8d787efb24091fd6141bc72122690dcb1f6
      
https://github.com/qemu/qemu/commit/b2a3b8d787efb24091fd6141bc72122690dcb1f6
  Author: Philippe Mathieu-Daudé <philmd@redhat.com>
  Date:   2020-09-30 (Wed, 30 Sep 2020)

  Changed paths:
    M hw/i386/pc_q35.c

  Log Message:
  -----------
  hw/i386/q35: Remove unreachable Xen code on Q35 machine

Xen accelerator requires specific changes to a machine to be able
to use it. See for example the 'Xen PC' machine configure its PCI
bus calling pc_xen_hvm_init_pci(). There is no 'Xen Q35' machine
declared. This code was probably added while introducing the Q35
machine, based on the existing PC machine (see commit df2d8b3ed4
"Introduce q35 pc based chipset emulator"). Remove the unreachable
code to simplify this file.

Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Acked-by: Anthony PERARD <anthony.perard@citrix.com>
Message-Id: <20200722082517.18708-1-philmd@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 4174495408afdf27b6bfb32701c3fd9775e6bca3
      
https://github.com/qemu/qemu/commit/4174495408afdf27b6bfb32701c3fd9775e6bca3
  Author: Philippe Mathieu-Daudé <philmd@redhat.com>
  Date:   2020-09-30 (Wed, 30 Sep 2020)

  Changed paths:
    M accel/tcg/cputlb.c
    M exec.c
    M include/exec/memory.h
    M softmmu/memory.c

  Log Message:
  -----------
  exec: Remove MemoryRegion::global_locking field

Last uses of memory_region_clear_global_locking() have been
removed in commit 7070e085d4 ("acpi: mark PMTIMER as unlocked")
and commit 08565552f7 ("cputlb: Move NOTDIRTY handling from I/O
path to TLB path").
Remove memory_region_clear_global_locking() and the now unused
'global_locking' field in MemoryRegion.

Reported-by: Alexander Bulekov <alxndr@bu.edu>
Suggested-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-Id: <20200806150726.962-1-philmd@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: fb4176d0e89fbe2be641827f2037883d99b1e94f
      
https://github.com/qemu/qemu/commit/fb4176d0e89fbe2be641827f2037883d99b1e94f
  Author: Stefano Garzarella <sgarzare@redhat.com>
  Date:   2020-09-30 (Wed, 30 Sep 2020)

  Changed paths:
    M scripts/checkpatch.pl

  Log Message:
  -----------
  checkpatch: avoid error on cover letter files

Running checkpatch on a directory that contains a cover letter reports
this error:

    Checking /tmp/tmpbnngauy3/0000-cover-letter.patch...
    ERROR: Does not appear to be a unified-diff format patch

    total: 1 errors, 0 warnings, 0 lines checked

Let's skip cover letter as it is already done in the Linux kernel
commits 06330fc40e3f ("checkpatch: avoid NOT_UNIFIED_DIFF errors
on cover-letter.patch files") and a08ffbef4ab7 ("checkpatch: fix
ignoring cover-letter logic").

Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
Message-Id: <20200917170212.92672-1-sgarzare@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 6e01884c3694807fd39fe0aab9e5f7d5e6c06969
      
https://github.com/qemu/qemu/commit/6e01884c3694807fd39fe0aab9e5f7d5e6c06969
  Author: Anthony PERARD <anthony.perard@citrix.com>
  Date:   2020-09-30 (Wed, 30 Sep 2020)

  Changed paths:
    M pc-bios/keymaps/meson.build

  Log Message:
  -----------
  meson: fix installation of keymaps

Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>

Message-Id: <20200918130354.1879275-1-anthony.perard@citrix.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: ff9ed62b90c3cc337c9e6317d65cc9a9c84f07ce
      
https://github.com/qemu/qemu/commit/ff9ed62b90c3cc337c9e6317d65cc9a9c84f07ce
  Author: Alexander Bulekov <alxndr@bu.edu>
  Date:   2020-09-30 (Wed, 30 Sep 2020)

  Changed paths:
    M meson.build

  Log Message:
  -----------
  oss-fuzz: move linker arg to fix coverage-build

The order of the add_project_link_arguments calls impacts which
arguments are placed between --start-group and --end-group.
OSS-Fuzz coverage builds seem to just add these to CFLAGS:
-fprofile-instr-generate -fcoverage-mapping pthread -Wl,--no-as-needed
-Wl,-ldl -Wl,-lm Wno-unused-command-line-argument

The -Wl,-ldl flag that is enough to shift the fork_fuzz.ld linker-script
back into the linker group. Move the linker-script meson call before the
other calls to make sure the flag is placed correctly.

Signed-off-by: Alexander Bulekov <alxndr@bu.edu>
Message-Id: <20200909220516.614222-1-alxndr@bu.edu>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 2c243053060f7fd47b71dcb6e3b80346b89c796b
      
https://github.com/qemu/qemu/commit/2c243053060f7fd47b71dcb6e3b80346b89c796b
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2020-09-30 (Wed, 30 Sep 2020)

  Changed paths:
    M tests/tcg/Makefile.qemu
    M tests/tcg/configure.sh

  Log Message:
  -----------
  tests/tcg: reinstate or replace desired parts of rules.mak

Commit 660f79309303d696531ffb394719dfab3e0c42c0 was a bit overzealous
with respect to tests/tcg, which needed quiet-command and $(BUILD_DIR).
Reinstate quiet-command, and replace $(BUILD_DIR) with just the
current directory.

Reported-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: b057f0961b10a5b052a81047d887a95ce206e00c
      
https://github.com/qemu/qemu/commit/b057f0961b10a5b052a81047d887a95ce206e00c
  Author: Igor Mammedov <imammedo@redhat.com>
  Date:   2020-09-30 (Wed, 30 Sep 2020)

  Changed paths:
    M docs/system/deprecated.rst

  Log Message:
  -----------
  smp: drop support for deprecated (invalid topologies)

it's was deprecated since 3.1

Support for invalid topologies is removed, the user must ensure
that topologies described with -smp include all possible cpus,
i.e. (sockets * cores * threads) == maxcpus or QEMU will
exit with error.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Acked-by:
Message-Id: <20200911133202.938754-1-imammedo@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: d96aa5db4f6723222b314af86a6a92a7941e1b7c
      
https://github.com/qemu/qemu/commit/d96aa5db4f6723222b314af86a6a92a7941e1b7c
  Author: Daniel P. Berrangé <berrange@redhat.com>
  Date:   2020-09-30 (Wed, 30 Sep 2020)

  Changed paths:
    M chardev/char.c

  Log Message:
  -----------
  char: fix logging when chardev write fails

The qemu_chr_write_buffer() method sends data to the chardev backend for
writing, and then also writes to the log file. In case the chardev
backend only writes part of the data buffer, we need to make sure we
only log the same subset. qemu_chr_write_buffer() will be invoked again
later to write the rest of the buffer.

In the case the chardev backend returns an error though, no further
attempts to likely to be made to write the data. We must therefore write
the entire buffer to the log immediately.

An example where this is important is with the socket backend. This will
return -1 for all writes if no client is currently connected. We still
wish to write data to the log file when no client is present though.
This used to work because the chardev would return "len" to pretend it
had written all data when no client is connected, but this changed to
return an error in

  commit 271094474b65de1ad7aaf729938de3d9b9d0d36f
  Author: Dima Stepanov <dimastep@yandex-team.ru>
  Date: Thu May 28 12:11:18 2020 +0300

    char-socket: return -1 in case of disconnect during tcp_chr_write

and this broke the logging, resulting in all data being discarded when
no client is present.

Fixes: https://bugs.launchpad.net/qemu/+bug/1893691
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 1827c35b6bde98a0f8e4f09b03d3a6dd3bbf37a2
      
https://github.com/qemu/qemu/commit/1827c35b6bde98a0f8e4f09b03d3a6dd3bbf37a2
  Author: Eduardo Habkost <ehabkost@redhat.com>
  Date:   2020-09-30 (Wed, 30 Sep 2020)

  Changed paths:
    M include/qom/object.h

  Log Message:
  -----------
  qom: Document all function parameters in doc comments

kernel-doc requires all function parameters to be documented, so
document them all.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Message-Id: <20200910221526.10041-2-ehabkost@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 11e1c3addf12a964d785cc72153f0d2acc5f6fc9
      
https://github.com/qemu/qemu/commit/11e1c3addf12a964d785cc72153f0d2acc5f6fc9
  Author: Eduardo Habkost <ehabkost@redhat.com>
  Date:   2020-09-30 (Wed, 30 Sep 2020)

  Changed paths:
    M include/qom/object.h

  Log Message:
  -----------
  qom: Use kernel-doc private/public tags in structs

Use kernel-doc syntax for indicating private and public struct
fields.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Message-Id: <20200910221526.10041-3-ehabkost@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 78170df8274128f4f1cdbb938e8f891b227af7cb
      
https://github.com/qemu/qemu/commit/78170df8274128f4f1cdbb938e8f891b227af7cb
  Author: Eduardo Habkost <ehabkost@redhat.com>
  Date:   2020-09-30 (Wed, 30 Sep 2020)

  Changed paths:
    M include/qom/object.h

  Log Message:
  -----------
  qom: Use ``code`` Sphinx syntax where appropriate

Replace gtkdoc markup with Sphinx ``code`` syntax.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Message-Id: <20200910221526.10041-4-ehabkost@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: ed799805d00ccdda45eb8441c7d929624d9e98a6
      
https://github.com/qemu/qemu/commit/ed799805d00ccdda45eb8441c7d929624d9e98a6
  Author: Eduardo Habkost <ehabkost@redhat.com>
  Date:   2020-09-30 (Wed, 30 Sep 2020)

  Changed paths:
    M include/qom/object.h

  Log Message:
  -----------
  qom: Add kernel-doc markup to introduction doc comment

Add DOC: section keyword to introduction doc comment, so it will
be rendered by kernel-doc.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Message-Id: <20200910221526.10041-5-ehabkost@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 881444687571d8b23f308f76bef326ab860685b4
      
https://github.com/qemu/qemu/commit/881444687571d8b23f308f76bef326ab860685b4
  Author: Eduardo Habkost <ehabkost@redhat.com>
  Date:   2020-09-30 (Wed, 30 Sep 2020)

  Changed paths:
    M include/qom/object.h

  Log Message:
  -----------
  qom: Reformat section titles using Sphinx syntax

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Message-Id: <20200910221526.10041-6-ehabkost@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 9bbfd245c3db021eff9f17b446404a283c302f11
      
https://github.com/qemu/qemu/commit/9bbfd245c3db021eff9f17b446404a283c302f11
  Author: Eduardo Habkost <ehabkost@redhat.com>
  Date:   2020-09-30 (Wed, 30 Sep 2020)

  Changed paths:
    M include/qom/object.h

  Log Message:
  -----------
  qom: Indent existing code examples

This indents existing code examples that are not indented yet,
just to make future conversion to Sphinx markup easier to review.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Message-Id: <20200910221526.10041-7-ehabkost@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 6cf164c00fb3e93fa8b76372691563ec37a176ad
      
https://github.com/qemu/qemu/commit/6cf164c00fb3e93fa8b76372691563ec37a176ad
  Author: Eduardo Habkost <ehabkost@redhat.com>
  Date:   2020-09-30 (Wed, 30 Sep 2020)

  Changed paths:
    M include/qom/object.h

  Log Message:
  -----------
  qom: Add code block markup to all code blocks

Convert all example/codelisting markup to Sphinx code-block.

There are a few sections where backslashes at the end of lines
break code formatting.  A comment was added noting that this is
an issue.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Message-Id: <20200910221526.10041-8-ehabkost@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: cd442a45db60a1a72fcf980c24bd1227f13f8a87
      
https://github.com/qemu/qemu/commit/cd442a45db60a1a72fcf980c24bd1227f13f8a87
  Author: Eduardo Habkost <ehabkost@redhat.com>
  Date:   2020-09-30 (Wed, 30 Sep 2020)

  Changed paths:
    M docs/devel/index.rst
    A docs/devel/qom.rst

  Log Message:
  -----------
  docs: Create docs/devel/qom.rst

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Message-Id: <20200910221526.10041-9-ehabkost@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 9cb54b18e8b9814899adb7a58a6e561eae3b1913
      
https://github.com/qemu/qemu/commit/9cb54b18e8b9814899adb7a58a6e561eae3b1913
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2020-09-30 (Wed, 30 Sep 2020)

  Changed paths:
    M docs/devel/qom.rst
    M include/qom/object.h

  Log Message:
  -----------
  docs: Move object.h overview doc comment to qom.rst

Move the whole contents of the overview doc comment from object.h
to qom.rst.

This makes the documentation source easier to read and edit, and
also solves the backslash escaping issue at the typecasting macro
examples.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Message-Id: <20200910221526.10041-10-ehabkost@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 5650ac00d758b3bcf6840715765f8a6e5d5549a7
      
https://github.com/qemu/qemu/commit/5650ac00d758b3bcf6840715765f8a6e5d5549a7
  Author: Philippe Mathieu-Daudé <philmd@redhat.com>
  Date:   2020-09-30 (Wed, 30 Sep 2020)

  Changed paths:
    M accel/stubs/xen-stub.c
    M hw/i386/pc_piix.c
    M hw/i386/xen/xen-hvm.c
    M include/hw/xen/xen.h

  Log Message:
  -----------
  hw/i386/xen: Rename X86/PC specific function as xen_hvm_init_pc()

xen_hvm_init() is only meanful to initialize a X86/PC machine,
rename it as xen_hvm_init_pc().

Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20200908155530.249806-3-philmd@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: ce6936bc2dcb3aeb868e98cfb5a984fc35a0fabe
      
https://github.com/qemu/qemu/commit/ce6936bc2dcb3aeb868e98cfb5a984fc35a0fabe
  Author: Philippe Mathieu-Daudé <philmd@redhat.com>
  Date:   2020-09-30 (Wed, 30 Sep 2020)

  Changed paths:
    M include/sysemu/xen.h

  Log Message:
  -----------
  sysemu/xen: Add missing 'exec/cpu-common.h' header for ram_addr_t type

As this header use the ram_addr_t type, it has to include
"exec/cpu-common.h" to avoid odd errors such:

  include/sysemu/xen.h:35:44: error: unknown type name 'ram_addr_t'; did you 
mean 'in_addr_t'?
   35 | static inline void xen_hvm_modified_memory(ram_addr_t start, ram_addr_t 
length)
      |                                            ^~~~~~~~~~
      |                                            in_addr_t

Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20200908155530.249806-4-philmd@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 71f364b703119a319e6ac423c9446849d010abf3
      
https://github.com/qemu/qemu/commit/71f364b703119a319e6ac423c9446849d010abf3
  Author: Philippe Mathieu-Daudé <philmd@redhat.com>
  Date:   2020-09-30 (Wed, 30 Sep 2020)

  Changed paths:
    M MAINTAINERS
    M accel/stubs/xen-stub.c
    M stubs/meson.build
    A stubs/xen-hw-stub.c

  Log Message:
  -----------
  stubs: Split accelerator / hardware related stubs

Move hardware stubs unrelated from the accelerator to xen-hw-stub.c.

Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20200908155530.249806-5-philmd@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: c834596f7916c3ec0719c1ab341186bae17ebba0
      
https://github.com/qemu/qemu/commit/c834596f7916c3ec0719c1ab341186bae17ebba0
  Author: Philippe Mathieu-Daudé <philmd@redhat.com>
  Date:   2020-09-30 (Wed, 30 Sep 2020)

  Changed paths:
    M hw/i386/pc_piix.c
    M hw/i386/xen/xen-hvm.c
    A include/hw/xen/xen-x86.h
    M include/hw/xen/xen.h
    M stubs/xen-hw-stub.c

  Log Message:
  -----------
  hw/xen: Split x86-specific declaration from generic hardware ones

xen_hvm_init() is restricted to the X86 architecture.

Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20200908155530.249806-6-philmd@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: c8ed1cd7843c17a264dd578b3220c6398904858a
      
https://github.com/qemu/qemu/commit/c8ed1cd7843c17a264dd578b3220c6398904858a
  Author: Philippe Mathieu-Daudé <philmd@redhat.com>
  Date:   2020-09-30 (Wed, 30 Sep 2020)

  Changed paths:
    M include/hw/i386/pc.h
    M include/qemu/typedefs.h

  Log Message:
  -----------
  typedefs: Restrict PCMachineState to 'hw/i386/pc.h'

The PCMachineState type is only used under hw/i386/.
We don't need to forward-declare it for all architectures,
restrict it to the X86 one.

Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20200908155530.249806-7-philmd@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: bfac6d1933a5fd8198e622dfd19196c2cc6cf74b
      
https://github.com/qemu/qemu/commit/bfac6d1933a5fd8198e622dfd19196c2cc6cf74b
  Author: Dov Murik <dovmurik@linux.vnet.ibm.com>
  Date:   2020-09-30 (Wed, 30 Sep 2020)

  Changed paths:
    M scripts/checkpatch.pl

  Log Message:
  -----------
  checkpatch: Detect '%#' or '%0#' in printf-style format strings

According to the coding style document, we should use literal '0x' prefix
instead of printf's '#' flag (which appears as '%#' or '%0#' in the format
string).  Add a checkpatch rule to enforce that.

Note that checkpatch already had a similar rule for trace-events files.

Example usage:

  $ scripts/checkpatch.pl --file chardev/baum.c
  ...
  ERROR: Don't use '#' flag of printf format ('%#') in format strings, use '0x' 
prefix instead
  #366: FILE: chardev/baum.c:366:
  +            DPRINTF("Broken packet %#2x, tossing\n", req); \
  ...
  ERROR: Don't use '#' flag of printf format ('%#') in format strings, use '0x' 
prefix instead
  #472: FILE: chardev/baum.c:472:
  +        DPRINTF("unrecognized request %0#2x\n", req);
  ...

Signed-off-by: Dov Murik <dovmurik@linux.vnet.ibm.com>
Message-Id: <20200914172623.72955-1-dovmurik@linux.vnet.ibm.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>


  Commit: 56bf1c4985fb9ad24642f176cc40db0eb4f3dc31
      
https://github.com/qemu/qemu/commit/56bf1c4985fb9ad24642f176cc40db0eb4f3dc31
  Author: Douglas Crosher <dtc-ubuntu@scieneer.com>
  Date:   2020-09-30 (Wed, 30 Sep 2020)

  Changed paths:
    M target/i386/seg_helper.c

  Log Message:
  -----------
  helper_syscall x86_64: clear exception_is_int

The exception_is_int flag may be set on entry to helper_syscall,
e.g. after a prior interrupt that has returned, and processing
EXCP_SYSCALL as an interrupt causes it to fail so clear this flag.

Signed-off-by: Douglas Crosher <dtc-ubuntu@scieneer.com>
Message-Id: <a7dab33e-eda6-f988-52e9-f3d32db7538d@scieneer.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 6615be072dbb88d306cd1647c7c7b694682bac5e
      
https://github.com/qemu/qemu/commit/6615be072dbb88d306cd1647c7c7b694682bac5e
  Author: Vitaly Kuznetsov <vkuznets@redhat.com>
  Date:   2020-09-30 (Wed, 30 Sep 2020)

  Changed paths:
    M target/i386/kvm.c

  Log Message:
  -----------
  target/i386: Fix VM migration when interrupt based APF is enabled

VM with  interrupt based APF enabled fails to migrate:
qemu-system-x86_64: error: failed to set MSR 0x4b564d02 to 0xf3

We have two issues:
1) There is a typo in kvm_put_msrs() and we write async_pf_int_msr
to MSR_KVM_ASYNC_PF_EN (instead of MSR_KVM_ASYNC_PF_INT)

2) We restore MSR_KVM_ASYNC_PF_EN before MSR_KVM_ASYNC_PF_INT is set
and this violates the check in KVM.

Re-order MSR_KVM_ASYNC_PF_EN/MSR_KVM_ASYNC_PF_INT setting (and
kvm_get_msrs() for consistency) and fix the typo.

Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Message-Id: <20200917102316.814804-1-vkuznets@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 8700a984436e561e29903731d7db11a4b61acd76
      
https://github.com/qemu/qemu/commit/8700a984436e561e29903731d7db11a4b61acd76
  Author: Vitaly Kuznetsov <vkuznets@redhat.com>
  Date:   2020-09-30 (Wed, 30 Sep 2020)

  Changed paths:
    M hw/i386/kvm/clock.c
    M hw/i386/microvm.c
    M hw/i386/pc.c
    M hw/i386/pc_piix.c
    M hw/i386/pc_q35.c
    M include/hw/i386/pc.h
    M include/hw/kvm/clock.h
    M target/i386/kvm.c
    M target/i386/kvm_i386.h

  Log Message:
  -----------
  target/i386: always create kvmclock device

QEMU's kvmclock device is only created when KVM PV feature bits for
kvmclock (KVM_FEATURE_CLOCKSOURCE/KVM_FEATURE_CLOCKSOURCE2) are
exposed to the guest. With 'kvm=off' cpu flag the device is not
created and we don't call KVM_GET_CLOCK/KVM_SET_CLOCK upon migration.
It was reported that without these call at least Hyper-V TSC page
clocksouce (which can be enabled independently) gets broken after
migration.

Switch to creating kvmclock QEMU device unconditionally, it seems
to always make sense to call KVM_GET_CLOCK/KVM_SET_CLOCK on migration.
Use KVM_CAP_ADJUST_CLOCK check instead of CPUID feature bits.

Reported-by: Antoine Damhet <antoine.damhet@blade-group.com>
Suggested-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Message-Id: <20200922151934.899555-1-vkuznets@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: d1e2d46467b95b0327935db91241fed27a053af4
      
https://github.com/qemu/qemu/commit/d1e2d46467b95b0327935db91241fed27a053af4
  Author: Eduardo Habkost <ehabkost@redhat.com>
  Date:   2020-09-30 (Wed, 30 Sep 2020)

  Changed paths:
    M tests/qtest/bios-tables-test.c

  Log Message:
  -----------
  bios-tables-test: Remove kernel-irqchip=off option

We don't need to use kernel-irqchip=off for irq0 override if IRQ
routing is supported by the host, which is the case since 2009
(IRQ routing was added to KVM in Linux v2.6.30).

This is a more straightforward fix for Launchpad bug #1896263, as
it doesn't require increasing the complexity of the MSR code.
kernel-irqchip=off is for debugging only and there's no need to
increase the complexity of the code just to work around an issue
that was already fixed in the kernel.

Fixes: https://bugs.launchpad.net/bugs/1896263
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Message-Id: <20200922194732.2100510-1-ehabkost@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: c3dfce9afd8437d22241d2f22fd126826a8e919f
      
https://github.com/qemu/qemu/commit/c3dfce9afd8437d22241d2f22fd126826a8e919f
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2020-09-30 (Wed, 30 Sep 2020)

  Changed paths:
    M target/i386/kvm.c

  Log Message:
  -----------
  target/i386: kvm: do not use kvm_check_extension to find paravirtual 
capabilities

Paravirtualized features have been listed in KVM_GET_SUPPORTED_CPUID since
Linux 2.6.35 (commit 84478c829d0f, "KVM: x86: export paravirtual cpuid flags
in KVM_GET_SUPPORTED_CPUID", 2010-05-19).  It has been more than 10 years,
so remove the fallback code.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: d44948ccbd56cde7be989da5cc872b0c05bf6224
      
https://github.com/qemu/qemu/commit/d44948ccbd56cde7be989da5cc872b0c05bf6224
  Author: Jan Charvat <charvj10@fel.cvut.cz>
  Date:   2020-09-30 (Wed, 30 Sep 2020)

  Changed paths:
    M hw/net/can/can_sja1000.c
    M include/net/can_emu.h
    M net/can/can_socketcan.c

  Log Message:
  -----------
  net/can: Initial host SocketCan support for CAN FD.

Signed-off-by: Jan Charvat <charvj10@fel.cvut.cz>
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Reviewed-by: Vikram Garhwal <fnu.vikram@xilinx.com>
Message-Id: 
<41383d4eb3f35586c696a8e29c4dff4031a81338.1600069689.git.pisa@cmp.felk.cvut.cz>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 46b25fe08b37ea87b7c576a37c27c608f4d7621e
      
https://github.com/qemu/qemu/commit/46b25fe08b37ea87b7c576a37c27c608f4d7621e
  Author: Jan Charvat <charvj10@fel.cvut.cz>
  Date:   2020-09-30 (Wed, 30 Sep 2020)

  Changed paths:
    M hw/net/can/can_sja1000.c

  Log Message:
  -----------
  hw/net/can: sja1000 ignore CAN FD frames

Signed-off-by: Jan Charvat <charvj10@fel.cvut.cz>
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Reviewed-by: Vikram Garhwal <fnu.vikram@xilinx.com>
Message-Id: 
<48d9ebf6b64e7652851c12fe4566e06b44803372.1600069689.git.pisa@cmp.felk.cvut.cz>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: ad0c6740d1085a67f319ed1432598e3f3912a707
      
https://github.com/qemu/qemu/commit/ad0c6740d1085a67f319ed1432598e3f3912a707
  Author: Jan Charvat <charvj10@fel.cvut.cz>
  Date:   2020-09-30 (Wed, 30 Sep 2020)

  Changed paths:
    M include/net/can_emu.h
    M net/can/can_core.c

  Log Message:
  -----------
  net/can: Add can_dlc2len and can_len2dlc for CAN FD.

Signed-off-by: Jan Charvat <charvj10@fel.cvut.cz>
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Reviewed-by: Vikram Garhwal <fnu.vikram@xilinx.com>
Message-Id: 
<0a2efc6ef9c458505952ed230e49ae25cad7f324.1600069689.git.pisa@cmp.felk.cvut.cz>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 3c21c530a3ddd37bc194a68e2da7ef70672cc591
      
https://github.com/qemu/qemu/commit/3c21c530a3ddd37bc194a68e2da7ef70672cc591
  Author: Jan Charvat <charvj10@fel.cvut.cz>
  Date:   2020-09-30 (Wed, 30 Sep 2020)

  Changed paths:
    A hw/net/can/ctu_can_fd_frame.h
    A hw/net/can/ctu_can_fd_regs.h

  Log Message:
  -----------
  hw/net/can/ctucafd: Add CTU CAN FD core register definitions.

Definitions of registers and CAN FD frame message box of CTU CAN FD
IP core are generated the specification in CACTUS/IP-XACT format.

CTU CAN FD IP core repository

  https://gitlab.fel.cvut.cz/canbus/ctucanfd_ip_core

The location of the CTU CAN IP core specification within
IP core design

  spec/CTU/ip/CAN_FD_IP_Core/2.1/CAN_FD_IP_Core.2.1.xml

The header files are generated by pyXact_generator designed
by Ondrej Ille which is based on ipyxact_parser.

The specification is source of header files for driver and emulation,
documentation and VHDL registers map implementation.

Signed-off-by: Jan Charvat <charvj10@fel.cvut.cz>
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Message-Id: 
<97ae620f724bf1d76f127aaf628f7aec3af0a11c.1600069689.git.pisa@cmp.felk.cvut.cz>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: aa406e8b7ecde584dd75fc545c41d28db7fd1082
      
https://github.com/qemu/qemu/commit/aa406e8b7ecde584dd75fc545c41d28db7fd1082
  Author: Jan Charvat <charvj10@fel.cvut.cz>
  Date:   2020-09-30 (Wed, 30 Sep 2020)

  Changed paths:
    M hw/net/Kconfig
    A hw/net/can/ctucan_core.c
    A hw/net/can/ctucan_core.h
    A hw/net/can/ctucan_pci.c
    M hw/net/can/meson.build

  Log Message:
  -----------
  hw/net/can: CTU CAN FD IP open hardware core emulation.

The implementation of the model of complete open-source/design/hardware
CAN FD controller. The IP core project has been started and is maintained
by Ondrej Ille at Czech Technical University in Prague.

CTU CAN FD project pages:
        https://gitlab.fel.cvut.cz/canbus/ctucanfd_ip_core

CAN bus CTU FEE Projects Listing page:
        http://canbus.pages.fel.cvut.cz/

The core is mapped to PCIe card same as on one of its real hardware
adaptations. The device implementing two CTU CAN FD ip cores
is instantiated after CAN bus definition

        -object can-bus,id=canbus0-bus

by QEMU parameters

        -device ctucan_pci,canbus0=canbus0-bus,canbus1=canbus0-bus

Signed-off-by: Jan Charvat <charvj10@fel.cvut.cz>
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Message-Id: 
<23e3ca4dcb2cc9900991016910a6cab7686c0e31.1600069689.git.pisa@cmp.felk.cvut.cz>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: de4d4adb5875482756396f24b959b03fe3ce8575
      
https://github.com/qemu/qemu/commit/de4d4adb5875482756396f24b959b03fe3ce8575
  Author: Pavel Pisa <pisa@cmp.felk.cvut.cz>
  Date:   2020-09-30 (Wed, 30 Sep 2020)

  Changed paths:
    M MAINTAINERS
    M docs/can.txt

  Log Message:
  -----------
  hw/net/can: Documentation for CTU CAN FD IP open hardware core emulation.

Updated MAINTAINERS for CAN bus related emulation as well.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Message-Id: 
<6d1b8db69efc4e5cfad702d2150e1960e8f63572.1600069689.git.pisa@cmp.felk.cvut.cz>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 37aeb7a28ddbf52dd25dd53ae1b8391bc2287858
      
https://github.com/qemu/qemu/commit/37aeb7a28ddbf52dd25dd53ae1b8391bc2287858
  Author: Pavel Pisa <pisa@cmp.felk.cvut.cz>
  Date:   2020-09-30 (Wed, 30 Sep 2020)

  Changed paths:
    M hw/net/Kconfig

  Log Message:
  -----------
  hw/net/can: Correct Kconfig dependencies

The original CAN_PCI config option enables multiple SJA1000 PCI boards
emulation build. These boards bridge SJA1000 into I/O or memory
address space of the host CPU and depend on SJA1000 emulation.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Message-Id: 
<dd332de687bfe52bbec37f5de1d861fb8e620d74.1600069689.git.pisa@cmp.felk.cvut.cz>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 37a712a0f969ca2df7f01182409a6c4825cebfb5
      
https://github.com/qemu/qemu/commit/37a712a0f969ca2df7f01182409a6c4825cebfb5
  Author: Peter Maydell <peter.maydell@linaro.org>
  Date:   2020-10-01 (Thu, 01 Oct 2020)

  Changed paths:
    M MAINTAINERS
    M Makefile
    M accel/stubs/xen-stub.c
    M accel/tcg/cputlb.c
    M chardev/char.c
    M configure
    M docs/can.txt
    M docs/devel/build-system.rst
    M docs/devel/index.rst
    A docs/devel/qom.rst
    M docs/system/deprecated.rst
    M exec.c
    M hw/char/serial-isa.c
    M hw/char/serial-pci.c
    M hw/char/serial.c
    M hw/char/trace-events
    M hw/core/machine.c
    M hw/core/numa.c
    M hw/i386/acpi-build.c
    M hw/i386/kvm/clock.c
    M hw/i386/microvm.c
    M hw/i386/pc.c
    M hw/i386/pc_piix.c
    M hw/i386/pc_q35.c
    M hw/i386/xen/xen-hvm.c
    M hw/mips/mipssim.c
    M hw/net/Kconfig
    M hw/net/can/can_sja1000.c
    A hw/net/can/ctu_can_fd_frame.h
    A hw/net/can/ctu_can_fd_regs.h
    A hw/net/can/ctucan_core.c
    A hw/net/can/ctucan_core.h
    A hw/net/can/ctucan_pci.c
    M hw/net/can/meson.build
    M hw/ppc/spapr.c
    M hw/scsi/megasas.c
    M hw/scsi/scsi-generic.c
    M hw/scsi/vhost-scsi-common.c
    M include/exec/memory.h
    M include/hw/boards.h
    M include/hw/char/serial.h
    M include/hw/i386/pc.h
    M include/hw/kvm/clock.h
    M include/hw/virtio/vhost-scsi-common.h
    A include/hw/xen/xen-x86.h
    M include/hw/xen/xen.h
    M include/net/can_emu.h
    M include/net/net.h
    M include/qemu-common.h
    M include/qemu/cutils.h
    M include/qemu/osdep.h
    M include/qemu/typedefs.h
    M include/qom/object.h
    M include/scsi/constants.h
    M include/sysemu/numa.h
    M include/sysemu/sysemu.h
    M include/sysemu/xen.h
    M meson.build
    M meson_options.txt
    M net/can/can_core.c
    M net/can/can_socketcan.c
    M net/tap.c
    M os-posix.c
    M os-win32.c
    M pc-bios/keymaps/meson.build
    M qemu-bridge-helper.c
    M qga/main.c
    M qga/meson.build
    M scripts/checkpatch.pl
    M scripts/mtest2make.py
    M scripts/ninjatool.py
    M softmmu/memory.c
    M softmmu/vl.c
    M stubs/meson.build
    A stubs/xen-hw-stub.c
    M target/i386/cpu.c
    M target/i386/cpu.h
    M target/i386/kvm.c
    M target/i386/kvm_i386.h
    M target/i386/machine.c
    M target/i386/seg_helper.c
    M target/i386/whp-dispatch.h
    M target/i386/whpx-all.c
    M tests/fp/meson.build
    M tests/meson.build
    M tests/qemu-iotests/meson.build
    M tests/qtest/bios-tables-test.c
    M tests/qtest/fuzz/fuzz.c
    M tests/qtest/meson.build
    M tests/tcg/Makefile.qemu
    M tests/tcg/configure.sh
    M trace/meson.build
    M ui/gtk.c
    M ui/meson.build
    M ui/sdl2.c
    M ui/shader/meson.build
    M util/cutils.c
    M util/module.c
    M util/oslib-posix.c
    M util/oslib-win32.c

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/bonzini-gitlab/tags/for-upstream' into 
staging

* SCSI fix (Dmitry, Li Feng, Li Qiang)
* memory API fixes (Eduardo)
* removal of deprecated '-numa node', 'cpu-add', '-smp' (Igor)
* ACPI fix for VMBus (Jon)
* relocatable install (myself)
* always remove docker containers (myself)
* serial cleanups (Philippe)
* vmware cpuid leaf for tsc and apic frequency (Sunil)
* KVM_FEATURE_ASYNC_PF_INT support (Vitaly)
* i386 XSAVE bugfix (Xiaoyao)
* QOM developer documentation in docs/devel (Eduardo)
* new checkpatch tests (Dov)
* x86_64 syscall fix (Douglas)
* interrupt-based APF fix (Vitaly)
* always create kvmclock (Vitaly)
* fix bios-tables-test (Eduardo)
* KVM PV features cleanup (myself)
* CAN FD (Pavel)

meson:
* fixes (Marc-André, Max, Stefan, Alexander, myself)
* moved libmpathpersist, cocoa, malloc tests (myself)
* support for 0.56 introspected test dependencies (myself)

# gpg: Signature made Wed 30 Sep 2020 18:11:45 BST
# gpg:                using RSA key F13338574B662389866C7682BFFBD25F78C7AE83
# gpg:                issuer "pbonzini@redhat.com"
# gpg: Good signature from "Paolo Bonzini <bonzini@gnu.org>" [full]
# gpg:                 aka "Paolo Bonzini <pbonzini@redhat.com>" [full]
# Primary key fingerprint: 46F5 9FBD 57D6 12E7 BFD4  E2F7 7E15 100C CD36 69B1
#      Subkey fingerprint: F133 3857 4B66 2389 866C  7682 BFFB D25F 78C7 AE83

* remotes/bonzini-gitlab/tags/for-upstream: (86 commits)
  hw/net/can: Correct Kconfig dependencies
  hw/net/can: Documentation for CTU CAN FD IP open hardware core emulation.
  hw/net/can: CTU CAN FD IP open hardware core emulation.
  hw/net/can/ctucafd: Add CTU CAN FD core register definitions.
  net/can: Add can_dlc2len and can_len2dlc for CAN FD.
  hw/net/can: sja1000 ignore CAN FD frames
  net/can: Initial host SocketCan support for CAN FD.
  target/i386: kvm: do not use kvm_check_extension to find paravirtual 
capabilities
  bios-tables-test: Remove kernel-irqchip=off option
  target/i386: always create kvmclock device
  target/i386: Fix VM migration when interrupt based APF is enabled
  helper_syscall x86_64: clear exception_is_int
  checkpatch: Detect '%#' or '%0#' in printf-style format strings
  typedefs: Restrict PCMachineState to 'hw/i386/pc.h'
  hw/xen: Split x86-specific declaration from generic hardware ones
  stubs: Split accelerator / hardware related stubs
  sysemu/xen: Add missing 'exec/cpu-common.h' header for ram_addr_t type
  hw/i386/xen: Rename X86/PC specific function as xen_hvm_init_pc()
  docs: Move object.h overview doc comment to qom.rst
  docs: Create docs/devel/qom.rst
  ...

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>


Compare: https://github.com/qemu/qemu/compare/cbba3dc6ea3f...37a712a0f969



reply via email to

[Prev in Thread] Current Thread [Next in Thread]