Message ID | 20170210143651.24046-1-pbutsykin@virtuozzo.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id B9DC160573 for <patchwork-qemu-devel@patchwork.kernel.org>; Sat, 11 Feb 2017 02:11:44 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9B7FB285CF for <patchwork-qemu-devel@patchwork.kernel.org>; Sat, 11 Feb 2017 02:11:44 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8BB97285F2; Sat, 11 Feb 2017 02:11:44 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id D6F88285CF for <patchwork-qemu-devel@patchwork.kernel.org>; Sat, 11 Feb 2017 02:11:43 +0000 (UTC) Received: from localhost ([::1]:46822 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org>) id 1ccNA6-0004dd-7W for patchwork-qemu-devel@patchwork.kernel.org; Fri, 10 Feb 2017 21:11:42 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36277) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <pbutsykin@virtuozzo.com>) id 1ccN9q-0004dW-Vc for qemu-devel@nongnu.org; Fri, 10 Feb 2017 21:11:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <pbutsykin@virtuozzo.com>) id 1ccN9n-0004Uh-Hp for qemu-devel@nongnu.org; Fri, 10 Feb 2017 21:11:26 -0500 Received: from mail-db5eur01on0111.outbound.protection.outlook.com ([104.47.2.111]:19013 helo=EUR01-DB5-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <pbutsykin@virtuozzo.com>) id 1ccN9m-0004U8-Vl for qemu-devel@nongnu.org; Fri, 10 Feb 2017 21:11:23 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=virtuozzo.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=tmp9xJr2aY+WtJ0ZYGtTkd55TzfZcE3o2NDBUKSUjkI=; b=g+bhDWRzW7gUiK6+im3v0s0cFqzzB+qlZVpb0cB7ThFI5/Pdhw94R/dxWVx8GOsE/CkmI4NmB76FW/zjMVQ+cwE7qagl1p7iK0CpSV5hu+n2BTHSxBPJHesgXTy48Wl28J6LfPy8LXTf4GQwUGoAJeuTuE5O+SKe6TmnDD8qKOA= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=pbutsykin@virtuozzo.com; Received: from pavelb-Z68P-DS3.sw.ru (195.214.232.6) by HE1PR0802MB2553.eurprd08.prod.outlook.com (10.175.35.146) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.888.16; Fri, 10 Feb 2017 14:37:21 +0000 From: Pavel Butsykin <pbutsykin@virtuozzo.com> To: <dgilbert@redhat.com> Date: Fri, 10 Feb 2017 17:36:51 +0300 Message-ID: <20170210143651.24046-1-pbutsykin@virtuozzo.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170210122523.GC3567@work-vm> References: <20170210122523.GC3567@work-vm> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [195.214.232.6] X-ClientProxiedBy: DB6P191CA0003.EURP191.PROD.OUTLOOK.COM (10.175.236.141) To HE1PR0802MB2553.eurprd08.prod.outlook.com (10.175.35.146) X-MS-Office365-Filtering-Correlation-Id: 6756416c-60e0-4216-c687-08d451c2531c X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:HE1PR0802MB2553; X-Microsoft-Exchange-Diagnostics: 1; HE1PR0802MB2553; 3:49H4WqqkDToTlE+b6BJ+30ONm9Uu0HnN/Q7Qe05YqY7KY5DD4UF7CBcyhEJSzjaHf1kg/mj0CImQ4UBaUUgJ/8noMrQckJDbQFGOvZD7Xp5qGeCw1sIJfqayXxzvgHyewWZNdMevPeYtC5eq9L6BnhOFZQHPOx4lE3GP95NtQDSEJqLJCDm9bEenlXmYqI+vs5pv2a5Uznv4MIhpPkrDxjqJZXGNuebgF10m+U1jbmSBqRPVUHkBG34jB9LQPRkF1aEJD6oDApBymQ79UCshFw==; 25:IcbcgAm5/2vWtUqjMoWPErs39b0EtMaF/pcXaeDJ23Vofbjh38Nj9wOK8fNw9adbjhCL/7JffeOSUyNmDkGLW7TpM7LP4p+cUEtplqGG13cYetamBW/Y8+mZEVH2iVn1iOVyCxhMcneOPr9AaG+ctJd99AkRnfzi4OsCFH43YNzN84Cm11HRbI3IG7iiLjCmBcq1qMWRWcCofz4L3LVWTr6waKzxWO8KyzaKQujLGibv8f4WkVJZIcp9vZTZkRt32IyXkjkPgSbiRqViVI+1FuAmGWObvtU7Uw/g9aLjukbvu5Hk+IISGOCAep482eCT9VLdpPKDxeMEMRpbRVAi/HaweLwRADbauHoVQeycXAUpH4hVzKjxtgxCzQpP8CtnABo/3DBkzewREYPe0QAV8kC2nsls+lT+uqlaTbpEz2SpAZlKsGppYMhbXmGGxoDFbvdNbwZXOIJOI0LeNrvVVA== X-Microsoft-Exchange-Diagnostics: 1; HE1PR0802MB2553; 31:WNFpcniwJgpTAKzUiVtLUeUVGfvHJtPP2rW8yeDEy6q+IMkPpLheP4vKVXF9sn79rfU9sv2kEHr5+FN4JXIJUrwsYyxbyglEYA414Yszj2rfMBcdBxE/OwZyOx8ZOgCcixxytF5g1fvFJx179YXiDjLHpsminXgNb8nxYORGiGklx2+A8LaUheOtHXPiaOUstj+qqbL7fiIf2SNE/OZUI1SWUkotVhp0LB0zX6TxeweM4PHYpxbVmu4gdTN4DGmm; 20:H1n7h8cDMZfwUsWy6w9JNYZJTaBybIjq4IdSQiwBnWIgmUmOMsqh37niJIcJQIX4Wp9IFdP1+LRvh/vRj54L5f4jOCA5ncdrkRaeHMQXSnj1DUwPh8TRWyw+xrup6rziYQQjCYjFis6cPKkqOpvP0MJsFlx7/thSaAEPUIiVJLPkLX0Omv3pteaFJLuWM4cJMtH7ViBKrYSuTgjdg7a5/N75150vhiFKQpOQHeLOwA5Tfwu8CKFDZvdzhG9kQfJNjZWbo/kUqUEkHas8S2VthPTpEmqkPNgEHzqdgn85j8LC+jPefOWTWdU9ubD1kPCP+BZX7s4D82E+sTU6QTepBup0Gd1Ojbx/y0Dg+7sar4GXIgy0aDUpcWBu0vSEdyZE19SKhlFe6CCOUR/iecizloyhEahWx87iWSZXeMjekLM= X-Microsoft-Antispam-PRVS: <HE1PR0802MB2553E310DAB854A6A0FD470CAC440@HE1PR0802MB2553.eurprd08.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(8121501046)(5005006)(3002001)(10201501046)(6041248)(20161123562025)(20161123555025)(20161123560025)(20161123558025)(20161123564025)(6072148); SRVR:HE1PR0802MB2553; BCL:0; PCL:0; RULEID:; SRVR:HE1PR0802MB2553; X-Microsoft-Exchange-Diagnostics: 1; HE1PR0802MB2553; 4:OKLeAt1gEf638IlmaI1dqzMW7867Sh5THM9o9ROdr5JJUA6e2GqStVAbQYFXPeOuZAs8tyK/JtjTrbnyhzHZOmFvkUgD5/pn0I+QU/9LyH7sjGJm24dBFE3TOuj4+QWoXtFJizu3wzQIjEBUT6RI66vR/rTaCuMmdZRACdE8YXbAiu0qbDKRQtBxrt38V1MRQ2oC5B8dmBI4rniGCbJuoNssKEeNXRjFbMm4Uyhd8elMqaYIdbw6pRcx/biLwgg7syV5YQ8Jwkn6oo5SwBX9zqzYwtUZWUi8gE7eWLWXhmKNLzU1cdDkaQevtx9Hm6bWjLLpieKinH6BvGbRrH3u+++8BO874SWx+5KdafgCmmUQ9VcB29awd9e3HpkCE18FCTz+us0FgXI3kEAFrZB4So0EeFA+oBa1e+B0rPkqLbuS5hPwisGBj1degX8D75Vywe8y6jH3r9A1rhViv55cJtYndxqrC96cz0/93S8fY9CiHK+gywWZAZlYAcrNVAzpET/txFLwAAkF9gvIHsO1jerQSbMwajNR6jJTIBRlsVyT+eVt+K4n/lpzPnbgQRKYJQ8Dljp49qb5s146ejEvujZkzILKgAVVrzsZp7Yb2UY= X-Forefront-PRVS: 0214EB3F68 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(4630300001)(6009001)(7916002)(39450400003)(189002)(199003)(81156014)(42186005)(8676002)(110136004)(81166006)(47776003)(66066001)(7736002)(97736004)(50226002)(86362001)(53936002)(38730400002)(1076002)(5003940100001)(3846002)(106356001)(2351001)(105586002)(6116002)(69596002)(189998001)(33646002)(5660300001)(2950100002)(6512007)(6666003)(76176999)(6916009)(50986999)(226693001)(54906002)(68736007)(6486002)(6506006)(53416004)(50466002)(36756003)(2906002)(25786008)(4326007)(92566002)(101416001)(305945005)(48376002); DIR:OUT; SFP:1102; SCL:1; SRVR:HE1PR0802MB2553; H:pavelb-Z68P-DS3.sw.ru; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; Received-SPF: None (protection.outlook.com: virtuozzo.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; HE1PR0802M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k5x1PXHb0A==; 24:UMu4GMGg7xLSCJRkNFWW9GgkY3Vk1jKJckrlS3LDdc8ETz3aMV0BQ8zbBQrTb7tq0r9MKZf1tziVCfNsc8JuZQkVAR6lck7E4nf++EAk51o= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; HE1PR0802MB2553; 7:m1t61MFiA9a7FjluvsqOX72dDS0xTBd6kH1d7cb38ietK8Lbe1KB7eGRwkLpyFYynHD6vYRCtPy1UTHo+w7ZiCmEN0ocTiQrCyQtHdwdVtVaiRW4Xs7vpSVeu5sR9OO9N+UvL8JAa5PXPm4rDtvGEt4+92GC26zz6K1WaIWZdaHxrsAW/ssuPbSorRbHlqj2YqFEfZWj08UHH7esNlgHPcp1ZDxtWN6J9vtbx+YgZ93kol1VSpQkf2e8oghbzazFhtl+WFBpIyDTzkqCYjZcbzbNDEeph3u9lNlXrrjIs8Rk/wTuIoGi85FCQlhbneM23STbevu0v3kPQV4+J+9N0FOlxtc23FSTkdOysA3lzff6dG5ZpYjTAe6TMbQUyZhu1ipRuxlaIY5G44bnF8HCi+6x7kejK3Nc5MZFI3mVSkneazGFt/FfHqTk8PottVoJQ0KkNy6t1fR5PnD8kxFw1SAQVpWbjiVZJJ2PnCRuT5NsvfGqGF50f35XLXRx2F7EV+czti6RmT2pl4VjR97nfA==; 20:QXG2WKaJwwYUT0kQ09z5IKL9wy0otbdTlY0PtqI4xCV9O/kQHzTUchHscYd5lfCXOuJf4vcqn1mPEptXGlu+H2UuGi/4ECKiMxglUNmcVfsHQcNnK3o4PgY7HBfys8FQTLV3voIKt4YpubbrbSa8gjoYwYxgToO5srwIc8cv2ZY5PFcT4cn2qKXbRSHI0yJuWcyuor9haIJmNpY0oeZgmm0OE1ljNt1J74KTkh87C/4hIDycjIdyo7K/7go/iaFb X-OriginatorOrg: virtuozzo.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Feb 2017 14:37:21.7815 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0802MB2553 X-detected-operating-system: by eggs.gnu.org: Windows 7 or 8 [fuzzy] X-Received-From: 104.47.2.111 Subject: [Qemu-devel] [PATCH] migration: madvise error_report fixup! X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <http://lists.nongnu.org/archive/html/qemu-devel/> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Cc: qemu-devel@nongnu.org, quintela@redhat.com, den@virtuozzo.com, armbru@redhat.com Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org> X-Virus-Scanned: ClamAV using ClamSMTP |
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));
Signed-off-by: Pavel Butsykin <pbutsykin@virtuozzo.com> --- migration/qemu-file.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)