From nobody Tue Nov 11 07:10:51 2025 Delivered-To: importer@patchew.org Received-SPF: none (zoho.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=none (zoho.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org ARC-Seal: i=1; a=rsa-sha256; t=1569333940; cv=none; d=zoho.com; s=zohoarc; b=Go0FfkVtFjn7rATaIVPuVeZfh2YxaVO7mZ+Ycjqk4rG28LbjAbqL2GuQ/NFT3K278y7WAheRaN1uptZofqsauvne4CG/oYHnrpkQXyvsPGtyCXCR3ghmk0suEZirfkixkuZThuP795ew40fK0GdxXbQvdOuapaakLDZ9TH26avA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1569333940; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To:ARC-Authentication-Results; bh=L46ThuAF8Ev2scVizYMmQcEh6zxCTQjExBmc9CqEDA8=; b=doBHjB6sYUs0uW+PF5IMuuROiTgDjl2eoGSJ9J/V+VZyhdsrjxPk3K9HJO3hfkozXPT4D0a6G/4Lz7sjDSQ4NtZbF9+q0dgjSSHsacv3KAKJyHpjFPAfJ7lg2P9SSFCFZpcvxPUU94hh+cDiHwWi8jXBmzM3S/1GvfNWgr93ZLQ= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=fail; spf=none (zoho.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1569333940661426.85118750045785; Tue, 24 Sep 2019 07:05:40 -0700 (PDT) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1iClQk-00051H-LK; Tue, 24 Sep 2019 14:04:38 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1iClQj-00050d-2z for xen-devel@lists.xenproject.org; Tue, 24 Sep 2019 14:04:37 +0000 Received: from mo6-p00-ob.smtp.rzone.de (unknown [2a01:238:20a:202:5300::2]) by localhost (Halon) with ESMTPS id 3d7b3fbe-ded4-11e9-97fb-bc764e2007e4; Tue, 24 Sep 2019 14:04:36 +0000 (UTC) Received: from sender by smtp.strato.de (RZmta 44.28.0 SBL|AUTH) with ESMTPSA id j06a90v8OE3O1mh (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (curve secp521r1 with 521 ECDH bits, eq. 15360 bits RSA)) (Client did not present a certificate); Tue, 24 Sep 2019 16:03:24 +0200 (CEST) X-Inumbo-ID: 3d7b3fbe-ded4-11e9-97fb-bc764e2007e4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1569333875; s=strato-dkim-0002; d=aepfle.de; h=References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: X-RZG-CLASS-ID:X-RZG-AUTH:From:Subject:Sender; bh=T9s9NtO9OB4r/h4Xfn5sQa8tUjL463W0NB1znGOmaEY=; b=n0Nw8V/vx72KoKlacDSRQpf+AkOvodMs5Z0N0tvqhIleIPe5w7HHbpsphQ9dtWLNPC frDkAaHnCoivs3zBTI4oP4g8gqqs0RQYA2XynrSELVf2VeDZ+fUH6mBPxV3Dq29QKARY WT+M5CYEW0P9rbjja4YQbkv9qUxZ7LcabF52JykFGvHtamKTUX54Qvz07gw3CkbocDqQ b+l/ejdQNXWCRcUuMCR5nTYytfXBJheAlirxZon0h6Wll5+SlEjq/pivc+nOmFFc4e9J eV5BkQTQNPZ1MRMNND7MM2bCV2yJFZRQ4uy5m2/Dkr8DYZqsEstXGjiFSuHrpY7a8XQg dmlg== X-RZG-AUTH: ":P2EQZWCpfu+qG7CngxMFH1J+3q8wa/QXkBR9MXjAuz7MdiQehTvc3KJf+j/F" X-RZG-CLASS-ID: mo00 From: Olaf Hering To: xen-devel@lists.xenproject.org Date: Tue, 24 Sep 2019 16:03:12 +0200 Message-Id: <20190924140319.11303-2-olaf@aepfle.de> X-Mailer: git-send-email 2.16.4 In-Reply-To: <20190924140319.11303-1-olaf@aepfle.de> References: <20190924140319.11303-1-olaf@aepfle.de> MIME-Version: 1.0 Subject: [Xen-devel] [PATCH RESEND v1 1/8] stubdom/vtpm: include stdio.h for declaration of printf X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Samuel Thibault , Olaf Hering , Quan Xu , Daniel De Graaf Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) The function read_vtpmblk uses printf(3), but stdio.h is not included in this file. This results in a warning from gcc-7: vtpmblk.c: In function 'read_vtpmblk': vtpmblk.c:322:7: warning: implicit declaration of function 'printf' [-Wimpl= icit-function-declaration] printf("Expected: "); vtpmblk.c:322:7: warning: incompatible implicit declaration of built-in fun= ction 'printf' vtpmblk.c:322:7: note: include '' or provide a declaration of 'pri= ntf' Signed-off-by: Olaf Hering --- stubdom/vtpm/vtpmblk.c | 1 + 1 file changed, 1 insertion(+) diff --git a/stubdom/vtpm/vtpmblk.c b/stubdom/vtpm/vtpmblk.c index fe529ab5ac..681f0c01b6 100644 --- a/stubdom/vtpm/vtpmblk.c +++ b/stubdom/vtpm/vtpmblk.c @@ -20,6 +20,7 @@ #include #include #include +#include =20 /*Encryption key and block sizes */ #define BLKSZ 16 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel From nobody Tue Nov 11 07:10:51 2025 Delivered-To: importer@patchew.org Received-SPF: none (zoho.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=none (zoho.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org ARC-Seal: i=1; a=rsa-sha256; t=1569333887; cv=none; d=zoho.com; s=zohoarc; b=gHdYXAmJ9L1GE1kbwShDhdGl85nTwhX1C/AmcjSech8MyqQaeKZD2hWnaYM7Osz5RR9dWcEKlH5SgteKb75HV3UH+ce6Lu9B3OGJO3l/SRWPuWw/f6zISnkePj6gr98pFzJXAu3tusBxnr9QdlYMWHG1rad3xNNpRKbTPUQJK+E= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1569333887; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To:ARC-Authentication-Results; bh=vHk8YQGfHmedVB63Q1JnQmfZH7LQOTw4qd6YES0UlJo=; b=Rq7NozCCzt/Nb85/7Q4orNIQxCwZhCWG5HizFyc0n610LEnhjKZ5Rxe4gafNwGhpNvNm8zOFyICde17AjnUAGxS4+rcF6GR4Y8XJW0GYQUy6lDci+UXpRG5C0nTVgJskPxErNl/h/F/VtJhSPcH8Jj7HMNnfP0C5bSDx4bGbDdY= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=fail; spf=none (zoho.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1569333886147174.96133212513803; Tue, 24 Sep 2019 07:04:46 -0700 (PDT) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1iClPj-0004cm-W1; Tue, 24 Sep 2019 14:03:35 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1iClPi-0004cb-SV for xen-devel@lists.xenproject.org; Tue, 24 Sep 2019 14:03:34 +0000 Received: from mo6-p01-ob.smtp.rzone.de (unknown [2a01:238:20a:202:5301::5]) by localhost (Halon) with ESMTPS id 18100ed0-ded4-11e9-97fb-bc764e2007e4; Tue, 24 Sep 2019 14:03:33 +0000 (UTC) Received: from sender by smtp.strato.de (RZmta 44.28.0 SBL|AUTH) with ESMTPSA id j06a90v8OE3Q1mi (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (curve secp521r1 with 521 ECDH bits, eq. 15360 bits RSA)) (Client did not present a certificate); Tue, 24 Sep 2019 16:03:26 +0200 (CEST) X-Inumbo-ID: 18100ed0-ded4-11e9-97fb-bc764e2007e4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1569333812; s=strato-dkim-0002; d=aepfle.de; h=References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: X-RZG-CLASS-ID:X-RZG-AUTH:From:Subject:Sender; bh=0hVHlozr9dEC+CBD27LsgyQXc0TkCiGvixA/+21xxZQ=; b=PM0HL26bjezL8rVw2l6dHkgpuNf71FkRB+dRx2PqWIFiK4QUwb9MjJU5ztYU30pjrP nxPPkvoUh72mYXW3q4GJpxQZu94KXOYfm6BNpcYVqaUDC5fZG79nBrFMTIyH0kOliBzh czHIuf9oTy7lszGLxIZZaAvbdlU9emyg3NsCKKUHzAaoIxkBhDF08imi2lwiDaplfxCH iBvh70APozCg/dT2YlFf7ZZrWHX1sXEU/Q9fghRJ1xz2og0DkVrATJkZlf9lGYX8j7L7 EBHEmbbx0KcosylK80EV/8kOUVbCTqgiwTFfZjts77j4E0PTgpmpU1zQYz9FGnCnB8BT WIgA== X-RZG-AUTH: ":P2EQZWCpfu+qG7CngxMFH1J+3q8wa/QXkBR9MXjAuz7MdiQehTvc3KJf+j/F" X-RZG-CLASS-ID: mo00 From: Olaf Hering To: xen-devel@lists.xenproject.org Date: Tue, 24 Sep 2019 16:03:13 +0200 Message-Id: <20190924140319.11303-3-olaf@aepfle.de> X-Mailer: git-send-email 2.16.4 In-Reply-To: <20190924140319.11303-1-olaf@aepfle.de> References: <20190924140319.11303-1-olaf@aepfle.de> MIME-Version: 1.0 Subject: [Xen-devel] [PATCH RESEND v1 2/8] tools: move scripts from etc to libexec X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Olaf Hering , Ian Jackson , Wei Liu Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) In the near future all fresh installations will have an empty /etc. The content of this directory will not be controlled by the package manager anymore. One of the reasons for this move is to make snapshots more robust. As a first step into this direction, move the hotplug scripts to libexec because they are not exactly configuration. Signed-off-by: Olaf Hering --- m4/paths.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/m4/paths.m4 b/m4/paths.m4 index 89d3bb8312..0ccc92d0ff 100644 --- a/m4/paths.m4 +++ b/m4/paths.m4 @@ -137,7 +137,7 @@ AC_SUBST(INITD_DIR) XEN_CONFIG_DIR=3D$CONFIG_DIR/xen AC_SUBST(XEN_CONFIG_DIR) =20 -XEN_SCRIPT_DIR=3D$XEN_CONFIG_DIR/scripts +XEN_SCRIPT_DIR=3D${LIBEXEC}/scripts AC_SUBST(XEN_SCRIPT_DIR) =20 case "$host_os" in _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel From nobody Tue Nov 11 07:10:51 2025 Delivered-To: importer@patchew.org Received-SPF: none (zoho.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=none (zoho.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org ARC-Seal: i=1; a=rsa-sha256; t=1569333913; cv=none; d=zoho.com; s=zohoarc; b=BvWmCd/HLZWD4f8BdavkUSjxLuhIPLtKxr7j5UkoAvTAjPDFjAAxd9XKvK2UZTa/13hfAvu6GqXUnGKbe7B0jARmpFH2+SQ+DR7U09GhNbSfOVLSUqAMBlcQmX1CPjuAMYZD02G64Hw8abJAc4eIXvE6dg/22QgYWs6YrMqpXdY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1569333913; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To:ARC-Authentication-Results; bh=w/H8YIt4NKTYBvlX/8rpdSgU1L/zBCMS3itFbzZim2k=; b=iFnrJS0KrCUSTuKd9ewgpRXO7fgeFVtPabwWFuPcLCIEhrokUy+ftS9tX5qZdLIc4MzRr4vRZaSyufGkS3T+KhzvfPFNrg8I8Yf38zUB5quYImdl86DVNQhPPP5NELUyYvjejpy7RQurEs/W6wgMCLkNgmy9Jbh05L5+O5XPrGM= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=fail; spf=none (zoho.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1569333913666575.1049161290046; Tue, 24 Sep 2019 07:05:13 -0700 (PDT) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1iClQF-0004ot-59; Tue, 24 Sep 2019 14:04:07 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1iClQD-0004oS-Vn for xen-devel@lists.xenproject.org; Tue, 24 Sep 2019 14:04:05 +0000 Received: from mo6-p01-ob.smtp.rzone.de (unknown [2a01:238:20a:202:5301::6]) by localhost (Halon) with ESMTPS id 25e97d98-ded4-11e9-bf31-bc764e2007e4; Tue, 24 Sep 2019 14:03:56 +0000 (UTC) Received: from sender by smtp.strato.de (RZmta 44.28.0 SBL|AUTH) with ESMTPSA id j06a90v8OE3S1mj (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (curve secp521r1 with 521 ECDH bits, eq. 15360 bits RSA)) (Client did not present a certificate); Tue, 24 Sep 2019 16:03:28 +0200 (CEST) X-Inumbo-ID: 25e97d98-ded4-11e9-bf31-bc764e2007e4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1569333836; s=strato-dkim-0002; d=aepfle.de; h=References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: X-RZG-CLASS-ID:X-RZG-AUTH:From:Subject:Sender; bh=jEOmbRny/ROk4euw9gy63jwyv17DX2u/l8o9dBTV3JA=; b=KrDtdRg0oZcaieFHjT8yg0V+AbfAyryE57SMTOmdPzD82+8D00Q84Zv5e6ICH6LZlQ vJbn4ByuQwsvMDU0FVGWbIStX55NuDkI6faMSy9h9ciAf9+W1vsLYSEQNLEFRJ+5phL3 TR4rxHtGkSWxks2aKH7wq/KXIGF4G///y6hQtUpt1ekblRIVwJLvx3mljCY9+eKCXscc wfufrqveEHiIRhYvxVXbKb7GGkL2yBekK6FCrwaaT+zz8lhKF3G26DdMXxofDtVe4gw8 XHdUk5m3MPjwfIEKtB/Edh4l9tOP39cKO/oAHLG0sXDBpp2UzpX2qVg92x2SKuE8y2Z8 ut4g== X-RZG-AUTH: ":P2EQZWCpfu+qG7CngxMFH1J+3q8wa/QXkBR9MXjAuz7MdiQehTvc3KJf+j/F" X-RZG-CLASS-ID: mo00 From: Olaf Hering To: xen-devel@lists.xenproject.org Date: Tue, 24 Sep 2019 16:03:14 +0200 Message-Id: <20190924140319.11303-4-olaf@aepfle.de> X-Mailer: git-send-email 2.16.4 In-Reply-To: <20190924140319.11303-1-olaf@aepfle.de> References: <20190924140319.11303-1-olaf@aepfle.de> MIME-Version: 1.0 Subject: [Xen-devel] [PATCH RESEND v1 3/8] Use XEN_SCRIPT_DIR to refer to /etc/xen/scripts X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Olaf Hering , Stefano Stabellini , Wei Liu , Konrad Rzeszutek Wilk , George Dunlap , Andrew Cooper , Ian Jackson , Tim Deegan , Julien Grall , Jan Beulich Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Now that scripts are stored in libexec, replace all hardcoded paths to use XEN_SCRIPT_DIR to expand the actual location. Update .gitignore. Signed-off-by: Olaf Hering --- .gitignore | 3 +++ docs/configure.ac | 3 +++ .../{xl-disk-configuration.5.pod =3D> xl-disk-configuration.5.pod.in} | 2 = +- ...etwork-configuration.5.pod =3D> xl-network-configuration.5.pod.in} | 4 = ++-- docs/man/xl.1.pod.in | 2 +- docs/man/{xl.conf.5.pod =3D> xl.conf.5.pod.in} | 6 = +++--- docs/misc/block-scripts.txt | 2 +- tools/xl/xl_cmdtable.c | 2 +- 8 files changed, 15 insertions(+), 9 deletions(-) rename docs/man/{xl-disk-configuration.5.pod =3D> xl-disk-configuration.5.= pod.in} (99%) rename docs/man/{xl-network-configuration.5.pod =3D> xl-network-configurat= ion.5.pod.in} (98%) rename docs/man/{xl.conf.5.pod =3D> xl.conf.5.pod.in} (97%) diff --git a/.gitignore b/.gitignore index 3ada0c4f0b..5aa4201d34 100644 --- a/.gitignore +++ b/.gitignore @@ -47,7 +47,10 @@ dist/* docs/tmp.* docs/html/ docs/man/xl.cfg.5.pod +docs/man/xl-disk-configuration.5.pod +docs/man/xl-network-configuration.5.pod docs/man/xl.1.pod +docs/man/xl.conf.5.pod docs/man1/ docs/man5/ docs/man7/ diff --git a/docs/configure.ac b/docs/configure.ac index e795bec04c..169480da6c 100644 --- a/docs/configure.ac +++ b/docs/configure.ac @@ -9,6 +9,9 @@ AC_CONFIG_FILES([ ../config/Docs.mk man/xl.cfg.5.pod man/xl.1.pod +man/xl-disk-configuration.5.pod +man/xl-network-configuration.5.pod +man/xl.conf.5.pod ]) AC_CONFIG_AUX_DIR([../]) =20 diff --git a/docs/man/xl-disk-configuration.5.pod b/docs/man/xl-disk-config= uration.5.pod.in similarity index 99% rename from docs/man/xl-disk-configuration.5.pod rename to docs/man/xl-disk-configuration.5.pod.in index 7965d5dd73..95c23b4a92 100644 --- a/docs/man/xl-disk-configuration.5.pod +++ b/docs/man/xl-disk-configuration.5.pod.in @@ -257,7 +257,7 @@ automatically determine the most suitable backend. =20 Specifies that B is not a normal host path, but rather information to be interpreted by the executable program I