OpenVZ Forum


Home » Mailing lists » Users » openvz and qemu
AW: AW: openvz and qemu [message #27091 is a reply to message #26803] Fri, 08 February 2008 17:07 Go to previous messageGo to previous message
Dietmar Maurer is currently offline  Dietmar Maurer
Messages: 52
Registered: March 2007
Member
> 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

OK, I wrote a small (perl) script to test those syscalls, and everything
work as expected, for example:

..
fairsched_mknod (0, 500, 400);
fairsched_vcpus (400, 1);
set_cpulimit (400, 25);
fairsched_mvpr ($$, 400);
fork_and_do_something(); # runs with 25% cpu
wait
fairsched_rmnod (400);
..

work perfectly.

But when I call fairsched_rmnod(400) from another process while there is
still a process running inside 400 the system freezes. I get a kernel
panic somewhere inside move_task_off_dead_cpu.

any idea how to fix that?

- Dietmar
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: AW: problems wit 2.6.24 from git
Next Topic: virtual machine not able to ping out side netwrok
Goto Forum:
  


Current Time: Tue Jun 24 01:11:39 GMT 2025

Total time taken to generate the page: 0.05584 seconds