From nobody Mon Dec 9 07:38:36 2024 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=quarantine dis=none) header.from=suse.com ARC-Seal: i=1; a=rsa-sha256; t=1729689517; cv=none; d=zohomail.com; s=zohoarc; b=TZCi1aafGdwktE87izel6ZD8m3PW52KWQanpw5qWu8/W/QCCuH+wjVoIJxLZHsGFFmqW3IPFZLn+ezusNwQP/vh0B0GOri7ejhA2p3QZiHfWEJdphFt9fNBbUKijKOnqkQy0DR5xxPtzTRb7U0c8EgAeqZo9G4TDWrbEQeB8V4M= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1729689517; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=LFewm/PyRpGCHNCNmkuqU9cF9n06m4bxHZhH7BxdXMU=; b=Cf5CCv2LXj2k/q6dO+IXar40GVau/HKxbNutPE4usht8npLIkMxP53z2x54JWc1j1TdHY3JWx9Z7lz7ZrHoZEnZZq46ythNsrDuMeuTe9AmnwHBrhSQ5GB1Mz6Q/Wv9m5TaSL9y5ft6BcK0UihjwieEWQmcIRHbi54rFcT4/RTs= 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=quarantine dis=none) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1729689517667995.6411732801037; Wed, 23 Oct 2024 06:18:37 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.824667.1238833 (Exim 4.92) (envelope-from ) id 1t3bFX-00030V-F1; Wed, 23 Oct 2024 13:18:07 +0000 Received: by outflank-mailman (output) from mailman id 824667.1238833; Wed, 23 Oct 2024 13:18:07 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1t3bFX-00030O-C7; Wed, 23 Oct 2024 13:18:07 +0000 Received: by outflank-mailman (input) for mailman id 824667; Wed, 23 Oct 2024 13:18:06 +0000 Received: from se1-gles-flk1-in.inumbo.com ([94.247.172.50] helo=se1-gles-flk1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1t3b8c-0006Ra-Ff for xen-devel@lists.xenproject.org; Wed, 23 Oct 2024 13:10:58 +0000 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.223.131]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id 3a5d39e4-9140-11ef-99a3-01e77a169b0f; Wed, 23 Oct 2024 15:10:52 +0200 (CEST) Received: from imap1.dmz-prg2.suse.org (imap1.dmz-prg2.suse.org [IPv6:2a07:de40:b281:104:10:150:64:97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 4A0401FDA3; Wed, 23 Oct 2024 13:10:51 +0000 (UTC) Received: from imap1.dmz-prg2.suse.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by imap1.dmz-prg2.suse.org (Postfix) with ESMTPS id 218B613A63; Wed, 23 Oct 2024 13:10:51 +0000 (UTC) Received: from dovecot-director2.suse.de ([2a07:de40:b281:106:10:150:64:167]) by imap1.dmz-prg2.suse.org with ESMTPSA id VoOzBtv1GGcIeAAAD6G6ig (envelope-from ); Wed, 23 Oct 2024 13:10:51 +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" X-Inumbo-ID: 3a5d39e4-9140-11ef-99a3-01e77a169b0f DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1729689051; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=LFewm/PyRpGCHNCNmkuqU9cF9n06m4bxHZhH7BxdXMU=; b=CnO/byiXVHpDym0EN2ob8KIWqZIg544Q0AT9OKrmSamYzGK7DbTX/pH2jGl1AZL1I/Flxy OmYU0k6zHJGnh+bZa/c4cd6vHDcLesqG75MFXWlbaiK7vvL4BN2gRAIeeZ9MXKsGdKBVqT +CTAFc6NsqdKiNP+UmH0k86AAnd0BOM= Authentication-Results: smtp-out2.suse.de; dkim=pass header.d=suse.com header.s=susede1 header.b="CnO/byiX" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1729689051; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=LFewm/PyRpGCHNCNmkuqU9cF9n06m4bxHZhH7BxdXMU=; b=CnO/byiXVHpDym0EN2ob8KIWqZIg544Q0AT9OKrmSamYzGK7DbTX/pH2jGl1AZL1I/Flxy OmYU0k6zHJGnh+bZa/c4cd6vHDcLesqG75MFXWlbaiK7vvL4BN2gRAIeeZ9MXKsGdKBVqT +CTAFc6NsqdKiNP+UmH0k86AAnd0BOM= From: Juergen Gross To: minios-devel@lists.xenproject.org, xen-devel@lists.xenproject.org Cc: samuel.thibault@ens-lyon.org, Juergen Gross Subject: [MINI-OS PATCH] config: add support for libxenmanage Date: Wed, 23 Oct 2024 15:10:48 +0200 Message-ID: <20241023131048.32240-1-jgross@suse.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4A0401FDA3 X-Spam-Level: X-Spamd-Result: default: False [-3.01 / 50.00]; BAYES_HAM(-3.00)[99.99%]; NEURAL_HAM_LONG(-1.00)[-1.000]; MID_CONTAINS_FROM(1.00)[]; R_MISSING_CHARSET(0.50)[]; NEURAL_HAM_SHORT(-0.20)[-1.000]; R_DKIM_ALLOW(-0.20)[suse.com:s=susede1]; MIME_GOOD(-0.10)[text/plain]; MX_GOOD(-0.01)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; MIME_TRACE(0.00)[0:+]; RBL_SPAMHAUS_BLOCKED_OPENRESOLVER(0.00)[2a07:de40:b281:104:10:150:64:97:from]; SPAMHAUS_XBL(0.00)[2a07:de40:b281:104:10:150:64:97:from]; TO_DN_SOME(0.00)[]; RECEIVED_SPAMHAUS_BLOCKED_OPENRESOLVER(0.00)[2a07:de40:b281:106:10:150:64:167:received]; FUZZY_BLOCKED(0.00)[rspamd.com]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DBL_BLOCKED_OPENRESOLVER(0.00)[imap1.dmz-prg2.suse.org:helo,imap1.dmz-prg2.suse.org:rdns]; RCVD_TLS_ALL(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; DKIM_SIGNED(0.00)[suse.com:s=susede1]; DKIM_TRACE(0.00)[suse.com:+] X-Rspamd-Server: rspamd2.dmz-prg2.suse.org X-Rspamd-Action: no action X-Spam-Score: -3.01 X-Spam-Flag: NO X-ZohoMail-DKIM: pass (identity @suse.com) X-ZM-MESSAGEID: 1729689518246116600 Content-Type: text/plain; charset="utf-8" Add CONFIG_LIBXENMANAGE support. Signed-off-by: Juergen Gross Reviewed-by: Samuel Thibault --- Please note that this patch should be committed only after the related Xen patch "tools/libs: add a new libxenmanage library" has been Acked, as otherwise it should either be dropped (in case the approach of adding a new library is being rejected) or changed (in case the name of the new library needs to be modified)! Config.mk | 2 ++ Makefile | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/Config.mk b/Config.mk index f59a0cf4..e493533a 100644 --- a/Config.mk +++ b/Config.mk @@ -46,6 +46,7 @@ GNTTAB_PATH ?=3D $(XEN_ROOT)/stubdom/libs-$(MINIOS_TARGET= _ARCH)/gnttab CALL_PATH ?=3D $(XEN_ROOT)/stubdom/libs-$(MINIOS_TARGET_ARCH)/call FOREIGNMEMORY_PATH ?=3D $(XEN_ROOT)/stubdom/libs-$(MINIOS_TARGET_ARCH)/for= eignmemory DEVICEMODEL_PATH ?=3D $(XEN_ROOT)/stubdom/libs-$(MINIOS_TARGET_ARCH)/devic= emodel +MANAGE_PATH ?=3D $(XEN_ROOT)/stubdom/libs-$(MINIOS_TARGET_ARCH)/manage CTRL_PATH ?=3D $(XEN_ROOT)/stubdom/libxc-$(MINIOS_TARGET_ARCH) GUEST_PATH ?=3D $(XEN_ROOT)/stubdom/libxc-$(MINIOS_TARGET_ARCH) else @@ -202,6 +203,7 @@ CONFIG-n +=3D CONFIG_LIBXENGNTTAB CONFIG-n +=3D CONFIG_LIBXENGUEST CONFIG-n +=3D CONFIG_LIBXENTOOLCORE CONFIG-n +=3D CONFIG_LIBXENTOOLLOG +CONFIG-n +=3D CONFIG_LIBXENMANAGE # Setting CONFIG_USE_XEN_CONSOLE copies all print output to the Xen emerge= ncy # console apart of standard dom0 handled console. CONFIG-n +=3D CONFIG_USE_XEN_CONSOLE diff --git a/Makefile b/Makefile index ffa8d1a8..d094858a 100644 --- a/Makefile +++ b/Makefile @@ -159,6 +159,10 @@ ifeq ($(CONFIG_LIBXENCTRL),y) APP_LDLIBS +=3D -L$(CTRL_PATH) -whole-archive -lxenctrl -no-whole-archive LIBS +=3D $(CTRL_PATH)/libxenctrl.a endif +ifeq ($(CONFIG_LIBXENMANAGE),y) +APP_LDLIBS +=3D -L$(MANAGE_PATH) -whole-archive -lxenmanage -no-whole-arch= ive +LIBS +=3D $(MANAGE_PATH)/libxenmanage.a +endif APP_LDLIBS +=3D -lpci APP_LDLIBS +=3D -lz APP_LDLIBS +=3D -lm --=20 2.43.0