From: "Luis R. Rodriguez" Subject: Re: [RFC v1 1/8] xen: make dom0 specific changes depend on XEN_DOM0 Date: Thu, 12 Feb 2015 21:44:24 +0100 Message-ID: <20150212204424.GN19988@wotan.suse.de> References: <1423720996-3332-1-git-send-email-mcgrof@do-not-panic.com> <1423720996-3332-2-git-send-email-mcgrof@do-not-panic.com> <54DC7886.7080802@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1YM0ce-0002zo-60 for xen-devel@lists.xenproject.org; Thu, 12 Feb 2015 20:44:28 +0000 Content-Disposition: inline In-Reply-To: <54DC7886.7080802@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: David Vrabel Cc: jgross@suse.com, xen-devel@lists.xenproject.org, boris.ostrovsky@oracle.com, "Luis R. Rodriguez" List-Id: xen-devel@lists.xenproject.org On Thu, Feb 12, 2015 at 09:55:18AM +0000, David Vrabel wrote: > On 12/02/15 06:03, Luis R. Rodriguez wrote: > > From: "Luis R. Rodriguez" > > > > These are Kconfig options which are known to only make > > sense with Xen dom0 support. This is as per the agreed > > upon changes to Xen's kconfig changes [0]. > [...] > > --- a/arch/x86/xen/Kconfig > > +++ b/arch/x86/xen/Kconfig > > @@ -35,13 +35,13 @@ config XEN_MAX_DOMAIN_MEMORY > > > > config XEN_SAVE_RESTORE > > bool > > - depends on XEN > > + depends on XEN_DOM0 > > select HIBERNATE_CALLBACKS > > default y > > This breaks save/restore of domUs. > > > config XEN_DEBUG_FS > > bool "Enable Xen debug and tuning parameters in debugfs" > > - depends on XEN && DEBUG_FS > > + depends on XEN_DOM0 && DEBUG_FS > > default n > > help > > Enable statistics output and various tuning options in debugfs. > > This is useful for domUs. > > > diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig > > index 08f41ad..34af197 100644 > > --- a/drivers/watchdog/Kconfig > > +++ b/drivers/watchdog/Kconfig > > @@ -1409,7 +1409,7 @@ config WATCHDOG_RIO > > > > config XEN_WDT > > tristate "Xen Watchdog support" > > - depends on XEN > > + depends on XEN_DOM0 > > help > > Say Y here to support the hypervisor watchdog capability provided > > by Xen 4.0 and newer. The watchdog timeout period is normally one > > Again, useful for domUs. OK that leaves only XEN_ACPI_PROCESSOR for the patch. Fixed. Luis