[Devel] Re: [RFC v2][PATCH 3/9] x86 support for checkpoint/restart
Dave Hansen
dave at sr71.net
Fri Aug 22 13:17:50 PDT 2008
On Wed, 2008-08-20 at 23:04 -0400, Oren Laadan wrote:+
> +#ifdef CONFIG_X86_64
> +
> +#error "CONFIG_X86_64 unsupported yet."
Well, I told you I'd write some Kconfig magic for you, but I can't since
I can't apply these patches. :)
You need this in a Kconfig file somewhere:
config CHECKPOINT_RESTART
prompt "Good prompt"
def_bool y
depends on X86_32 && EXPERIMENTAL
help
Lots of fun help...
config SELECT_ALL_NAMESPACES
prompt "Enable all kernel namespace support"
selects IPC_NS NET_NS ...
help
This option will save you having to go track down
all of the individual places that namespaces are
supported in the kernel.
If you don't turn this on, the restart porttion
of checkpoint/restart gets a lots less reliable...
probably in checkpoint/Kconfig.
Then, in all of the architectures' arch/*/Kconfig files, you need to:
source "checkpoint/Kconfig"
Then, the Makefile looks like this:
--- /dev/null 2008-04-22 10:49:52.000000000 -0700
+++ oren-cr.git-dave/checkpoint/Makefile 2008-08-22 12:30:53.000000000 -0700
@@ -0,0 +1 @@
+obj-$(CONFIG_CHECKPOINT_RESTART) += sys.o checkpoint.o restart.o
-- Dave
_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers
More information about the Devel
mailing list