qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] 17f456: s390x/storage attributes: fix CMMA_BL


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 17f456: s390x/storage attributes: fix CMMA_BLOCK_SIZE usag...
Date: Thu, 12 Jul 2018 05:21:12 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 17f4566657df51c5e0cb40f30491e058d74d63c8
      
https://github.com/qemu/qemu/commit/17f4566657df51c5e0cb40f30491e058d74d63c8
  Author: Claudio Imbrenda <address@hidden>
  Date:   2018-07-11 (Wed, 11 Jul 2018)

  Changed paths:
    M hw/s390x/s390-stattrib-kvm.c
    M hw/s390x/s390-stattrib.c

  Log Message:
  -----------
  s390x/storage attributes: fix CMMA_BLOCK_SIZE usage

The macro CMMA_BLOCK_SIZE was defined but not used, and a hardcoded
value was instead used in the code.

This patch fixes the value of CMMA_BLOCK_SIZE and uses it in the
appropriate place in the code, and fixes another case of hardcoded
value in the KVM backend, replacing it with the more appropriate
constant KVM_S390_CMMA_SIZE_MAX.

Signed-off-by: Claudio Imbrenda <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Cornelia Huck <address@hidden>


  Commit: 78dcf512efe72e211e6ca7783069364b01a1c05b
      
https://github.com/qemu/qemu/commit/78dcf512efe72e211e6ca7783069364b01a1c05b
  Author: Philippe Mathieu-Daudé <address@hidden>
  Date:   2018-07-11 (Wed, 11 Jul 2018)

  Changed paths:
    M hw/s390x/virtio-ccw.c

  Log Message:
  -----------
  error: Remove NULL checks on error_propagate() calls

Patch created mechanically by rerunning:

  $  spatch --sp-file scripts/coccinelle/error_propagate_null.cocci \
      --macro-file scripts/cocci-macro-file.h \
      --dir . --in-place

Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
Reviewed-by: Markus Armbruster <address@hidden>
Reviewed-by: David Hildenbrand <address@hidden>
Acked-by: Michael S. Tsirkin <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Cornelia Huck <address@hidden>


  Commit: ff82d3c73ec20d6f40e8bbfafe8ed5110bba5049
      
https://github.com/qemu/qemu/commit/ff82d3c73ec20d6f40e8bbfafe8ed5110bba5049
  Author: Peter Maydell <address@hidden>
  Date:   2018-07-12 (Thu, 12 Jul 2018)

  Changed paths:
    M hw/s390x/s390-stattrib-kvm.c
    M hw/s390x/s390-stattrib.c
    M hw/s390x/virtio-ccw.c

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/cohuck/tags/s390x-20180712' into staging

- fix confusion around sizes in storage attribute migration
- remove NULL check on error_propagate() in virtio-ccw

# gpg: Signature made Thu 12 Jul 2018 10:27:28 BST
# gpg:                using RSA key DECF6B93C6F02FAF
# gpg: Good signature from "Cornelia Huck <address@hidden>"
# gpg:                 aka "Cornelia Huck <address@hidden>"
# gpg:                 aka "Cornelia Huck <address@hidden>"
# gpg:                 aka "Cornelia Huck <address@hidden>"
# gpg:                 aka "Cornelia Huck <address@hidden>"
# Primary key fingerprint: C3D0 D66D C362 4FF6 A8C0  18CE DECF 6B93 C6F0 2FAF

* remotes/cohuck/tags/s390x-20180712:
  error: Remove NULL checks on error_propagate() calls
  s390x/storage attributes: fix CMMA_BLOCK_SIZE usage

Signed-off-by: Peter Maydell <address@hidden>


Compare: https://github.com/qemu/qemu/compare/87130a0d4315...ff82d3c73ec2
      **NOTE:** This service been marked for deprecation: 
https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.

reply via email to

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