[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH] migration: madvise error_report fixup!
From: |
Pavel Butsykin |
Subject: |
[Qemu-devel] [PATCH] migration: madvise error_report fixup! |
Date: |
Fri, 10 Feb 2017 17:36:51 +0300 |
Signed-off-by: Pavel Butsykin <address@hidden>
---
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
[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