[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v3 1/1] s390x/storage attributes: fix CMMA_BLOCK
Re: [Qemu-devel] [PATCH v3 1/1] s390x/storage attributes: fix CMMA_BLOCK_SIZE usage
Thu, 5 Jul 2018 19:00:31 +0200
On Thu, 5 Jul 2018 12:39:30 +0200
Claudio Imbrenda <address@hidden> wrote:
> 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>
> hw/s390x/s390-stattrib-kvm.c | 3 ++-
> hw/s390x/s390-stattrib.c | 5 +++--
> 2 files changed, 5 insertions(+), 3 deletions(-)