From patchwork Wed Oct 2 17:05:40 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Olaf Hering X-Patchwork-Id: 11171665 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 ABF3976 for ; Wed, 2 Oct 2019 17:07:34 +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 87B602086A for ; Wed, 2 Oct 2019 17:07:34 +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="irZafbaJ" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 87B602086A 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 1iFi4k-0006d0-8Z; Wed, 02 Oct 2019 17:06:06 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1iFi4i-0006cU-VW for xen-devel@lists.xenproject.org; Wed, 02 Oct 2019 17:06:04 +0000 X-Inumbo-ID: e4fcb53e-e536-11e9-bf31-bc764e2007e4 Received: from mo6-p02-ob.smtp.rzone.de (unknown [2a01:238:20a:202:5302::8]) by localhost (Halon) with ESMTPS id e4fcb53e-e536-11e9-bf31-bc764e2007e4; Wed, 02 Oct 2019 17:05:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1570035954; 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=irZafbaJmXlQvhDpK4ZEx07EAN4RpMzhplQg50lh6GjFHZFQe5GeOlhWLFp5zyDMCe srfHwEtB1hEq3Upd3OasTGUngSWVYY1dRNOov20QpbOE/odAR0ZTqKnPT29NSmdjocNj E7RTDxidpvpifUPbRi8lBkpJ66xr8fsLSBUQw7ZZw8RlRFsxdds/9eXXePMaI/IGjdZ+ se1PCgPKKqo/YtRWAljtTSMi0IUrXwpbIGHQO/KuHotA+PmTf4ohVdqExIC20ku5KZ9w NsMYGlSlpKJHChbAyG7rE3dlF7idQvJHuohaA87iF9Atb1JQxQMAG0qL8UuQrjWSJBet W8KQ== X-RZG-AUTH: ":P2EQZWCpfu+qG7CngxMFH1J+3q8wa/QXkBR9MXjAuzBW/OdlBZQ4AHSS2Gkg" X-RZG-CLASS-ID: mo00 Received: from sender by smtp.strato.de (RZmta 44.28.0 SBL|AUTH) with ESMTPSA id j06a90v92H5mUVg (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); Wed, 2 Oct 2019 19:05:48 +0200 (CEST) From: Olaf Hering To: xen-devel@lists.xenproject.org Date: Wed, 2 Oct 2019 19:05:40 +0200 Message-Id: <20191002170543.26571-6-olaf@aepfle.de> X-Mailer: git-send-email 2.16.4 In-Reply-To: <20191002170543.26571-1-olaf@aepfle.de> References: <20191002170543.26571-1-olaf@aepfle.de> MIME-Version: 1.0 Subject: [Xen-devel] [PATCH v2 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"