[Devel] [PATCH 1/4] Virtualization/containers: introduction

Kirill Korotaev dev at openvz.org
Mon Feb 6 13:57:51 PST 2006


Hello,

I tried to take into account all the comments from you guys (thanks a 
lot for them!) and prepared a new version of virtualization patches. I 
will send only 4 patches today, just not to overflow everyone and keep 
it clear/tidy/possible to review.

This patch introduces some abstract container kernel structure and a 
number of operations on it.

The important properties of the proposed container implementation:
- each container has unique ID in the system
- each process in the kernel can belong to one container only
- effective container pointer (econtainer()) is used on the task to 
avoid insertion of additional argument "container" to all functions 
where it is required.
- kernel compilation with disabled virtualization should result in old 
good linux kernel

Patches following this one will be used for virtualization of the kernel 
resources based on this container infrastructure, including those VPID 
patches I sent before. Every virtualized resource can be given separate 
config option if needed (just give me to know if it is desired).

Signed-Off-By: Kirill Korotaev <dev at openvz.org>

Kirill

P.S. I understand that this virtualization spam can be unintersting for 
some of you, just give me to know if you want to be removed from CC.

P.P.S. All patches are against 2.6.16-rc2-git2 and compile when 
virtualization=n.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: diff-container-struct
URL: <http://lists.openvz.org/pipermail/devel/attachments/20060207/7fc251db/attachment-0001.ksh>


More information about the Devel mailing list