Cornelius Wefelscheid wrote:
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 4000 -smp 30 disk0.img 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 what is missing or what is wrong?
Get a core dump and look at it with gdb, you'll probably see the problem immediately.
-- Do not meddle in the internals of kernels, for they are subtle and quick to panic. -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html