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: [EMAIL PROTECTED] >> [mailto:[EMAIL PROTECTED] Im Auftrag von Dietmar Maurer >> Gesendet: Freitag, 01. Februar 2008 07:05 >> An: [email protected] >> 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? >> > > > _______________________________________________ > Users mailing list > [email protected] > https://openvz.org/mailman/listinfo/users > _______________________________________________ Users mailing list [email protected] https://openvz.org/mailman/listinfo/users
