OpenVZ Forum


Home » Mailing lists » Devel » Documentation on Development
Documentation on Development [message #12841] Fri, 11 May 2007 08:46 Go to next message
Christian Kaiser2 is currently offline  Christian Kaiser2
Messages: 27
Registered: May 2007
Junior Member
Hi all,

I just started to do some research on OpenVZ. In about one week I will
start to work on OpenVZ on POWER and later to I will try to get it work on
Cell. I wanted to know if there are some more Documents concerning the
OpenVZ Development? Is there a test suite or something like that to test
OpenVZ?

Mit freundlichen Grüßen / Best Regards
Christian Kaiser

IBM Deutschland Entwicklung GmbH
Open Systems Firmware Development
mail: ckaiser2@de.ibm.com


IBM Deutschland Entwicklung GmbH
Vorsitzender des Aufsichtsrats: Johann Weihen
Geschäftsführung: Herbert Kircher
Sitz der Gesellschaft: Böblingen
Registergericht: Amtsgericht Stuttgart, HRB 243294
Re: Documentation on Development [message #12849 is a reply to message #12841] Fri, 11 May 2007 13:00 Go to previous messageGo to next message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

Hello Christian,

To begin with, OpenVZ is 95% platform-independent that makes porting
quite easy. We have already ported to POWER, although we don't have
access to POWER hardware at the moment :(

We keep the sources of our kernels in git repository, see
http://git.openvz.org/. You might start working with either 2.6.18-based
or 2.6.20-based kernel, or both.

Regarding the porting process, there is some basic information on our
wiki here: http://wiki.openvz.org/Porting_the_kernel. You can certainly
post all your questions (and patches) here, and can rely on support from
our kernel team.

Having said that, there is one feature that is very arch-specific. This
is checkpointing, an ability to freeze a VE and dump its complete state
into a file (and later restore it) -- a precursor for live migration
feature. If you want to port this stuff, you need to dig deep into
kernel/cpt/ and ask questions to this list.

As for the testing, aside from basic functionality, we usually run VE
start/stop test -- the idea is to have many VEs starting and stopping in
parallel -- trying to catch some locking bugs etc. Unfortunately we do
not have any tests open sourced, but we will definitely want to help
testing as well.

Christian Kaiser2 wrote:
> Hi all,
>
> I just started to do some research on OpenVZ. In about one week I will
> start to work on OpenVZ on POWER and later to I will try to get it work on
> Cell. I wanted to know if there are some more Documents concerning the
> OpenVZ Development? Is there a test suite or something like that to test
> OpenVZ?
>
Re: Documentation on Development [message #12888 is a reply to message #12849] Mon, 14 May 2007 10:13 Go to previous messageGo to next message
Christian Kaiser2 is currently offline  Christian Kaiser2
Messages: 27
Registered: May 2007
Junior Member
Kir Kolyshkin <kir@openvz.org> wrote on 11.05.2007 15:00:41:

> Hello Christian,
>
> To begin with, OpenVZ is 95% platform-independent that makes porting
> quite easy. We have already ported to POWER, although we don't have
> access to POWER hardware at the moment :(

So I will test it in a few days ;-)

> As for the testing, aside from basic functionality, we usually run VE
> start/stop test -- the idea is to have many VEs starting and stopping in
> parallel -- trying to catch some locking bugs etc. Unfortunately we do
> not have any tests open sourced, but we will definitely want to help
> testing as well.

I did some Kernel System Call Tests of the LTP-20070430 (
http://ltp.sourceforge.net) inside a VE. 20 Tests failed but more then 700
passed. Most of the failed ones had to do with Swap space and Setting time.
This is unavailable inside a VE, right?

Mit freundlichen Grüßen / Best Regards
Christian Kaiser

IBM Deutschland Entwicklung GmbH
Open Systems Firmware Development
mail: ckaiser2@de.ibm.com


IBM Deutschland Entwicklung GmbH
Vorsitzender des Aufsichtsrats: Johann Weihen
Geschäftsführung: Herbert Kircher
Sitz der Gesellschaft: Böblingen
Registergericht: Amtsgericht Stuttgart, HRB 243294
Re: Documentation on Development [message #12893 is a reply to message #12888] Mon, 14 May 2007 12:03 Go to previous message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

Christian Kaiser2 wrote:
> Kir Kolyshkin <kir@openvz.org> wrote on 11.05.2007 15:00:41:
>
>
>> Hello Christian,
>>
>> To begin with, OpenVZ is 95% platform-independent that makes porting
>> quite easy. We have already ported to POWER, although we don't have
>> access to POWER hardware at the moment :(
>>
>
> So I will test it in a few days ;-)
>
Good.
>
>> As for the testing, aside from basic functionality, we usually run VE
>> start/stop test -- the idea is to have many VEs starting and stopping in
>> parallel -- trying to catch some locking bugs etc. Unfortunately we do
>> not have any tests open sourced, but we will definitely want to help
>> testing as well.
>>
>
> I did some Kernel System Call Tests of the LTP-20070430 (
> http://ltp.sourceforge.net) inside a VE. 20 Tests failed but more then 700
> passed. Most of the failed ones had to do with Swap space and Setting time.
> This is unavailable inside a VE, right?
>
Right, some hardware-dependent functionality is naturally not available
in VE. So, each fail has to be checked and examined -- is that a fail or
this test have to be removed (or reworked).

Still, in case of setting system time -- if you grant a VE a sys_time
capability (vzctl set NNN --capability sys_time:on --save) you'll be
able to set system time from inside a VE.

> Mit freundlichen Grüßen / Best Regards
> Christian Kaiser
>
> IBM Deutschland Entwicklung GmbH
> Open Systems Firmware Development
> mail: ckaiser2@de.ibm.com
>
>
> IBM Deutschland Entwicklung GmbH
> Vorsitzender des Aufsichtsrats: Johann Weihen
> Geschäftsführung: Herbert Kircher
> Sitz der Gesellschaft: Böblingen
> Registergericht: Amtsgericht Stuttgart, HRB 243294
>
>
>
Previous Topic: [PATCH -mm] proc: introduce and use pde_users_dec()
Next Topic: NFSv3 client OOPS during LTP test
Goto Forum:
  


Current Time: Sun Aug 04 21:13:11 GMT 2024

Total time taken to generate the page: 0.03103 seconds