this doesn't look good for a full virtualization solution, since proc should be virtualized as well :)How do we want to create the container? In our patch we did it through a /proc/container filesystem. Which created the container object and then on fork/exec switched over.
How about an additional sys_exec_container( exec_args + "container_name"). This does all the work like exec, but creates new container with name "..." and attaches task to new container. If name exists, an error -EEXIST will be raised !
Why do you need exec? Kirill - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [RFC][PATCH 1/5] Virtualization/containers: startup
- From: Cedric Le Goater <[email protected]>
- Re: [RFC][PATCH 1/5] Virtualization/containers: startup
- From: Hubertus Franke <[email protected]>
- Re: [RFC][PATCH 1/5] Virtualization/containers: startup
- References:
- [RFC][PATCH 1/5] Virtualization/containers: startup
- From: Kirill Korotaev <[email protected]>
- Re: [RFC][PATCH 1/5] Virtualization/containers: startup
- From: Linus Torvalds <[email protected]>
- Re: [RFC][PATCH 1/5] Virtualization/containers: startup
- From: Kirill Korotaev <[email protected]>
- Re: [RFC][PATCH 1/5] Virtualization/containers: startup
- From: Linus Torvalds <[email protected]>
- Re: [RFC][PATCH 1/5] Virtualization/containers: startup
- From: Dave Hansen <[email protected]>
- Re: [RFC][PATCH 1/5] Virtualization/containers: startup
- From: Greg KH <[email protected]>
- Re: [RFC][PATCH 1/5] Virtualization/containers: startup
- From: Hubertus Franke <[email protected]>
- [RFC][PATCH 1/5] Virtualization/containers: startup
- Prev by Date: Re: Wanted: hotfixes for -mm kernels
- Next by Date: [2.6 patch] let IPW2{1,2}00 select IEEE80211
- Previous by thread: Re: [RFC][PATCH 1/5] Virtualization/containers: startup
- Next by thread: Re: [RFC][PATCH 1/5] Virtualization/containers: startup
- Index(es):