[RFC v2][PATCH 3/9] x86 support for checkpoint/restart
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:
prompt "Good prompt"
depends on X86_32 && EXPERIMENTAL
Lots of fun help...
prompt "Enable all kernel namespace support"
selects IPC_NS NET_NS ...
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:
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
More information about the Containers