From patchwork Tue Nov 15 10:19:02 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Cedric Bosdonnat X-Patchwork-Id: 9429345 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 E02D960469 for ; Tue, 15 Nov 2016 10:22:15 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C9704286B9 for ; Tue, 15 Nov 2016 10:22:15 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BE08C286C2; Tue, 15 Nov 2016 10:22:15 +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 7EBDD286B9 for ; Tue, 15 Nov 2016 10:22:15 +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 1c6aqc-0005kq-Lg; Tue, 15 Nov 2016 10:20:14 +0000 Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c6aqb-0005h8-O4 for xen-devel@lists.xen.org; Tue, 15 Nov 2016 10:20:13 +0000 Received: from [85.158.137.68] by server-12.bemta-3.messagelabs.com id 76/16-28947-C51EA285; Tue, 15 Nov 2016 10:20:12 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFuplkeJIrShJLcpLzFFi42I53H6XVTfmoVa Ewd9lwhZLPi5mcWD0OLr7N1MAYxRrZl5SfkUCa8a8c+0sBQ0cFR93szYwPmLrYuTkEBJYwiix 6kUGiM0mYC/R9ecoE4gtIiAtce3zZcYuRi4OZoETjBI9GzcDNXBwCAs4SbzsdAGpYRFQlZj28 hgLSJhXwFJiyblYkLCEgLzEhaunWEBsTqDwz6NP2SFWWUgsudzNDGLzCghKnJz5BKyVWUBdYv 08IZAwM1Br89bZzBMYeWchqZqFUDULSdUCRuZVjBrFqUVlqUW6hkZ6SUWZ6RkluYmZObqGBsZ 6uanFxYnpqTmJScV6yfm5mxiBwcQABDsYX3U7H2KU5GBSEuUVWq0VIcSXlJ9SmZFYnBFfVJqT WnyIUYaDQ0mCV+EBUE6wKDU9tSItMwcY1jBpCQ4eJRHeFfeB0rzFBYm5xZnpEKlTjIpS4rxPQ RICIImM0jy4NlgsXWKUlRLmZQQ6RIinILUoN7MEVf4VozgHo5IwrwbIdp7MvBK46a+AFjMBLd 5lrgGyuCQRISXVwJjLJ3LwvIrkHh35M92PNZPalnL1nXDvvTCn+U9IVO2XpCdn0q3juO//2rn K+UznhGSrwNINYlP337CzVmB+unYKv17R5L3KhayCkS06Yq/EXwitf2mvsPT19ofX2GZNmKqg Mv/I4uIZ2xS2Lw//n3xEu+bjd+v/FhaXuLYeZlu58ZigbEKsySklluKMREMt5qLiRAAgz75ao AIAAA== X-Env-Sender: cbosdonnat@suse.com X-Msg-Ref: server-9.tower-31.messagelabs.com!1479205211!15529008!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 9238 invoked from network); 15 Nov 2016 10:20:12 -0000 Received: from smtp.nue.novell.com (HELO smtp.nue.novell.com) (195.135.221.5) by server-9.tower-31.messagelabs.com with DHE-RSA-AES256-GCM-SHA384 encrypted SMTP; 15 Nov 2016 10:20:12 -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); Tue, 15 Nov 2016 11:20:11 +0100 From: =?UTF-8?q?C=C3=A9dric=20Bosdonnat?= To: xen-devel@lists.xen.org Date: Tue, 15 Nov 2016 11:19:02 +0100 Message-Id: <20161115101913.10396-25-cbosdonnat@suse.com> X-Mailer: git-send-email 2.10.1 In-Reply-To: <20161115101913.10396-1-cbosdonnat@suse.com> References: <20161115101913.10396-1-cbosdonnat@suse.com> MIME-Version: 1.0 Cc: =?UTF-8?q?C=C3=A9dric=20Bosdonnat?= , Wei Liu , Ian Jackson , =?UTF-8?q?C=C3=A9dric=20Bosdonnat?= Subject: [Xen-devel] [PATCH 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: Cédric 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); }