From patchwork Thu Nov 17 17:35:52 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Cedric Bosdonnat X-Patchwork-Id: 9434845 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 E22CF6047D for ; Thu, 17 Nov 2016 17:39:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D5B2D29689 for ; Thu, 17 Nov 2016 17:39:04 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CA4622968A; Thu, 17 Nov 2016 17:39:04 +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 901EB29687 for ; Thu, 17 Nov 2016 17:39:04 +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 1c7Qc4-0008I5-9N; Thu, 17 Nov 2016 17:36:40 +0000 Received: from mail6.bemta6.messagelabs.com ([193.109.254.103]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c7Qc3-0008FG-GM for xen-devel@lists.xen.org; Thu, 17 Nov 2016 17:36:39 +0000 Received: from [193.109.254.147] by server-10.bemta-6.messagelabs.com id 32/86-20989-6AAED285; Thu, 17 Nov 2016 17:36:38 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprNIsWRWlGSWpSXmKPExsVyuP0uq+6yV7o RBmuvcVks+biYxYHR4+ju30wBjFGsmXlJ+RUJrBn7t69iLpjEXnF23zbmBsbtrF2MnBxCAksY JY6uLQGx2QTsJbr+HGUCsUUEpCWufb7MCGIzC5RI7H3aAWYLC3hILN24FqyXRUBVYkLHW7B6X gELiXN9W8DiEgLyEheunmIBsTmB4gcOn2OG2GUu8ebNAqh6QYmTM58A1XAAzVeXWD9PCGKVvE Tz1tnMExh5ZyGpmoVQNQtJ1QJG5lWMGsWpRWWpRbpGxnpJRZnpGSW5iZk5uoYGZnq5qcXFiem pOYlJxXrJ+bmbGIEBxQAEOxj/zA88xCjJwaQkysv8UjdCiC8pP6UyI7E4I76oNCe1+BCjDAeH kgRvAUhOsCg1PbUiLTMHGNowaQkOHiURXkmQNG9xQWJucWY6ROoUoy7Hu83vHjAJseTl56VKi fOGgRQJgBRllObBjYDF2SVGWSlhXkago4R4ClKLcjNLUOVfMYpzMCoJ86aATOHJzCuB2/QK6A gmoCP2COiAHFGSiJCSamDU9UvmiuZ/kr9KcbPERmXJFbtrfp9tb6pafFLj7QXbyU/MVq66lp1 69kHFzIzyfiefg/tdNeRXm20L/2zi69GQbszae6r9360gR64Gzo35ezatCklmWdnpLr+dl8mG IejidfEOJsVXLCbJm12vW7wse3BjsaXU2b4gf6lohyI++zMvtXbLWyqxFGckGmoxFxUnAgDF/ 1GIrgIAAA== X-Env-Sender: cbosdonnat@suse.com X-Msg-Ref: server-7.tower-27.messagelabs.com!1479404197!67838353!1 X-Originating-IP: [195.135.221.5] X-SpamReason: No, hits=0.5 required=7.0 tests=BODY_RANDOM_LONG, SUBJECT_RANDOMQ X-StarScan-Received: X-StarScan-Version: 9.0.16; banners=-,-,- X-VirusChecked: Checked Received: (qmail 37263 invoked from network); 17 Nov 2016 17:36:38 -0000 Received: from smtp.nue.novell.com (HELO smtp.nue.novell.com) (195.135.221.5) by server-7.tower-27.messagelabs.com with DHE-RSA-AES256-GCM-SHA384 encrypted SMTP; 17 Nov 2016 17:36:38 -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:36 +0100 From: =?UTF-8?q?C=C3=A9dric=20Bosdonnat?= To: xen-devel@lists.xen.org Date: Thu, 17 Nov 2016 18:35:52 +0100 Message-Id: <20161117173617.6697-11-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 10/35] libxl/libxl_colo_qdisk.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_colo_qdisk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/libxl/libxl_colo_qdisk.c b/tools/libxl/libxl_colo_qdisk.c index d271d1f..303b96e 100644 --- a/tools/libxl/libxl_colo_qdisk.c +++ b/tools/libxl/libxl_colo_qdisk.c @@ -84,7 +84,7 @@ static void colo_qdisk_setup(libxl__egc *egc, libxl__checkpoint_device *dev, crs->port = port; } else { if (strcmp(crs->host, host) || strcmp(crs->port, port)) { - LOG(ERROR, "The host and port of all disks must be the same"); + LOGD(ERROR, domid, "The host and port of all disks must be the same"); rc = ERROR_FAIL; goto out; }