check vzctl sources. it calls other OVZ-specific syscalls by their numbers,
like sys_setluid, sys_setublimit etc.
For creating fairsched node you'll need to call fairsched_mknod first, then move
the process to this node using fairsched_mvpr
Dietmar Maurer wrote:
> OK, basically found the syscall interface in kernel/fairsched.c
>
> But how do I find out the syscall numbers, i.e how do I
> call sys_fairsched_mknod() with userspace syscall()
>
> - Dietmar
>
>> -----Ursprüngliche Nachricht-----
>> Von: users-bounces@openvz.org
>> [mailto:users-bounces@openvz.org] Im Auftrag von Dietmar Maurer
>> Gesendet: Freitag, 01. Februar 2008 07:05
>> An: users@openvz.org
>> Betreff: [Users] openvz and qemu
>>
>> Hi all,
>>
>> i want to run a few qemu VMs inside VE0. Just wonder how to
>> set fairsched properties for a single process?
>>
>> - howto create a new faisched group (for the qemu process)?
>> - howto assign weight/rate
>>
>> or is that not possible at all?
>>
>
>