From patchwork Thu Nov 17 17:36:14 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Cedric Bosdonnat X-Patchwork-Id: 9434861 Return-Path: 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 EC2AB6047D for ; Thu, 17 Nov 2016 17:39:21 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DEF1C20499 for ; Thu, 17 Nov 2016 17:39:21 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D3E3629687; Thu, 17 Nov 2016 17:39:21 +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=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 57FD720499 for ; Thu, 17 Nov 2016 17:39:21 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c7QcW-0000kb-2S; Thu, 17 Nov 2016 17:37:08 +0000 Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c7QcU-0000ek-30 for xen-devel@lists.xen.org; Thu, 17 Nov 2016 17:37:06 +0000 Received: from [85.158.139.211] by server-15.bemta-5.messagelabs.com id A1/C0-13537-1CAED285; Thu, 17 Nov 2016 17:37:05 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprFIsWRWlGSWpSXmKPExsVyuP0uq+6BV7o RBrsvGFos+biYxYHR4+ju30wBjFGsmXlJ+RUJrBkbFlxhLLjFVtHy/xFrA2MbaxcjJ4eQwBJG iZ6LVSA2m4C9RNefo0wgtoiAtMS1z5cZQWxmgRKJvU87wGxhAWeJfQu7wGwWAVWJ1dMng9XzC lhInJh6iwXElhCQl7hw9RSYzQkUP3D4HDPELnOJN28WQNULSpyc+QSohgNovrrE+nlCEKvkJZ q3zmaewMg7C0nVLISqWUiqFjAyr2JUL04tKkst0jXUSyrKTM8oyU3MzNE1NDDVy00tLk5MT81 JTCrWS87P3cQIDKd6BgbGHYxNvc6HGCU5mJREeZlf6kYI8SXlp1RmJBZnxBeV5qQWH2KU4eBQ kuAtAMkJFqWmp1akZeYAAxsmLcHBoyTCKwmS5i0uSMwtzkyHSJ1i1OV4t/ndAyYhlrz8vFQpc d4wkCIBkKKM0jy4EbAou8QoKyXMy8jAwCDEU5BalJtZgir/ilGcg1FJmFcDZApPZl4J3KZXQE cwAR2xR0AH5IiSRISUFDBuz3scvWy9RvXH6QNveBw0eBOlu2crvtr1PdJxCoPr39Rpc4M0Lu3 M9Y6Nj9ST8pr2T3LbdNYDRp8u/tCYYFO5xbG/cP+zGeVbWk4xzradovWtnts8LeJ+iORRhZMJ pj1z/80+Zea1omBr/+Kz6/Mi8l9ffxpU++VvsuH33qwJkSyRyrfzhbcqsRRnJBpqMRcVJwIAY acrm60CAAA= X-Env-Sender: cbosdonnat@suse.com X-Msg-Ref: server-10.tower-206.messagelabs.com!1479404224!53711432!1 X-Originating-IP: [195.135.221.5] X-SpamReason: No, hits=0.5 required=7.0 tests=BODY_RANDOM_LONG X-StarScan-Received: X-StarScan-Version: 9.0.16; banners=-,-,- X-VirusChecked: Checked Received: (qmail 45528 invoked from network); 17 Nov 2016 17:37:04 -0000 Received: from smtp.nue.novell.com (HELO smtp.nue.novell.com) (195.135.221.5) by server-10.tower-206.messagelabs.com with DHE-RSA-AES256-GCM-SHA384 encrypted SMTP; 17 Nov 2016 17:37:04 -0000 Received: from laptop.vms (mhy71-2-88-167-63-197.fbx.proxad.net [88.167.63.197]) by smtp.nue.novell.com with ESMTP (TLS encrypted); Thu, 17 Nov 2016 18:37:03 +0100 From: =?UTF-8?q?C=C3=A9dric=20Bosdonnat?= To: xen-devel@lists.xen.org Date: Thu, 17 Nov 2016 18:36:14 +0100 Message-Id: <20161117173617.6697-33-cbosdonnat@suse.com> X-Mailer: git-send-email 2.10.1 In-Reply-To: <20161117173617.6697-1-cbosdonnat@suse.com> References: <20161117173617.6697-1-cbosdonnat@suse.com> MIME-Version: 1.0 Cc: Wei Liu , Ian Jackson , Cedric Bosdonnat Subject: [Xen-devel] [PATCH v2 32/35] libxl/libxl_vnuma.c: used LOG*D functions X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" X-Virus-Scanned: ClamAV using ClamSMTP From: Cedric Bosdonnat Use LOG*D logging functions where possible instead of the LOG* ones. Signed-off-by: Cédric Bosdonnat --- tools/libxl/libxl_vnuma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/libxl/libxl_vnuma.c b/tools/libxl/libxl_vnuma.c index db22799..8ec2abb 100644 --- a/tools/libxl/libxl_vnuma.c +++ b/tools/libxl/libxl_vnuma.c @@ -283,7 +283,7 @@ int libxl__vnuma_build_vmemrange_hvm(libxl__gc *gc, /* Consider video ram belongs to vnode 0 */ if (nid == 0) { if (p->memkb < b_info->video_memkb) { - LOG(ERROR, "vnode 0 too small to contain video ram"); + LOGD(ERROR, domid, "vnode 0 too small to contain video ram"); rc = ERROR_INVAL; goto out; }