[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#496028: linux-2.6: host kernel oopses when adding a cpu to a kvm virtual machine



On Fri, 22 Aug 2008, Rik Theys wrote:

> Package: linux-2.6
> Version: 2.6.26-3
> Severity: normal
> 
> 
> I'm running a kvm virtual machine (with CentOS 5.2 as the guest OS, but it doesn't seem to
> matter) on a Lenny host (using the 2.6.26 kernel and kvm from unstable). When I try to
> hot-add a cpu to the virtual machine, the host kernel oopses and becomes unresponsive after
> a few minutes/seconds.
> 
> I'm not sure this is a kernel or kvm bug.
> 
> I've added the cpu to the virtual machine by logging in on the kvm monitor interface of
> the virtual machine and entering: cpu_set 1 online
> 
> I'm not 100% sure this is the correct way to hot-add a CPU. I can't seem to find the
> documented way to do this using google. Also asked on #kvm but got no response.
> 
> The kvm virtual machine was started with the following command:
> 
> kvm -m 1024 -smp 1 -monitor tcp:localhost:8888,server,nowait -localtime -drive file=/test2-local.img,if=ide,boot=on -net nic,macaddr=00:16:3e:00:00:02,vlan=0, -net tap,script=/etc/kvm/kvm-ifup,vlan=0 -vnc 127.0.0.1:1 -daemonize
> 
> I've noticed some kvm fixes in upstreams 2.6.26.3 release but am not sure they fix this issue.

right please try out sid snapshots, see apt lines
-> http://wiki.debian.org/DebianKernel
they carry 2.6.26.3



Reply to: