From patchwork Tue Sep 24 14:03:16 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Olaf Hering X-Patchwork-Id: 11158941 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 33CC71747 for ; Tue, 24 Sep 2019 14:05:39 +0000 (UTC) Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 0FE9A2064A for ; Tue, 24 Sep 2019 14:05:38 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=aepfle.de header.i=@aepfle.de header.b="iYdQmc0J" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0FE9A2064A Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=aepfle.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1iClQ0-0004iK-4D; Tue, 24 Sep 2019 14:03:52 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1iClPy-0004hn-Vu for xen-devel@lists.xenproject.org; Tue, 24 Sep 2019 14:03:51 +0000 X-Inumbo-ID: 1c69af0e-ded4-11e9-bf31-bc764e2007e4 Received: from mo6-p02-ob.smtp.rzone.de (unknown [2a01:238:20a:202:5302::12]) by localhost (Halon) with ESMTPS id 1c69af0e-ded4-11e9-bf31-bc764e2007e4; Tue, 24 Sep 2019 14:03:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1569333820; 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=nBR3zEU94WYdOXy7CgVjOc61VyMwjlW5XPqLtnBVt5M=; b=iYdQmc0J8dIergFitLr2Iyf3y1EqsZ0t4RriceViCdJzSgJwBVQMAm2LZQm1Mn4tzi iA9DMMnBCm53kZGoY+Y42rPvikc5FeInuEemOiVL+WYdCFoQUWCkx7wT8QqP5Iu/1zEi Wlk3sUyyUlnnKcoChYlqPSXM/FhmtqM3qEKM976xy2BN01vDoA9CwVxAFNcZAfPhM2e5 PLtxt/IsLixG2rhgINTBrZSfygRyHRi5g/Y70ZEnUcqncEY7O1BcqLluz37vOrUdRGiw nimZXJ2M1LY+A6sH4Qa9m+I4oLPZc6Njce+r+yCIdsKkiuJaTie6bdfFudTBDVQVALBQ cF0Q== X-RZG-AUTH: ":P2EQZWCpfu+qG7CngxMFH1J+3q8wa/QXkBR9MXjAuz7MdiQehTvc3KJf+j/F" X-RZG-CLASS-ID: mo00 Received: from sender by smtp.strato.de (RZmta 44.28.0 SBL|AUTH) with ESMTPSA id j06a90v8OE3W1ml (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:32 +0200 (CEST) From: Olaf Hering To: xen-devel@lists.xenproject.org Date: Tue, 24 Sep 2019 16:03:16 +0200 Message-Id: <20190924140319.11303-6-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 5/8] tools: remove empty xl.conf 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 Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" 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. Installing empty configuration files is not helpful for an empty /etc directory. The expected values are all described in xl.conf(5). There is no need to duplicate this info into another file. If the local admin really needs to tweak the defaults he will be able to create this file with the desired content. Signed-off-by: Olaf Hering Acked-by: Dario Faggioli --- tools/examples/Makefile | 1 - tools/examples/README | 1 - tools/examples/xl.conf | 44 -------------------------------------------- 3 files changed, 46 deletions(-) delete mode 100644 tools/examples/xl.conf diff --git a/tools/examples/Makefile b/tools/examples/Makefile index 2a6c5444d4..147ea590ef 100644 --- a/tools/examples/Makefile +++ b/tools/examples/Makefile @@ -6,7 +6,6 @@ XEN_READMES = README XEN_CONFIGS += xlexample.hvm XEN_CONFIGS += xlexample.pvlinux -XEN_CONFIGS += xl.conf XEN_CONFIGS += cpupool XEN_CONFIGS += $(XEN_CONFIGS-y) diff --git a/tools/examples/README b/tools/examples/README index c3f24d59fa..48ace82189 100644 --- a/tools/examples/README +++ b/tools/examples/README @@ -26,7 +26,6 @@ xen-hotplug-common.sh - sourced by vif-common.sh xen-network-common.sh - sourced by vif-common.sh xen-script-common.sh - sourced by xen-hotplug-common.sh oxenstored.conf - configuration file for oxenstored -xl.conf - configuration file for xl xlexample.hvm - a configuration script for creating a hvm domain with 'xl create' xlexample.pvlinux - a configuration script for creating a pv domain with diff --git a/tools/examples/xl.conf b/tools/examples/xl.conf deleted file mode 100644 index 0446deb304..0000000000 --- a/tools/examples/xl.conf +++ /dev/null @@ -1,44 +0,0 @@ -## Global XL config file ## - -# Control whether dom0 is ballooned down when xen doesn't have enough -# free memory to create a domain. "auto" means only balloon if dom0 -# starts with all the host's memory. -#autoballoon="auto" - -# full path of the lockfile used by xl during domain creation -#lockfile="/var/lock/xl" - -# default output format used by "xl list -l" -#output_format="json" - -# first block device to be used for temporary VM disk mounts -#blkdev_start="xvda" - -# default option to run hotplug scripts from xl -# if disabled the old behaviour will be used, and hotplug scripts will be -# launched by udev. -#run_hotplug_scripts=1 - -# default backend domain to connect guest vifs to. This can be any -# valid domain identifier. -#vif.default.backend="0" - -# default gateway device to use with vif-route hotplug script -#vif.default.gatewaydev="eth0" - -# default vif script to use if none is specified in the guest config -#vif.default.script="vif-bridge" - -# default bridge device to use with vif-bridge hotplug scripts -#vif.default.bridge="xenbr0" - -# Reserve a claim of memory when launching a guest. This guarantees immediate -# feedback whether the guest can be launched due to memory exhaustion -# (which can take a long time to find out if launching huge guests). -# see xl.conf(5) for details. -#claim_mode=1 - -# Specify global vcpu hard affinity masks. See xl.conf(5) for details. -#vm.cpumask="0-7" -#vm.pv.cpumask="0-3" -#vm.hvm.cpumask="3-7"