From patchwork Thu Nov 17 17:36:06 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Cedric Bosdonnat X-Patchwork-Id: 9434841 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 B10E96047D for ; Thu, 17 Nov 2016 17:39:03 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A4A3229687 for ; Thu, 17 Nov 2016 17:39:03 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 998B82968C; Thu, 17 Nov 2016 17:39:03 +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 2438329687 for ; Thu, 17 Nov 2016 17:39:03 +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 1c7QcM-0000Oh-KW; Thu, 17 Nov 2016 17:36:58 +0000 Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c7QcL-0000Kr-9l for xen-devel@lists.xen.org; Thu, 17 Nov 2016 17:36:57 +0000 Received: from [85.158.139.211] by server-2.bemta-5.messagelabs.com id CE/8A-08512-8BAED285; Thu, 17 Nov 2016 17:36:56 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFupnkeJIrShJLcpLzFFi42I53H6XVXf7K90 Ig2v3TSyWfFzM4sDocXT3b6YAxijWzLyk/IoE1ozDb1+zFPxir7j29wVzA+Mdti5GLg4hgSWM Ei0f7rF2MXJysAnYS3T9OcoEYosISEtc+3yZEcRmFiiR2Pu0A8wWFnCV+DZpGVANBweLgKrE7 suhIGFeAQuJ9q33mUFsCQF5iQtXT7GA2JxA8QOHz4HFhQTMJd68WcAEUS8ocXLmExaQMcwC6h Lr5wlBbJKXaN46m3kCI+8sJFWzEKpmIalawMi8ilGjOLWoLLVI19BIL6koMz2jJDcxM0fX0MB ULze1uDgxPTUnMalYLzk/dxMjMKAYgGAHY98s50OMkhxMSqK8zC91I4T4kvJTKjMSizPii0pz UosPMcpwcChJ8BaA5ASLUtNTK9Iyc4ChDZOW4OBREuGVBEnzFhck5hZnpkOkTjEqSonzhoEkB EASGaV5cG2weLrEKCslzMsIdIgQT0FqUW5mCar8K0ZxDkYlYd4UkCk8mXklcNNfAS1mAlq8R0 AHZHFJIkJKqoEx853g8+evPvKumD11jdk3vnrewpTqJQZHfbekr5X4uOj/DJEm/ef85zVvH2F Y7eazp3j+fd8jPPIdD++2xN7qZTSXUcxob3Fc9UTy0kI1N99r15/s/5HbOnd/sKn45LwrH8PX +L/YZP8od05V7oXim3dniIXwiz+fuppVZJvNo79tKYZX6+aXKrEUZyQaajEXFScCALTCN2iiA gAA X-Env-Sender: cbosdonnat@suse.com X-Msg-Ref: server-9.tower-206.messagelabs.com!1479404215!70964747!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 55655 invoked from network); 17 Nov 2016 17:36:55 -0000 Received: from smtp.nue.novell.com (HELO smtp.nue.novell.com) (195.135.221.5) by server-9.tower-206.messagelabs.com with DHE-RSA-AES256-GCM-SHA384 encrypted SMTP; 17 Nov 2016 17:36:55 -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:36:54 +0100 From: =?UTF-8?q?C=C3=A9dric=20Bosdonnat?= To: xen-devel@lists.xen.org Date: Thu, 17 Nov 2016 18:36:06 +0100 Message-Id: <20161117173617.6697-25-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 24/35] libxl/libxl_no_colo.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_no_colo.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/libxl/libxl_no_colo.c b/tools/libxl/libxl_no_colo.c index 152f198..2e1315c 100644 --- a/tools/libxl/libxl_no_colo.c +++ b/tools/libxl/libxl_no_colo.c @@ -22,7 +22,7 @@ void libxl__colo_restore_setup(libxl__egc *egc, { STATE_AO_GC(crs->ao); - LOG(ERROR, "COLO is not supported"); + LOGD(ERROR, crs->domid, "COLO is not supported"); crs->callback(egc, crs, ERROR_FAIL); } @@ -39,7 +39,7 @@ void libxl__colo_save_setup(libxl__egc *egc, libxl__colo_save_state *css) libxl__domain_save_state *dss = CONTAINER_OF(css, *dss, css); STATE_AO_GC(dss->ao); - LOG(ERROR, "COLO is not supported"); + LOGD(ERROR, dss->domid, "COLO is not supported"); dss->callback(egc, dss, ERROR_FAIL); }