Open main menu

OpenVZ Virtuozzo Containers Wiki β

Kernel patches

Revision as of 18:06, 28 April 2015 by Kir (talk | contribs) (created (draft))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This document describes how to contribute your patches to the OpenVZ kernel. In a nutshell, the process is similar to the one for the upstream kernel — we use git for source control and a mailing list for communication.

Contents

Source code

Kernel source code is available from git repository at

https://src.openvz.org/projects/OVZ/repos/vzkernel/browse

To clone, use

git clone https://src.openvz.org/scm/ovz/vzkernel.git

Editing

As with the upstream kernel, modifications to the code should conform to the Linux kernel coding style.

Preparing patches

Use git format-patch to prepare your patches. See git documentation for more info.

Checkpatch

There is a tool (scripts/checkpatch.pl) that should be used to check your patches. Use

./scripts/checkpatch.pl *.patch

It will produce a detailed report on style problems in your patch(es). Make sure to fix all the errors (some warnings may be ignored) before sending.

Sending patches

Please send your patches to devel (AT) openvz.org mailing list, preferably using git send-email.

You need to be subscribed in order to post. The list is managed by mailman, there are two ways to subscribe:

  1. Send an email to devel-join (AT) openvz.org
  2. Use a web interface at https://lists.openvz.org/mailman/listinfo/devel
  Note: You need to be subscribed first in order to be able to post.