[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [qemu-s390x] [PATCH v2 1/1] s390x: fix storage attributes migration
From: |
Cornelia Huck |
Subject: |
Re: [qemu-s390x] [PATCH v2 1/1] s390x: fix storage attributes migration for non-small guests |
Date: |
Fri, 19 Jan 2018 12:54:16 +0100 |
On Thu, 18 Jan 2018 18:51:44 +0100
Claudio Imbrenda <address@hidden> wrote:
> Fix storage attribute migration so that it does not fail for guests
> with more than a few GB of RAM.
> With such guests, the index in the buffer would go out of bounds,
> usually by large amounts, thus receiving -EFAULT from the kernel.
> Migration itself would be successful, but storage attributes would then
> not be migrated completely.
>
> This patch fixes the out of bounds access, and thus migration of all
> storage attributes when the guest have large amounts of memory.
>
> Signed-off-by: Claudio Imbrenda <address@hidden>
> Fixes: 903fd80b03243476 ("s390x/migration: Storage attributes device")
> ---
> hw/s390x/s390-stattrib-kvm.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
Thanks, applied.