All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Rafael J. Wysocki" <rjw@sisk.pl>
To: Shriram Rajagopalan <rshriram@cs.ubc.ca>
Cc: linux-pm@lists.linux-foundation.org,
	xen-devel@lists.xensource.com,
	Iam Campbell <ian.campbell@citrix.com>,
	Pavel Machek <pavel@ucw.cz>
Subject: Re: [PATCH] xen: fix XEN_SAVE_RESTORE Kconfig dependencies
Date: Wed, 23 Feb 2011 10:41:37 +0100	[thread overview]
Message-ID: <201102231041.37406.rjw@sisk.pl> (raw)
In-Reply-To: <1298446066-11754-1-git-send-email-rshriram@cs.ubc.ca>

On Wednesday, February 23, 2011, Shriram Rajagopalan wrote:
> Make XEN_SAVE_RESTORE user visible and enable HIBERNATION and SWAP,
> if this option is enabled.
> Remove XEN_SAVE_RESTORE dependancy from PM_SLEEP.
> 
> Signed-off-by: Shriram Rajagopalan <rshriram@cs.ubc.ca>

Please rebase on top of suspend-2.6/linux-next
(git://git.kernel.org/pub/scm/linux/kernel/git/rafael/suspend-2.6.git).

> ---
>  arch/x86/xen/Kconfig |    6 ++++--
>  kernel/power/Kconfig |    2 +-
>  2 files changed, 5 insertions(+), 3 deletions(-)
> 
> diff --git a/arch/x86/xen/Kconfig b/arch/x86/xen/Kconfig
> index 5b54892..ab6c3a2 100644
> --- a/arch/x86/xen/Kconfig
> +++ b/arch/x86/xen/Kconfig
> @@ -37,8 +37,10 @@ config XEN_MAX_DOMAIN_MEMORY
>           portions of which are freed.
>  
>  config XEN_SAVE_RESTORE
> -       bool
> -       depends on XEN && PM

This line is being modified in linux-next already.

> +       bool "Enable Xen Guest save/restore/checkpoint"
> +       depends on XEN
> +       select SWAP
> +       select HIBERNATION
>         default y
>  
>  config XEN_DEBUG_FS
> diff --git a/kernel/power/Kconfig b/kernel/power/Kconfig
> index 2657299..ccff0ba 100644
> --- a/kernel/power/Kconfig
> +++ b/kernel/power/Kconfig
> @@ -92,7 +92,7 @@ config PM_SLEEP_SMP
>  
>  config PM_SLEEP
>  	bool
> -	depends on SUSPEND || HIBERNATION || XEN_SAVE_RESTORE
> +	depends on SUSPEND || HIBERNATION
>  	default y
>  
>  config PM_SLEEP_ADVANCED_DEBUG

Thanks,
Rafael

  parent reply	other threads:[~2011-02-23  9:41 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-23  7:27 [PATCH] xen: fix XEN_SAVE_RESTORE Kconfig dependencies Shriram Rajagopalan
2011-02-23  9:08 ` Ian Campbell
2011-02-23  9:08 ` Ian Campbell
2011-02-23  9:48   ` Rafael J. Wysocki
2011-02-23  9:48   ` Rafael J. Wysocki
2011-02-23 10:58   ` [Xen-devel] " Jan Beulich
2011-02-23 11:10     ` Ian Campbell
2011-02-23 11:10     ` Ian Campbell
2011-02-25  8:49       ` Jan Beulich
2011-02-25 18:19         ` [Xen-devel] " Rafael J. Wysocki
2011-02-25 18:19         ` Rafael J. Wysocki
2011-02-25  8:49       ` [Xen-devel] " Jan Beulich
2011-02-23  9:41 ` Rafael J. Wysocki
2011-02-23  9:41 ` Rafael J. Wysocki [this message]
2011-02-23 16:23 ` [PATCH v2] " Shriram Rajagopalan
2011-02-23 16:23 ` Shriram Rajagopalan
2011-02-23 19:51   ` Rafael J. Wysocki
2011-02-23 19:51   ` Rafael J. Wysocki
  -- strict thread matches above, loose matches on Subject: below --
2011-02-23  7:27 [PATCH] " Shriram Rajagopalan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201102231041.37406.rjw@sisk.pl \
    --to=rjw@sisk.pl \
    --cc=ian.campbell@citrix.com \
    --cc=linux-pm@lists.linux-foundation.org \
    --cc=pavel@ucw.cz \
    --cc=rshriram@cs.ubc.ca \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.