From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jim Paris Subject: Re: Unable to pass multiple cores / CPUs to guests Date: Mon, 30 Jan 2012 12:44:45 -0500 Message-ID: <20120130174445.GA23238@psychosis.jim.sh> References: <4F24FDBC.6000902@binarus.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: kvm@vger.kernel.org To: Binarus Return-path: Received: from jim.sh ([75.150.123.25]:38980 "EHLO psychosis.jim.sh" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752099Ab2A3Ruf (ORCPT ); Mon, 30 Jan 2012 12:50:35 -0500 Content-Disposition: inline In-Reply-To: <4F24FDBC.6000902@binarus.de> Sender: kvm-owner@vger.kernel.org List-ID: Binarus wrote: > Dear all, > > it seems that I am unable to pass multiple cores / CPUs to KVM > guests. Whatever I do, the guests only report one CPU / core. ... > /usr/bin/qemu-system-x86_64 -M pc -cpu host -smp cores=2,threads=1,sockets=1 -drive file=/dev/sda6,if=virtio,cache=none,index=0 -drive file=/dev/sdb,if=virtio,cache=none,index=1 -cdrom /dev/cdrom -pidfile ./qemu-garak.pid -boot c -k de -m 4096 -smp 1 -device pci-assign,host=01:05.0 -daemonize -usb -usbdevice "tablet" -name garak -net nic,vlan=0,model=virtio,macaddr=02:01:01:01:01:01 -net tap,vlan=0,ifname=virtnet1,script=/etc/qemu-ifup,downscript=/etc/qemu-ifup -vnc :1 Remove the "-smp 1". -jim