From nobody Tue Dec 16 08:34:25 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass(p=none dis=none) header.from=xenproject.org ARC-Seal: i=1; a=rsa-sha256; t=1754664999; cv=none; d=zohomail.com; s=zohoarc; b=ODoc8PfSmiSu7AAnlGo19JFCC9ucbO778orkdbTiH8Q/mWhAwW7SAi0lWVsQ0G8BkWxk8cw69J9Q4foNLVU0WIfz/HPb1GHy5p0ONBTdo0LvJx+wYaM48fNqwKoJsBt0vgc+aUY8onsDIgtvjwiJvdUxa4i03hWTlWRa5vidC5w= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1754664999; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=raD2DxVICJDfaNLubZN80EJ1w54pDYHTSpJpYmDjXXs=; b=cvUQnxOr97nKmXmff6Klw0svXY7WEvEpVzzNgBW7XZQb3dY578vxoKiTMZ8yTTrlm/v2L6kXIs2F4luuNQfxf0y2/qGmRIttsNZ+gacpgTQ4p2Aet4NojJf6d4n2I7EUoDmN+ZWlQ/SQ4AVnJPe8yimqawkFkLzWAyDcegn6btY= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 175466499908281.58232862106183; Fri, 8 Aug 2025 07:56:39 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.1074662.1437142 (Exim 4.92) (envelope-from ) id 1ukOVs-0008JE-GV; Fri, 08 Aug 2025 14:56:08 +0000 Received: by outflank-mailman (output) from mailman id 1074662.1437142; Fri, 08 Aug 2025 14:56:08 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1ukOVs-0008J7-Dh; Fri, 08 Aug 2025 14:56:08 +0000 Received: by outflank-mailman (input) for mailman id 1074662; Fri, 08 Aug 2025 14:56:06 +0000 Received: from mail.xenproject.org ([104.130.215.37]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1ukOVq-0008IZ-TY for xen-devel@lists.xenproject.org; Fri, 08 Aug 2025 14:56:06 +0000 Received: from xenbits.xenproject.org ([104.239.192.120]) by mail.xenproject.org with esmtp (Exim 4.96) (envelope-from ) id 1ukOVq-007zr5-1s; Fri, 08 Aug 2025 14:56:06 +0000 Received: from [2a01:e0a:1da:8420:b77:bd5:6e45:7633] (helo=l14..) by xenbits.xenproject.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1ukOVq-009BYT-0y; Fri, 08 Aug 2025 14:56:06 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=xenproject.org; s=20200302mail; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From; bh=raD2DxVICJDfaNLubZN80EJ1w54pDYHTSpJpYmDjXXs=; b=Vul31LkpIc2hYvJ13DGCLv6uKG Ztrg7XC5+LRyqnCPjLrwyrxlQhGLmLNImC4S0fwhtzWuxKdS7Dh0/CgSM1Mn5GaU/QnP9Ja5zIGNw JcyrNYKrTEukecn8VRSqC515AgwQ5R5IHRz9hLDNlQpWv2WFTc0oGhkqlSL/SUxL4O1Q=; From: Anthony PERARD To: xen-devel@lists.xenproject.org Cc: Anthony PERARD Subject: [XEN PATCH 01/11] xl: move printf_info prototype to an header Date: Fri, 8 Aug 2025 16:55:52 +0200 Message-Id: <20250808145602.41716-2-anthony@xenproject.org> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20250808145602.41716-1-anthony@xenproject.org> References: <20250808145602.41716-1-anthony@xenproject.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @xenproject.org) X-ZM-MESSAGEID: 1754665001411124100 Content-Type: text/plain; charset="utf-8" From: Anthony PERARD In a single place. Signed-off-by: Anthony PERARD Reviewed-by: Jason Andryuk --- tools/xl/xl.h | 3 +++ tools/xl/xl_info.c | 3 --- tools/xl/xl_misc.c | 3 --- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/tools/xl/xl.h b/tools/xl/xl.h index 45745f0dbb..9000df00de 100644 --- a/tools/xl/xl.h +++ b/tools/xl/xl.h @@ -310,6 +310,9 @@ extern void printf_info_sexp(int domid, libxl_domain_co= nfig *d_config, FILE *fh) extern void apply_global_affinity_masks(libxl_domain_type type, libxl_bitmap *vcpu_affinity_array, unsigned int size); +void printf_info(enum output_format output_format, + int domid, + libxl_domain_config *d_config, FILE *fh); =20 #define XL_GLOBAL_CONFIG XEN_CONFIG_DIR "/xl.conf" #define XL_LOCK_FILE XEN_LOCK_DIR "/xl" diff --git a/tools/xl/xl_info.c b/tools/xl/xl_info.c index eb019e3ee9..3fbc0698b7 100644 --- a/tools/xl/xl_info.c +++ b/tools/xl/xl_info.c @@ -96,9 +96,6 @@ static yajl_gen_status printf_info_one_json(yajl_gen hand= , int domid, return s; } =20 -void printf_info(enum output_format output_format, - int domid, - libxl_domain_config *d_config, FILE *fh); void printf_info(enum output_format output_format, int domid, libxl_domain_config *d_config, FILE *fh) diff --git a/tools/xl/xl_misc.c b/tools/xl/xl_misc.c index 08f0fb6dc9..f0167e1603 100644 --- a/tools/xl/xl_misc.c +++ b/tools/xl/xl_misc.c @@ -256,9 +256,6 @@ int main_dump_core(int argc, char **argv) return EXIT_SUCCESS; } =20 -extern void printf_info(enum output_format output_format, - int domid, - libxl_domain_config *d_config, FILE *fh); int main_config_update(int argc, char **argv) { uint32_t domid; --=20 Anthony PERARD