[Users] kvm module for centos ovzkernel?

Dietmar Maurer dietmar at proxmox.com
Fri Apr 2 02:14:31 EDT 2010


Hi Scott,

> No, the OpenVZ Project does NOT provide KVM module packages.  For that,
> see a fairly new project named OpenNode.  It's available as both an
> addon repo for CentOS and a bare-metal iso installer.
> 
> http://opennode.activesys.org/
> 
> I've been using / testing their latest release for a couple of weeks
> now and it works well.

We also run kvm on ovz kernels. But it seems that the latest ovzkernel has problems with posix timers, so kvm mouse movement in not smooth. Can you reproduce that problem too?

By default kvm uses timer_create() and timer_settime() syscalls.

To show the behavior I use the following command:

 /usr/libexec/qemu-kvm -drive file=ubuntu-9.04-desktop-amd64.iso,if=ide,index=2,media=cdrom -m 512 -net none -clock dynticks

Everything runs normal when I use any other timer option ('rtc' or 'unix'). For example this works perfectly:

 /usr/libexec/qemu-kvm -drive file=ubuntu-9.04-desktop-amd64.iso,if=ide,index=2,media=cdrom -m 512 -net none -clock unix

I also tested with standard redhat kernel without openvz patches - everything work well there.

We run on debian, but you can also reproduce the bug on RHEL/CENTOS with the packages provided by opennode:

# wget http://opennode.activesys.org/CentOS/5/opennode/x86_64/RPMS/ovzkernel-2.6.18-164.11.1.el5.028stab068.3.x86_64.rpm
# wget http://opennode.activesys.org/CentOS/5/opennode/x86_64/RPMS/kmod-kvm-83-105.asys.22.4.x86_64.rpm
# wget http://opennode.activesys.org/CentOS/5/opennode/x86_64/RPMS/kvm-83-105.asys.22.4.x86_64.rpm

# rpm -i ovzkernel-2.6.18-164.11.1.el5.028stab068.3.x86_64.rpm
# rpm -i kmod-kvm-83-105.asys.22.4.x86_64.rpm
# rpm -i kvm-83-105.asys.22.4.x86_64.rpm

Any ideas whats wrong?

- Dietmar



More information about the Users mailing list