[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] migration: madvise error_report fixup!
From: |
Dr. David Alan Gilbert |
Subject: |
Re: [Qemu-devel] [PATCH] migration: madvise error_report fixup! |
Date: |
Fri, 10 Feb 2017 14:47:34 +0000 |
User-agent: |
Mutt/1.7.1 (2016-10-04) |
* Pavel Butsykin (address@hidden) wrote:
> Signed-off-by: Pavel Butsykin <address@hidden>
Reviewed-by: Dr. David Alan Gilbert <address@hidden>
I'll merge it in with the others when I queue it.
Dave
> ---
> migration/qemu-file.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/migration/qemu-file.c b/migration/qemu-file.c
> index 82dbef3c86..195fa94fcf 100644
> --- a/migration/qemu-file.c
> +++ b/migration/qemu-file.c
> @@ -156,13 +156,13 @@ static void qemu_iovec_release_ram(QEMUFile *f)
> continue;
> }
> if (qemu_madvise(iov.iov_base, iov.iov_len, QEMU_MADV_DONTNEED) < 0)
> {
> - error_report("migrate: madvise DONTNEED failed %p %ld: %s",
> + error_report("migrate: madvise DONTNEED failed %p %zd: %s",
> iov.iov_base, iov.iov_len, strerror(errno));
> }
> iov = f->iov[idx];
> }
> if (qemu_madvise(iov.iov_base, iov.iov_len, QEMU_MADV_DONTNEED) < 0) {
> - error_report("migrate: madvise DONTNEED failed %p %ld: %s",
> + error_report("migrate: madvise DONTNEED failed %p %zd: %s",
> iov.iov_base, iov.iov_len, strerror(errno));
> }
> memset(f->may_free, 0, sizeof(f->may_free));
> --
> 2.11.0
>
--
Dr. David Alan Gilbert / address@hidden / Manchester, UK
[Qemu-devel] [PATCH v2 1/3] migration: add MigrationState arg for ram_save_/compressed_/page(), Pavel Butsykin, 2017/02/03
[Qemu-devel] [PATCH v2 3/3] migration: discard non-dirty ram pages after the start of postcopy, Pavel Butsykin, 2017/02/03
Re: [Qemu-devel] [PATCH v2 0/3] migration capability to discard the migrated ram pages, no-reply, 2017/02/03
Re: [Qemu-devel] [PATCH v2 0/3] migration capability to discard the migrated ram pages, Dr. David Alan Gilbert, 2017/02/10
Re: [Qemu-devel] [PATCH v2 0/3] migration capability to discard the migrated ram pages, Dr. David Alan Gilbert, 2017/02/14