KVM - The Linux Kernel-Based Virtual Machine
News, Blogs and Resources on the Linux (KVM) Kernel-Based Virtual Machine

CPU limitations

2 replies [Last post]
corny335
Offline
Joined: Apr 25 2009
Points: 0

Hi,
i have the following problem:
I got a amd opteron server with 32 (4*8) cpus.

Since kvm is only able to created a virtual machine with 16 cpus, i changed KVM_MAX_VCPUS, MAX_VCPUS and MAX_CPUS
as suggested in
http://www.linux-kvm.org/wiki/images/b/be/KvmForum2008$kdf2008_6.pdf

after compiling everything is shows the right number of maximum cpus in the virt-manager,
but it is still not working.

If i start for example my virtual machine with

kvm -m 4 -smp 30 disk0

i get a segmentation fault.
in the logfile it looks like that:

[ 4440.424512] __ratelimit: 18 callbacks suppressed
[ 4440.424523] kvm[7054]: segfault at 1ae5cf6b0 ip 00000000004092ba sp 00007fff3dbb8dc0 error 4 in kvm[400000+1e1000]

Any idee that is missing or what is wrong?

cheers
cornelius

corny335
Offline
Joined: Apr 25 2009
Points: 0
of cause its not kvm -m 4

of cause its not
kvm -m 4 -smp 30 disk0
it should be
kvm -m 4000 -smp 30 disk0

phone number lookup (not verified)
good work

good work

Post new comment

The content of this field is kept private and will not be shown publicly.
Type the characters you see in this picture. (verify using audio)
Type the characters you see in the picture above; if you can't read them, submit the form and a new image will be generated. Not case sensitive.