mbox series

[00/36] Patch Round-up for stable 3.1.1, freeze on 2019-07-29

Message ID 20190723170104.4327-1-mdroth@linux.vnet.ibm.com
Headers show
Series Patch Round-up for stable 3.1.1, freeze on 2019-07-29 | expand

Message

Michael Roth July 23, 2019, 5 p.m. UTC
Hi everyone,                                                                                              

The following new patches are queued for QEMU stable v3.1.1:

  https://github.com/mdroth/qemu/commits/stable-3.1-staging

The release is planned for 2019-08-01:

  https://wiki.qemu.org/Planning/3.1

Please respond here or CC qemu-stable@nongnu.org on any patches you
think should be included in the release.

Note that this update falls outside the normal stable release support
window (~1 development cycle), but is being released now since it was
delayed from its intended release date.

Thanks!

Comments

Aleksandar Markovic July 23, 2019, 5:12 p.m. UTC | #1
On Tue, Jul 23, 2019 at 7:04 PM Michael Roth <mdroth@linux.vnet.ibm.com>
wrote:

> Hi everyone,
>
>
> The following new patches are queued for QEMU stable v3.1.1:
>
>   https://github.com/mdroth/qemu/commits/stable-3.1-staging
>
>
Hello, Michael.

There is usually a breakdown by modified files within a cover letter.

Why is it not present here?

Sincerely,
Aleksandar



> The release is planned for 2019-08-01:
>
>   https://wiki.qemu.org/Planning/3.1
>
> Please respond here or CC qemu-stable@nongnu.org on any patches you
> think should be included in the release.
>
> Note that this update falls outside the normal stable release support
> window (~1 development cycle), but is being released now since it was
> delayed from its intended release date.
>
> Thanks!
>
>
>
>
Michael Roth July 23, 2019, 6:50 p.m. UTC | #2
Quoting Michael Roth (2019-07-23 12:00:28)
> Hi everyone,                                                                                              
> 
> The following new patches are queued for QEMU stable v3.1.1:
> 
>   https://github.com/mdroth/qemu/commits/stable-3.1-staging
> 
> The release is planned for 2019-08-01:
> 
>   https://wiki.qemu.org/Planning/3.1
> 
> Please respond here or CC qemu-stable@nongnu.org on any patches you
> think should be included in the release.
> 
> Note that this update falls outside the normal stable release support
> window (~1 development cycle), but is being released now since it was
> delayed from its intended release date.
> 
> Thanks!
> 

Forgot to include the usual patch list:

----------------------------------------------------------------
BALATON Zoltan (1):
      i2c: Move typedef of bitbang_i2c_interface to i2c.h

Christian Borntraeger (2):
      iotests: make 235 work on s390 (and others)
      s390x/cpumodel: ignore csske for expansion

Christophe Fergeau (1):
      json: Fix % handling when not interpolating

Corey Minyard (1):
      pc:piix4: Update smbus I/O space after a migration

Cornelia Huck (1):
      vfio-ap: flag as compatible with balloon

Dan Streetman (1):
      do not call vhost_net_cleanup() on running net from char user event

Daniel Henrique Barboza (1):
      qga: update docs with systemd suspend support info

Daniel P. Berrangé (1):
      qemu-img: fix error reporting for -object

Eric Blake (1):
      cutils: Fix size_to_str() on 32-bit platforms

Gerd Hoffmann (1):
      usb-mtp: use O_NOFOLLOW and O_CLOEXEC.

Janosch Frank (1):
      s390x: Return specification exception for unimplemented diag 308 subcodes

Kevin Wolf (3):
      block: Fix invalidate_cache error path for parent activation
      qcow2: Avoid COW during metadata preallocation
      block: Fix AioContext switch for bs->drv == NULL

Li Hangjing (1):
      vhost: fix vhost_log size overflow during migration

Liam Merwick (1):
      tpm_tis: fix loop that cancels any seizure by a lower locality

Marcel Apfelbaum (1):
      hw/rdma: another clang compilation fix

Mark Cave-Ayland (2):
      mac_oldworld: use node name instead of alias name for hd device in FWPathProvider
      mac_newworld: use node name instead of alias name for hd device in FWPathProvider

Max Reitz (3):
      iotests: Filter second BLOCK_JOB_ERROR from 229
      block/file-posix: Unaligned O_DIRECT block-status
      iotests: Test unaligned raw images with O_DIRECT

Michael Roth (1):
      qga-win: include glib when building VSS DLL

Paolo Bonzini (1):
      i386: remove the 'INTEL_PT' CPUID bit from named CPU models

Paul A. Clarke (1):
      Changes requirement for "vsubsbs" instruction

Peter Lieven (1):
      megasas: fix mapped frame size

Peter Maydell (2):
      linux-user: make pwrite64/pread64(fd, NULL, 0, offset) return 0
      exec.c: Don't reallocate IOMMUNotifiers that are in use

Robert Hoo (1):
      i386: remove the new CPUID 'PCONFIG' from Icelake-Server CPU model

Stefan Berger (2):
      tpm: Make sure new locality passed to tpm_tis_prep_abort() is valid
      tpm: Make sure the locality received from backend is valid

Thomas Huth (1):
      hw/s390x: Fix bad mask in time2tod()

Thomas Petazzoni (1):
      configure: improve usbfs check

William Bowling (1):
      slirp: check sscanf result when emulating ident

Zheng Xiang (1):
      pcie: set link state inactive/active after hot unplug/plug

 block.c                            | 13 +++----------
 block/file-posix.c                 | 16 ++++++++++++++++
 block/qcow2.c                      |  3 ++-
 configure                          | 19 +++++++++++++++++--
 exec.c                             | 10 ++++++----
 hw/acpi/piix4.c                    |  1 +
 hw/i2c/bitbang_i2c.h               |  2 --
 hw/pci/pcie.c                      | 12 ++++++++++++
 hw/ppc/mac_newworld.c              |  4 ++--
 hw/ppc/mac_oldworld.c              |  4 ++--
 hw/rdma/rdma_rm_defs.h             |  4 ++--
 hw/scsi/megasas.c                  |  2 +-
 hw/tpm/tpm_tis.c                   |  8 ++++++--
 hw/usb/dev-mtp.c                   | 13 +++++++++----
 hw/vfio/ap.c                       |  8 ++++++++
 hw/virtio/vhost.c                  | 10 ++++++++++
 include/hw/i2c/i2c.h               |  2 ++
 include/hw/i2c/ppc4xx_i2c.h        |  3 ---
 include/hw/s390x/tod.h             |  2 +-
 linux-user/syscall.c               | 22 ++++++++++++++++++----
 net/vhost-user.c                   |  1 -
 qemu-img.c                         | 26 +++++++++++++-------------
 qga/qapi-schema.json               | 25 ++++++++++++++-----------
 qga/vss-win32/Makefile.objs        |  2 +-
 qobject/json-parser.c              | 10 ++++++----
 slirp/tcp_subr.c                   | 10 +++++-----
 target/i386/cpu.c                  | 11 ++++-------
 target/ppc/translate/vmx-ops.inc.c |  2 +-
 target/s390x/cpu_models.c          |  2 ++
 target/s390x/diag.c                |  2 +-
 tests/check-qjson.c                |  5 +++++
 tests/qemu-iotests/221             |  4 ++++
 tests/qemu-iotests/229             |  6 +++++-
 tests/qemu-iotests/229.out         |  1 -
 tests/qemu-iotests/235             |  4 +++-
 tests/qemu-iotests/253             | 84 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 tests/qemu-iotests/253.out         | 14 ++++++++++++++
 tests/qemu-iotests/group           |  1 +
 util/cutils.c                      |  2 +-
 39 files changed, 282 insertions(+), 88 deletions(-)
 create mode 100755 tests/qemu-iotests/253
 create mode 100644 tests/qemu-iotests/253.out
Michael Roth July 23, 2019, 6:52 p.m. UTC | #3
Quoting Aleksandar Markovic (2019-07-23 12:12:27)
> On Tue, Jul 23, 2019 at 7:04 PM Michael Roth <mdroth@linux.vnet.ibm.com>
> wrote:
> 
> > Hi everyone,
> >
> >
> > The following new patches are queued for QEMU stable v3.1.1:
> >
> >   https://github.com/mdroth/qemu/commits/stable-3.1-staging
> >
> >
> Hello, Michael.
> 
> There is usually a breakdown by modified files within a cover letter.
> 
> Why is it not present here?

Sorry meant to include it before hitting send. I've just sent it as a reply.

> 
> Sincerely,
> Aleksandar
> 
> 
> 
> > The release is planned for 2019-08-01:
> >
> >   https://wiki.qemu.org/Planning/3.1
> >
> > Please respond here or CC qemu-stable@nongnu.org on any patches you
> > think should be included in the release.
> >
> > Note that this update falls outside the normal stable release support
> > window (~1 development cycle), but is being released now since it was
> > delayed from its intended release date.
> >
> > Thanks!
> >
> >
> >
> >
>
Philippe Mathieu-Daudé July 24, 2019, 1:21 p.m. UTC | #4
Hi Michael,

On 7/23/19 8:50 PM, Michael Roth wrote:
> Quoting Michael Roth (2019-07-23 12:00:28)
>> Hi everyone,                                                                                              
>>
>> The following new patches are queued for QEMU stable v3.1.1:
>>
>>   https://github.com/mdroth/qemu/commits/stable-3.1-staging
>>
>> The release is planned for 2019-08-01:
>>
>>   https://wiki.qemu.org/Planning/3.1
>>
>> Please respond here or CC qemu-stable@nongnu.org on any patches you
>> think should be included in the release.
>>
>> Note that this update falls outside the normal stable release support
>> window (~1 development cycle), but is being released now since it was
>> delayed from its intended release date.
>>
> ----------------------------------------------------------------
> BALATON Zoltan (1):
>       i2c: Move typedef of bitbang_i2c_interface to i2c.h
> 
> Christian Borntraeger (2):
>       iotests: make 235 work on s390 (and others)
>       s390x/cpumodel: ignore csske for expansion
> 
> Christophe Fergeau (1):
>       json: Fix % handling when not interpolating
> 
> Corey Minyard (1):
>       pc:piix4: Update smbus I/O space after a migration
> 
> Cornelia Huck (1):
>       vfio-ap: flag as compatible with balloon
> 
> Dan Streetman (1):
>       do not call vhost_net_cleanup() on running net from char user event
> 
> Daniel Henrique Barboza (1):
>       qga: update docs with systemd suspend support info
> 
> Daniel P. Berrangé (1):
>       qemu-img: fix error reporting for -object
> 
> Eric Blake (1):
>       cutils: Fix size_to_str() on 32-bit platforms
> 
> Gerd Hoffmann (1):
>       usb-mtp: use O_NOFOLLOW and O_CLOEXEC.
> 
> Janosch Frank (1):
>       s390x: Return specification exception for unimplemented diag 308 subcodes
> 
> Kevin Wolf (3):
>       block: Fix invalidate_cache error path for parent activation
>       qcow2: Avoid COW during metadata preallocation
>       block: Fix AioContext switch for bs->drv == NULL
> 
> Li Hangjing (1):
>       vhost: fix vhost_log size overflow during migration
> 
> Liam Merwick (1):
>       tpm_tis: fix loop that cancels any seizure by a lower locality
> 
> Marcel Apfelbaum (1):
>       hw/rdma: another clang compilation fix
> 
> Mark Cave-Ayland (2):
>       mac_oldworld: use node name instead of alias name for hd device in FWPathProvider
>       mac_newworld: use node name instead of alias name for hd device in FWPathProvider
> 
> Max Reitz (3):
>       iotests: Filter second BLOCK_JOB_ERROR from 229
>       block/file-posix: Unaligned O_DIRECT block-status
>       iotests: Test unaligned raw images with O_DIRECT
> 
> Michael Roth (1):
>       qga-win: include glib when building VSS DLL
> 
> Paolo Bonzini (1):
>       i386: remove the 'INTEL_PT' CPUID bit from named CPU models
> 
> Paul A. Clarke (1):
>       Changes requirement for "vsubsbs" instruction
> 
> Peter Lieven (1):
>       megasas: fix mapped frame size
> 
> Peter Maydell (2):
>       linux-user: make pwrite64/pread64(fd, NULL, 0, offset) return 0
>       exec.c: Don't reallocate IOMMUNotifiers that are in use
> 
> Robert Hoo (1):
>       i386: remove the new CPUID 'PCONFIG' from Icelake-Server CPU model
> 
> Stefan Berger (2):
>       tpm: Make sure new locality passed to tpm_tis_prep_abort() is valid
>       tpm: Make sure the locality received from backend is valid
> 
> Thomas Huth (1):
>       hw/s390x: Fix bad mask in time2tod()
> 
> Thomas Petazzoni (1):
>       configure: improve usbfs check
> 
> William Bowling (1):
>       slirp: check sscanf result when emulating ident
> 
> Zheng Xiang (1):
>       pcie: set link state inactive/active after hot unplug/plug

I have noted these too:

44c64e9095 target/m68k: Fix a tcg_temp leak
526668c734 hw/ssi/xilinx_spips: Avoid out-of-bound access to lqspi_buf[]
c0bccee9b4 hw/ssi/mss-spi: Avoid crash when reading empty RX FIFO
a09ef50404 hw/display/xlnx_dp: Avoid crash when reading empty RX FIFO
3a283507c0 hw/block/pflash_cfi01: Add missing DeviceReset() handler
Cole Robinson July 24, 2019, 5:07 p.m. UTC | #5
On 7/23/19 1:00 PM, Michael Roth wrote:
> Hi everyone,                                                                                              
> 
> The following new patches are queued for QEMU stable v3.1.1:
> 
>   https://github.com/mdroth/qemu/commits/stable-3.1-staging
> 
> The release is planned for 2019-08-01:
> 
>   https://wiki.qemu.org/Planning/3.1
> 
> Please respond here or CC qemu-stable@nongnu.org on any patches you
> think should be included in the release.
> 
> Note that this update falls outside the normal stable release support
> window (~1 development cycle), but is being released now since it was
> delayed from its intended release date.
> 

Here's some extra patches we are carrying in Fedora 30

Thanks,
Cole

commit e014dbe74e0484188164c61ff6843f8a04a8cb9d
Author: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
Date:   Tue Mar 5 16:46:33 2019 +0100

    gluster: Handle changed glfs_ftruncate signature

commit 0e3b891fefacc0e49f3c8ffa3a753b69eb7214d2
Author: Niels de Vos <ndevos@redhat.com>
Date:   Tue Mar 5 16:46:34 2019 +0100

    gluster: the glfs_io_cbk callback function pointer adds pre/post
stat args

commit cce648613bc802be1b894227f7fd94d88476ea07
Author: Prasad J Pandit <pjp@fedoraproject.org>
Date:   Wed Dec 12 23:28:17 2018 +0530

    pvrdma: release device resources in case of an error

commit 2aa86456fb938a11f2b7bd57c8643c213218681c
Author: Prasad J Pandit <pjp@fedoraproject.org>
Date:   Thu Dec 13 01:00:35 2018 +0530

    pvrdma: add uar_read routine

commit e909ff93698851777faac3c45d03c1b73f311ea6
Author: Paolo Bonzini <pbonzini@redhat.com>
Date:   Fri Jan 11 17:27:31 2019 +0100

    scsi-generic: avoid possible out-of-bounds access to r->buf

commit a7104eda7dab99d0cdbd3595c211864cba415905
Author: Prasad J Pandit <pjp@fedoraproject.org>
Date:   Sun Jan 13 23:29:48 2019 +0530

    slirp: check data length while emulating ident function

commit b05b267840515730dbf6753495d5b7bd8b04ad1c
Author: Gerd Hoffmann <kraxel@redhat.com>
Date:   Tue Jan 8 11:23:01 2019 +0100

    i2c-ddc: fix oob read

commit 9a1565a03b79d80b236bc7cc2dbce52a2ef3a1b8
Author: Daniel P. Berrangé <berrange@redhat.com>
Date:   Wed Mar 13 09:49:03 2019 +0000

    seccomp: don't kill process for resource control syscalls

commit d52680fc932efb8a2f334cc6993e705ed1e31e99
Author: Prasad J Pandit <pjp@fedoraproject.org>
Date:   Thu Apr 25 12:05:34 2019 +0530

    qxl: check release info object

commit ad280559c68360c9f1cd7be063857853759e6a73
Author: Prasad J Pandit <pjp@fedoraproject.org>
Date:   Fri Jan 4 15:19:10 2019 +0530

    sun4u: add power_mem_read routine

commit da885fe1ee8b4589047484bd7fa05a4905b52b17
Author: Peter Maydell <peter.maydell@linaro.org>
Date:   Fri Dec 14 13:30:52 2018 +0000

    device_tree.c: Don't use load_image()

commit 065e6298a75164b4347682b63381dbe752c2b156
Author: Markus Armbruster <armbru@redhat.com>
Date:   Tue Apr 9 19:40:18 2019 +0200

    device_tree: Fix integer overflowing in load_device_tree()
Bruce Rogers July 29, 2019, 8:13 p.m. UTC | #6
On Tue, 2019-07-23 at 12:00 -0500, Michael Roth wrote:
> Hi
> everyone,                                                            
>                                   
> 
> The following new patches are queued for QEMU stable v3.1.1:
> 
>   https://github.com/mdroth/qemu/commits/stable-3.1-staging
> 
> The release is planned for 2019-08-01:
> 
>   https://wiki.qemu.org/Planning/3.1
> 
> Please respond here or CC qemu-stable@nongnu.org on any patches you
> think should be included in the release.
> 
> Note that this update falls outside the normal stable release support
> window (~1 development cycle), but is being released now since it was
> delayed from its intended release date.
> 
> Thanks!
> 
> 

Beyond what has already been suggested, here are some patches we've
added to our v3.1.0 based QEMU releases:

commit 2c858ce5da8ae6689c75182b73bc455a291cad41
Author: Prasad J Pandit <pjp@fedoraproject.org>
Date:   Thu Dec 13 01:00:36 2018 +0530

    pvrdma: check number of pages when creating rings


commit f1e2e38ee0136b7710a2caa347049818afd57a1b
Author: Prasad J Pandit <pjp@fedoraproject.org>
Date:   Thu Dec 13 01:00:39 2018 +0530

    pvrdma: check return value from pvrdma_idx_ring_has_ routines


commit 509f57c98e7536905bb4902363d0cba66ce7e089
Author: Prasad J Pandit <pjp@fedoraproject.org>
Date:   Thu Dec 13 01:00:37 2018 +0530

    pvrdma: release ring object in case of an error


commit 4720cbeea1f42fd905fc69338fd42b191e58b412
Author: Kevin Wolf <kwolf@redhat.com>
Date:   Mon Jan 7 13:02:48 2019 +0100

    block: Fix hangs in synchronous APIs with iothreads


commit 6f5d8671225dc77190647f18a27a0d156d4ca97a
Author: Prasad J Pandit <pjp@fedoraproject.org>
Date:   Tue Jul 23 16:17:52 2019 +0530

    qemu-bridge-helper: restrict interface name to IFNAMSIZ


Thanks,

Bruce
Philippe Mathieu-Daudé Aug. 2, 2019, 5:54 p.m. UTC | #7
On 7/23/19 8:50 PM, Michael Roth wrote:
> Quoting Michael Roth (2019-07-23 12:00:28)
>> Hi everyone,                                                                                              
>>
>> The following new patches are queued for QEMU stable v3.1.1:
>>
>>   https://github.com/mdroth/qemu/commits/stable-3.1-staging
>>
>> The release is planned for 2019-08-01:
>>
>>   https://wiki.qemu.org/Planning/3.1
>>
>> Please respond here or CC qemu-stable@nongnu.org on any patches you
>> think should be included in the release.
>>
>> Note that this update falls outside the normal stable release support
>> window (~1 development cycle), but is being released now since it was
>> delayed from its intended release date.
>>
>> Thanks!
>>
> 
> Forgot to include the usual patch list:
> 
> ----------------------------------------------------------------
> BALATON Zoltan (1):
>       i2c: Move typedef of bitbang_i2c_interface to i2c.h
> 
> Christian Borntraeger (2):
>       iotests: make 235 work on s390 (and others)
>       s390x/cpumodel: ignore csske for expansion
> 
> Christophe Fergeau (1):
>       json: Fix % handling when not interpolating
> 
> Corey Minyard (1):
>       pc:piix4: Update smbus I/O space after a migration
> 
> Cornelia Huck (1):
>       vfio-ap: flag as compatible with balloon
> 
> Dan Streetman (1):
>       do not call vhost_net_cleanup() on running net from char user event
> 
> Daniel Henrique Barboza (1):
>       qga: update docs with systemd suspend support info
> 
> Daniel P. Berrangé (1):
>       qemu-img: fix error reporting for -object
> 
> Eric Blake (1):
>       cutils: Fix size_to_str() on 32-bit platforms
> 
> Gerd Hoffmann (1):
>       usb-mtp: use O_NOFOLLOW and O_CLOEXEC.
> 
> Janosch Frank (1):
>       s390x: Return specification exception for unimplemented diag 308 subcodes
> 
> Kevin Wolf (3):
>       block: Fix invalidate_cache error path for parent activation
>       qcow2: Avoid COW during metadata preallocation
>       block: Fix AioContext switch for bs->drv == NULL
> 
> Li Hangjing (1):
>       vhost: fix vhost_log size overflow during migration
> 
> Liam Merwick (1):
>       tpm_tis: fix loop that cancels any seizure by a lower locality
> 
> Marcel Apfelbaum (1):
>       hw/rdma: another clang compilation fix
> 
> Mark Cave-Ayland (2):
>       mac_oldworld: use node name instead of alias name for hd device in FWPathProvider
>       mac_newworld: use node name instead of alias name for hd device in FWPathProvider
> 
> Max Reitz (3):
>       iotests: Filter second BLOCK_JOB_ERROR from 229
>       block/file-posix: Unaligned O_DIRECT block-status
>       iotests: Test unaligned raw images with O_DIRECT
> 
> Michael Roth (1):
>       qga-win: include glib when building VSS DLL
> 
> Paolo Bonzini (1):
>       i386: remove the 'INTEL_PT' CPUID bit from named CPU models
> 
> Paul A. Clarke (1):
>       Changes requirement for "vsubsbs" instruction
> 
> Peter Lieven (1):
>       megasas: fix mapped frame size
> 
> Peter Maydell (2):
>       linux-user: make pwrite64/pread64(fd, NULL, 0, offset) return 0
>       exec.c: Don't reallocate IOMMUNotifiers that are in use
> 
> Robert Hoo (1):
>       i386: remove the new CPUID 'PCONFIG' from Icelake-Server CPU model
> 
> Stefan Berger (2):
>       tpm: Make sure new locality passed to tpm_tis_prep_abort() is valid
>       tpm: Make sure the locality received from backend is valid
> 
> Thomas Huth (1):
>       hw/s390x: Fix bad mask in time2tod()
> 
> Thomas Petazzoni (1):
>       configure: improve usbfs check
> 
> William Bowling (1):
>       slirp: check sscanf result when emulating ident
> 
> Zheng Xiang (1):
>       pcie: set link state inactive/active after hot unplug/plug

I am having a spice build failure fixed by this commit:

commit be812c0ab7d5ab741d0d87387a75a0e8bb6461e7
Author: Lukáš Hrázký <lhrazky@redhat.com>
Date:   Fri Feb 15 16:09:19 2019 +0100

 spice: set device address and device display ID in QXL interface

 Calls the new SPICE QXL interface function spice_qxl_set_device_info to
 set the hardware address of the graphics device represented by the QXL
 interface (e.g. a PCI path) and the device display IDs (the IDs of the
 device's monitors that belong to this QXL interface).

 Also stops using the deprecated spice_qxl_set_max_monitors, the new
 interface function replaces it.