From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: CPU Limitations Date: Tue, 28 Apr 2009 11:41:37 +0300 Message-ID: <49F6C141.8080504@redhat.com> References: <1240843770.7092.12.camel@cornelius> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org To: Cornelius Wefelscheid Return-path: Received: from mx2.redhat.com ([66.187.237.31]:52037 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752134AbZD1Ilq (ORCPT ); Tue, 28 Apr 2009 04:41:46 -0400 In-Reply-To: <1240843770.7092.12.camel@cornelius> Sender: kvm-owner@vger.kernel.org List-ID: 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.