Skip to content

Patch Round-up for stable 2.11.1, freeze on 2018-02-12

Michael Roth qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest54 patches 10 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/54target/i386: Fix handling of VEX prefixestarget/i386/translate.c+1 -10 replies
2/54block/iscsi: dont leave allocmap in an invalid state on UNMAP failureblock/iscsi.c+4 -40 replies
3/54target/sh4: fix TCG leak during gusa sequencetarget/sh4/translate.c+1 -10 replies
4/54qemu-options: Remove stray colons from output of --helpqemu-options-wrapper.h qemu-options.hx scripts/hxtool+17 -150 replies
5/54qemu-pr-helper: miscellaneous fixesinclude/scsi/utils.h scsi/qemu-pr-helper.c scsi/utils.c+41 -50 replies
6/54block/nbd: fix segmentation fault when .desc is not null-terminatedblock/nbd.c+1 -00 replies
7/54block: Make bdrv_drain_invoke() recursiveblock/io.c+11 -30 replies
8/54block: Call .drain_begin only once in bdrv_drain_all_begin()block/io.c+1 -20 replies
9/54block: Open backing image in force share mode for size probeblock.c+2 -10 replies
10/54vfio: Fix vfio-kvm group registrationhw/vfio/common.c+1 -00 replies
11/54hw/intc/arm_gicv3: Make reserved register addresses RAZ/WIhw/intc/arm_gicv3_dist.c hw/intc/arm_gicv3_its_common.c hw/intc/arm_gicv3_redist.c+29 -50 replies
12/54hw/intc/arm_gic: reserved register addresses are RAZ/WIhw/intc/arm_gic.c+3 -20 replies
13/54virtio_error: don't invoke status callbackshw/virtio/virtio.c+1 -10 replies
14/54vhost: remove assertion to prevent crashhw/virtio/vhost-user.c+4 -10 replies
15/54hw/sd/pl181: Reset SD card on controller resethw/sd/pl181.c+4 -00 replies
16/54hw/sd/milkymist-memcard: Reset SD card on controller resethw/sd/milkymist-memcard.c+4 -00 replies
17/54hw/sd/ssi-sd: Reset SD card on controller resethw/sd/ssi-sd.c+23 -20 replies
18/54scsi-disk: release AioContext in unaligned WRITE SAME casehw/scsi/scsi-disk.c+1 -00 replies
19/54hw/pci-bridge: fix QEMU crash because of pcie-root-porthw/pci-bridge/gen_pcie_root_port.c+6 -10 replies
20/54i386: Change X86CPUDefinition::model_id to const char*target/i386/cpu.c+8 -10 replies
21/54i386: Add support for SPEC_CTRL MSRtarget/i386/cpu.h target/i386/kvm.c target/i386/machine.c+37 -00 replies
22/54i386: Add spec-ctrl CPUID bittarget/i386/cpu.c target/i386/cpu.h+2 -10 replies
23/54i386: Add FEAT_8000_0008_EBX CPUID feature wordtarget/i386/cpu.c target/i386/cpu.h+21 -10 replies
24/54i386: Add new -IBRS versions of Intel CPU modelstarget/i386/cpu.c+378 -10 replies
25/54i386: Add EPYC-IBPB CPU modeltarget/i386/cpu.c+46 -00 replies
26/54linux-user: Fix locking order in fork_start()linux-user/main.c+2 -20 replies
27/54s390x: fix storage attributes migration for non-small guestshw/s390x/s390-stattrib-kvm.c+2 -20 replies
28/54linux-headers: update to 4.15-rc1include/standard-headers/asm-s390/virtio-ccw.h include/standard-headers/asm-x86/hyperv.h include/standard-headers/linux/input-event-codes.h +24 more+74 -4110 replies
29/54linux-headers: updateinclude/standard-headers/asm-s390/virtio-ccw.h linux-headers/asm-powerpc/kvm.h linux-headers/asm-s390/kvm.h +2 more+36 -160 replies
30/54s390x/kvm: Handle bpb featuretarget/s390x/cpu.c target/s390x/cpu.h target/s390x/cpu_features.c +4 more+36 -00 replies
31/54s390x/kvm: provide stfle.81target/s390x/cpu_features.c target/s390x/cpu_features_def.h target/s390x/gen-features.c+3 -00 replies
32/54osdep: Retry SETLK upon EINTRutil/osdep.c+3 -10 replies
33/54usb-storage: Fix share-rw option parsinghw/scsi/scsi-bus.c hw/usb/dev-storage.c include/hw/scsi/scsi.h+11 -20 replies
34/54spapr_pci: fix MSI/MSIX selectionhw/ppc/spapr_pci.c+42 -190 replies
35/54linux-user/signal.c: Rename MC_* defineslinux-user/signal.c+59 -590 replies
36/54spapr: don't initialize PATB entry if max-cpu-compat < power9hw/ppc/spapr.c+4 -20 replies
37/54spapr: Add pseries-2.12 machine typehw/ppc/spapr.c include/hw/compat.h+25 -30 replies
38/54spapr: Capabilities infrastructurehw/ppc/Makefile.objs hw/ppc/spapr.c hw/ppc/spapr_caps.c +1 more+220 -10 replies
39/54spapr: Treat Hardware Transactional Memory (HTM) as an optional capabilityhw/ppc/spapr.c hw/ppc/spapr_caps.c include/hw/ppc/spapr.h+41 -60 replies
40/54spapr: Validate capabilities on migrationhw/ppc/spapr.c hw/ppc/spapr_caps.c include/hw/ppc/spapr.h+105 -30 replies
41/54target/ppc: Clean up probing of VMX, VSX and DFP availability on KVMtarget/ppc/kvm.c target/ppc/kvm_ppc.h+6 -230 replies
42/54spapr: Handle VMX/VSX presence as an spapr capability flaghw/ppc/spapr.c hw/ppc/spapr_caps.c include/hw/ppc/spapr.h+39 -90 replies
43/54spapr: Handle Decimal Floating Point (DFP) as an optional capabilityhw/ppc/spapr.c hw/ppc/spapr_caps.c include/hw/ppc/spapr.h+25 -30 replies
44/54hw/ppc/spapr_caps: Rework spapr_caps to use uint8 internal representationhw/ppc/spapr.c hw/ppc/spapr_caps.c include/hw/ppc/spapr.h+224 -1870 replies
45/54ppc: Change Power9 compat table to support at most 8 threads/coretarget/ppc/compat.c+8 -10 replies
46/54spapr: fix device tree properties when using compatibility modehw/ppc/spapr.c hw/ppc/spapr_cpu_core.c+16 -90 replies
47/54target/ppc: introduce the PPC_BIT() macrotarget/ppc/cpu.h+56 -490 replies
48/54target/ppc/spapr_caps: Add macro to generate spapr_caps migration vmstatehw/ppc/spapr_caps.c+24 -540 replies
49/54target/ppc/kvm: Add cap_ppc_safe_[cache/bounds_check/indirect_branch]include/hw/ppc/spapr.h target/ppc/kvm.c target/ppc/kvm_ppc.h+88 -00 replies
50/54target/ppc/spapr_caps: Add support for tristate spapr_capabilitieshw/ppc/spapr_caps.c include/hw/ppc/spapr.h+70 -00 replies
51/54target/ppc/spapr_caps: Add new tristate cap safe_cachehw/ppc/spapr.c hw/ppc/spapr_caps.c include/hw/ppc/spapr.h+32 -110 replies
52/54target/ppc/spapr_caps: Add new tristate cap safe_bounds_checkhw/ppc/spapr.c hw/ppc/spapr_caps.c include/hw/ppc/spapr.h+27 -10 replies
53/54target/ppc/spapr_caps: Add new tristate cap safe_indirect_branchhw/ppc/spapr.c hw/ppc/spapr_caps.c include/hw/ppc/spapr.h+27 -10 replies
54/54target/ppc/spapr: Add H-Call H_GET_CPU_CHARACTERISTICShw/ppc/spapr_hcall.c include/hw/ppc/spapr.h+59 -00 replies

Reviews trailers per patch

31 of 54 patches have a Reviewed-by or Acked-by.

PatchEric BlakeAlistair FrancisMichael S. TsirkinPhilippe Mathieu-DaudéPaolo BonziniAlex BennéeChristian BorntraegerThomas HuthDavid HildenbrandHalil PasicDarren KennyAlexey KardashevskiyGreg KurzRichard HendersonAurelien JarnoMarc-André LureauDavid GibsonStefan HajnocziPeter XuEric Auger
1/54
2/54R-b
3/54R-b R-b
4/54R-b
5/54
6/54
7/54R-b
8/54R-b
9/54R-b
10/54R-b R-b T-b R-b T-b
11/54R-b
12/54R-b
13/54
14/54R-b
15/54R-b T-b
16/54R-b T-b
17/54R-b T-b
18/54
19/54R-b
20/54
21/54
22/54
23/54
24/54
25/54
26/54R-b R-b
27/54R-b
28/54
29/54
30/54R-b R-b
31/54R-b R-b R-b
32/54R-b
33/54R-b
34/54R-b
35/54
36/54
37/54
38/54R-b
39/54R-b
40/54R-b
41/54R-b
42/54R-b
43/54R-b
44/54
45/54
46/54
47/54
48/54
49/54R-b
50/54
51/54R-b
52/54R-b
53/54R-b
54/54

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 20 reviewers.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 00/54] Patch Round-up for stable 2.11.1, freeze on 2018-02-12

Hi everyone,

The following new patches are queued for QEMU stable v2.11.1:

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

The release is planned for 2017-02-14:

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

Please respond here or CC [email protected] on any patches you think should be included in the release.

Of particular importance would be any feedback on the various QEMU patches relating to Spectre/Meltdown mitigation. The current tree has what I understand to be the QEMU components required for x86, s390, and pseries, but feedback/confirmation from the various authors would be greatly appreciated.

Thanks!

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

The following changes since commit 0a0dc59d27527b78a195c2d838d28b7b49e5a639:

Update version for v2.11.0 release (2017-12-13 14:31:09 +0000)

are available in the git repository at:

git://github.com/mdroth/qemu.git stable-2.11-staging

for you to fetch changes up to ed8b4ecc68d6bfe98000b08d649049d0c1174c11:

target/ppc/spapr: Add H-Call H_GET_CPU_CHARACTERISTICS (2018-02-05 19:07:38 -0600)

----------------------------------------------------------------
Alex Bennée (1):
target/sh4: fix TCG leak during gusa sequence

Alex Williamson (1):
vfio: Fix vfio-kvm group registration

Christian Borntraeger (2):

      s390x/kvm: Handle bpb feature
      s390x/kvm: provide stfle.81

Claudio Imbrenda (1):

      s390x: fix storage attributes migration for non-small guests

Cornelia Huck (1):
linux-headers: update

Cédric Le Goater (1):
target/ppc: introduce the PPC_BIT() macro

David Gibson (7):
spapr: Add pseries-2.12 machine type
spapr: Capabilities infrastructure
spapr: Treat Hardware Transactional Memory (HTM) as an optional capability
spapr: Validate capabilities on migration
target/ppc: Clean up probing of VMX, VSX and DFP availability on KVM
spapr: Handle VMX/VSX presence as an spapr capability flag
spapr: Handle Decimal Floating Point (DFP) as an optional capability

Eduardo Habkost (5):
i386: Change X86CPUDefinition::model_id to const char*
i386: Add spec-ctrl CPUID bit
i386: Add FEAT_8000_0008_EBX CPUID feature word
i386: Add new -IBRS versions of Intel CPU models
i386: Add EPYC-IBPB CPU model

Eric Auger (1):
linux-headers: update to 4.15-rc1

Fam Zheng (3):
block: Open backing image in force share mode for size probe
osdep: Retry SETLK upon EINTR
usb-storage: Fix share-rw option parsing

Greg Kurz (2):
spapr_pci: fix MSI/MSIX selection
spapr: fix device tree properties when using compatibility mode

Jay Zhou (1):
vhost: remove assertion to prevent crash

Jose Ricardo Ziviani (1):
ppc: Change Power9 compat table to support at most 8 threads/core

Kevin Wolf (2):
block: Make bdrv_drain_invoke() recursive
block: Call .drain_begin only once in bdrv_drain_all_begin()

Laurent Vivier (1):
spapr: don't initialize PATB entry if max-cpu-compat < power9

Marcel Apfelbaum (1):
hw/pci-bridge: fix QEMU crash because of pcie-root-port

Markus Armbruster (1):
qemu-options: Remove stray colons from output of --help

Michael S. Tsirkin (1):
virtio_error: don't invoke status callbacks

Murilo Opsfelder Araujo (1):
block/nbd: fix segmentation fault when .desc is not null-terminated

Paolo Bonzini (2):
qemu-pr-helper: miscellaneous fixes
i386: Add support for SPEC_CTRL MSR

Peter Lieven (1):
block/iscsi: dont leave allocmap in an invalid state on UNMAP failure

Peter Maydell (8):
target/i386: Fix handling of VEX prefixes hw/intc/arm_gicv3: Make reserved register addresses RAZ/WI hw/intc/arm_gic: reserved register addresses are RAZ/WI hw/sd/pl181: Reset SD card on controller reset hw/sd/milkymist-memcard: Reset SD card on controller reset hw/sd/ssi-sd: Reset SD card on controller reset
linux-user: Fix locking order in fork_start() linux-user/signal.c: Rename MC_* defines

Stefan Hajnoczi (1):
scsi-disk: release AioContext in unaligned WRITE SAME case

Suraj Jitindar Singh (8):
hw/ppc/spapr_caps: Rework spapr_caps to use uint8 internal representation target/ppc/spapr_caps: Add macro to generate spapr_caps migration vmstate target/ppc/kvm: Add cap_ppc_safe_[cache/bounds_check/indirect_branch] target/ppc/spapr_caps: Add support for tristate spapr_capabilities target/ppc/spapr_caps: Add new tristate cap safe_cache target/ppc/spapr_caps: Add new tristate cap safe_bounds_check target/ppc/spapr_caps: Add new tristate cap safe_indirect_branch target/ppc/spapr: Add H-Call H_GET_CPU_CHARACTERISTICS

 block.c                                            |   3 +-
 block/io.c                                         |  13 +-
 block/iscsi.c                                      |   8 +-
 block/nbd.c                                        |   1 +
 hw/intc/arm_gic.c                                  |   5 +-
 hw/intc/arm_gicv3_dist.c                           |  13 +
 hw/intc/arm_gicv3_its_common.c                     |   8 +-
 hw/intc/arm_gicv3_redist.c                         |  13 +
 hw/pci-bridge/gen_pcie_root_port.c                 |   7 +-
 hw/ppc/Makefile.objs                               |   2 +-
 hw/ppc/spapr.c                                     | 130 ++++--
 hw/ppc/spapr_caps.c                                | 443 ++++++++++++++++++++
 hw/ppc/spapr_cpu_core.c                            |   7 +
 hw/ppc/spapr_hcall.c                               |  58 +++
 hw/ppc/spapr_pci.c                                 |  61 ++-
 hw/s390x/s390-stattrib-kvm.c                       |   4 +-
 hw/scsi/scsi-bus.c                                 |   9 +-
 hw/scsi/scsi-disk.c                                |   1 +
 hw/sd/milkymist-memcard.c                          |   4 +
 hw/sd/pl181.c                                      |   4 +
 hw/sd/ssi-sd.c                                     |  25 +-
 hw/usb/dev-storage.c                               |   3 +-
 hw/vfio/common.c                                   |   1 +
 hw/virtio/vhost-user.c                             |   5 +-
 hw/virtio/virtio.c                                 |   2 +-
 include/hw/compat.h                                |   2 +
 include/hw/ppc/spapr.h                             |  74 ++++
 include/hw/scsi/scsi.h                             |   1 +
 include/scsi/utils.h                               |   6 +-
 include/standard-headers/asm-s390/virtio-ccw.h     |   5 +-
 include/standard-headers/asm-x86/hyperv.h          | 394 +-----------------
 include/standard-headers/linux/input-event-codes.h |   2 +
 include/standard-headers/linux/input.h             |   1 +
 include/standard-headers/linux/pci_regs.h          |  45 +-
 linux-headers/asm-arm/kvm.h                        |   8 +
 linux-headers/asm-arm/kvm_para.h                   |   1 +
 linux-headers/asm-arm/unistd.h                     |   2 +
 linux-headers/asm-arm64/kvm.h                      |   8 +
 linux-headers/asm-arm64/unistd.h                   |   1 +
 linux-headers/asm-powerpc/epapr_hcalls.h           |   1 +
 linux-headers/asm-powerpc/kvm.h                    |  26 ++
 linux-headers/asm-powerpc/kvm_para.h               |   1 +
 linux-headers/asm-powerpc/unistd.h                 |   1 +
 linux-headers/asm-s390/kvm.h                       |  10 +-
 linux-headers/asm-s390/kvm_para.h                  |   5 +-
 linux-headers/asm-s390/unistd.h                    |   4 +-
 linux-headers/asm-x86/kvm.h                        |   1 +
 linux-headers/asm-x86/kvm_para.h                   |   2 +-
 linux-headers/asm-x86/unistd.h                     |   1 +
 linux-headers/linux/kvm.h                          |  10 +-
 linux-headers/linux/kvm_para.h                     |   1 +
 linux-headers/linux/psci.h                         |   1 +
 linux-headers/linux/userfaultfd.h                  |   1 +
 linux-headers/linux/vfio.h                         |   1 +
 linux-headers/linux/vfio_ccw.h                     |   1 +
 linux-headers/linux/vhost.h                        |   1 +
 linux-user/main.c                                  |   4 +-
 linux-user/signal.c                                | 118 +++---
 qemu-options-wrapper.h                             |   2 +-
 qemu-options.hx                                    |  27 +-
 scripts/hxtool                                     |   3 +-
 scsi/qemu-pr-helper.c                              |  30 +-
 scsi/utils.c                                       |  10 +
 target/i386/cpu.c                                  | 455 ++++++++++++++++++++-
 target/i386/cpu.h                                  |   7 +
 target/i386/kvm.c                                  |  14 +
 target/i386/machine.c                              |  20 +
 target/i386/translate.c                            |   2 +-
 target/ppc/compat.c                                |   9 +-
 target/ppc/cpu.h                                   | 105 ++---
 target/ppc/kvm.c                                   |  85 +++-
 target/ppc/kvm_ppc.h                               |  20 +-
 target/s390x/cpu.c                                 |   1 +
 target/s390x/cpu.h                                 |   1 +
 target/s390x/cpu_features.c                        |   2 +
 target/s390x/cpu_features_def.h                    |   2 +
 target/s390x/gen-features.c                        |   2 +
 target/s390x/kvm.c                                 |  14 +
 target/s390x/machine.c                             |  17 +
 target/sh4/translate.c                             |   2 +-
 util/osdep.c                                       |   4 +-
 81 files changed, 1746 insertions(+), 658 deletions(-)
 create mode 100644 hw/ppc/spapr_caps.c