From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: SMP Example using KVM only ? Date: Wed, 23 Nov 2011 13:03:53 +0200 Message-ID: <4ECCD319.70102@redhat.com> References: <4ECCCBB9.1080209@imag.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org To: mian-muhammad.hamayun@imag.fr Return-path: Received: from mx1.redhat.com ([209.132.183.28]:58238 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751956Ab1KWLEC (ORCPT ); Wed, 23 Nov 2011 06:04:02 -0500 In-Reply-To: <4ECCCBB9.1080209@imag.fr> Sender: kvm-owner@vger.kernel.org List-ID: On 11/23/2011 12:32 PM, Mian M. Hamayun wrote: > Hello Everyone, > > I am currently using kvm-85 (I know its pretty old ... :)) and it has > an smptest example in "test/x86/". > This example works for 1 cpu but doesn't work for more than one cpus. > This issue has already been discussed on KVM Mailing list. > And I 'think' this example has been removed from the later versions of > KVM/QEMU-KVM code base. > > I have also tested the latest qemu-kvm with multiple processors, it > works, but the code base is quite large. > What I am interested in is only using KVM for my platform, with smp > support, and without QEMU. > > Is there a simple example for testing KVM with SMP support ? or if > someone could outline the changes required to make the "smptest" > example work in kvm-85. > You can take a look at kvm-tool, git://github.com/penberg/linux-kvm.git. While it's not exactly trivial, it's a lot simpler than qemu. -- error compiling committee.c: too many arguments to function