All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] xen: fix XEN_SAVE_RESTORE Kconfig dependencies
@ 2011-02-23  7:27 Shriram Rajagopalan
  2011-02-23  9:08 ` Ian Campbell
                   ` (5 more replies)
  0 siblings, 6 replies; 19+ messages in thread
From: Shriram Rajagopalan @ 2011-02-23  7:27 UTC (permalink / raw)
  To: xen-devel
  Cc: Rafael J. Wysocki, Shriram Rajagopalan, linux-pm, Iam Campbell,
	Pavel Machek

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>
---
 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
+       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
-- 
1.7.0.4

^ permalink raw reply related	[flat|nested] 19+ messages in thread
* [PATCH] xen: fix XEN_SAVE_RESTORE Kconfig dependencies
@ 2011-02-23  7:27 Shriram Rajagopalan
  0 siblings, 0 replies; 19+ messages in thread
From: Shriram Rajagopalan @ 2011-02-23  7:27 UTC (permalink / raw)
  To: xen-devel; +Cc: Shriram Rajagopalan, linux-pm, Iam Campbell

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>
---
 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
+       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
-- 
1.7.0.4

^ permalink raw reply related	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2011-02-25 18:19 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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: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:08 ` Ian Campbell
2011-02-23  9:41 ` Rafael J. Wysocki
2011-02-23  9:41 ` Rafael J. Wysocki
2011-02-23 16:23 ` [PATCH v2] " Shriram Rajagopalan
2011-02-23 19:51   ` Rafael J. Wysocki
2011-02-23 19:51   ` Rafael J. Wysocki
2011-02-23 16:23 ` Shriram Rajagopalan
  -- strict thread matches above, loose matches on Subject: below --
2011-02-23  7:27 [PATCH] " Shriram Rajagopalan

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.