From patchwork Fri Dec 2 15:08:30 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Cedric Bosdonnat X-Patchwork-Id: 9458699 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 BCA5260236 for ; Fri, 2 Dec 2016 15:11:23 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AFDAA2847C for ; Fri, 2 Dec 2016 15:11:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A31BD2855C; Fri, 2 Dec 2016 15:11:23 +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 637F42847C for ; Fri, 2 Dec 2016 15:11:23 +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 1cCpSo-0003Mh-BT; Fri, 02 Dec 2016 15:09:26 +0000 Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cCpSl-0003Co-Hb for xen-devel@lists.xen.org; Fri, 02 Dec 2016 15:09:23 +0000 Received: from [85.158.137.68] by server-1.bemta-3.messagelabs.com id A7/ED-23231-2AE81485; Fri, 02 Dec 2016 15:09:22 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFupnkeJIrShJLcpLzFFi42I53H6XVXdRn2O EwaqHfBZLPi5mcWD0OLr7N1MAYxRrZl5SfkUCa8a+u+uZChZxVLzqUG9gbGDvYuTiEBJYwiix b8I0li5GTg42AXuJrj9HmUBsEQFpiWufLzOC2MwCJRJN5zqZQWxhAVeJb5OWgdWwCKhK3OlvA uvlFbCUuNK8G6xGQkBeYuH5I2A1nEDxBy3XweYICVhINN+4A1UvKHFy5hMgmwNovrrE+nlCEK vkJZq3zmaewMg7C0nVLISqWUiqFjAyr2LUKE4tKkst0jUy0EsqykzPKMlNzMzRNTQw1stNLS5 OTE/NSUwq1kvOz93ECAyoegYGxh2MzSf8DjFKcjApifKa5jhGCPEl5adUZiQWZ8QXleakFh9i lOHgUJLgbe4FygkWpaanVqRl5gBDGyYtwcGjJMKrCpLmLS5IzC3OTIdInWJUlBLndQZJCIAkM krz4Npg8XSJUVZKmJeRgYFBiKcgtSg3swRV/hWjOAejkjDvPpApPJl5JXDTXwEtZgJa3HHdHm RxSSJCSqqBcWvuO0eTJYJT2WZ8+62w4tgH6UnbEk0+cc8W3Lz0Xl/0Nbei7bMV9GYvadrjrxE 84VjY/cC4RJ9nm6R1+YM+z/l40OZ5VOfBr89ZtTkKLS1P2pkfqWerPiNWou9Yf3H3Go2i5784 5HOuRb5/pZdSOe/gb6OXclJP2S0f7wi4cq3t880vspf2pimxFGckGmoxFxUnAgCa6FU7ogIAA A== X-Env-Sender: cbosdonnat@suse.com X-Msg-Ref: server-8.tower-31.messagelabs.com!1480691361!74220646!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 29770 invoked from network); 2 Dec 2016 15:09:22 -0000 Received: from smtp.nue.novell.com (HELO smtp.nue.novell.com) (195.135.221.5) by server-8.tower-31.messagelabs.com with DHE-RSA-AES256-GCM-SHA384 encrypted SMTP; 2 Dec 2016 15:09:22 -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); Fri, 02 Dec 2016 16:09:21 +0100 From: =?UTF-8?q?C=C3=A9dric=20Bosdonnat?= To: xen-devel@lists.xen.org Date: Fri, 2 Dec 2016 16:08:30 +0100 Message-Id: <20161202150841.31227-25-cbosdonnat@suse.com> X-Mailer: git-send-email 2.10.2 In-Reply-To: <20161202150841.31227-1-cbosdonnat@suse.com> References: <20161202150841.31227-1-cbosdonnat@suse.com> MIME-Version: 1.0 Cc: Ian Jackson , Wei Liu , 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 Acked-by: Wei Liu --- 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); }