From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45753) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UyiJD-0004GP-Ev for qemu-devel@nongnu.org; Mon, 15 Jul 2013 08:55:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UyiJ9-00047C-Bi for qemu-devel@nongnu.org; Mon, 15 Jul 2013 08:55:19 -0400 Received: from mail-2.de-punkt.de ([2a00:12c0:1:64::5dbe:40ee]:44931) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UyiJ8-00046v-W0 for qemu-devel@nongnu.org; Mon, 15 Jul 2013 08:55:15 -0400 Received: from localhost (localhost [127.0.0.1]) by mail-2.de-punkt.de (Postfix) with ESMTP id A085A3A347 for ; Mon, 15 Jul 2013 14:55:12 +0200 (CEST) Received: from mail-2.de-punkt.de ([127.0.0.1]) by localhost (mail-2.de-punkt.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZCUPe8WH-g2I for ; Mon, 15 Jul 2013 14:55:12 +0200 (CEST) Received: from [192.168.1.152] (p4FD060DC.dip0.t-ipconnect.de [79.208.96.220]) (Authenticated sender: oliver.francke@filoo.de) by mail-2.de-punkt.de (Postfix) with ESMTPSA id 5C1E13A30E for ; Mon, 15 Jul 2013 14:55:12 +0200 (CEST) Message-ID: <51E3F12F.1090708@filoo.de> Date: Mon, 15 Jul 2013 14:55:11 +0200 From: Oliver Francke MIME-Version: 1.0 References: <6ba0cab5.1983.13fcb33e2f0.Coremail.kvmluck@163.com> In-Reply-To: <6ba0cab5.1983.13fcb33e2f0.Coremail.kvmluck@163.com> Content-Type: multipart/alternative; boundary="------------070009040204040004080507" Subject: Re: [Qemu-devel] guest xp vm can not recognize vcpu List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org This is a multi-part message in MIME format. --------------070009040204040004080507 Content-Type: text/plain; charset=gbk; format=flowed Content-Transfer-Encoding: quoted-printable Hi, from the topology-line I would assume, you should switch sockets=3D1 and=20 cores=3D2, multiple sockets would mean multiple processors vs. one=20 processor with multiple cores. Hope it helps, Oliver. On 07/11/2013 02:49 AM, yue-kvm wrote: > hi, all > in guest xp vm , device management shows a help sign on cpu device, it=20 > has two vcpu, only one is recognized(NODE has two physical cpu). > qemu is build by myself from souce code, qemu-1.5.0, centos 6.4 > a picture is attached . > ---libvirt-------------- > 2 > > hvm > > > > > > > > > > > > ----------libvirt-------------- -- > > --=20 Oliver Francke filoo GmbH Moltkestra?e 25a 33330 G=A8=B9tersloh HRB4355 AG G=A8=B9tersloh Gescha"ftsf=A8=B9hrer: J.Rehpo"hler | C.Kunz Folgen Sie uns auf Twitter: http://twitter.com/filoogmbh --------------070009040204040004080507 Content-Type: text/html; charset=gbk Content-Transfer-Encoding: quoted-printable
Hi,

from the topology-line I would assume, you should switch sockets=3D= 1 and cores=3D2, multiple sockets would mean multiple processors vs. one processor with multiple cores.

Hope it helps,

Oliver.

On 07/11/2013 02:49 AM, yue-kvm wrote:
hi, all
in guest xp vm , device management shows a help sign on cpu device, it has two vcpu, only one is recognized(NODE has two physical cpu).
qemu is build by myself from souce code, qemu-1.5.0, centos 6.4
a picture is attached .
---libvirt--------------
<vcpu placement=3D'static'>2</vcpu>
  <os>
    <type arch=3D'x86_64' machine=3D'pc-i440fx-1.5'>hvm</type>
    <boot dev=3D'cdrom'/>
    <bootmenu enable=3D'yes'/>
  </os>
  <features>
    <acpi/>
    <apic/>
    <pae/>
  </features>
  <cpu>
    <topology sockets=3D'2' cores=3D'1' threa= ds=3D'1'/>
  </cpu>
----------libvirt-------------- --




--=20

Oliver Francke

filoo GmbH
Moltkestraße 25a
33330 G=A8=B9tersloh
HRB4355 AG G=A8=B9tersloh

Geschäftsf=A8=B9hrer: J.Rehpöhler | C.Kunz

Folgen Sie uns auf Twitter: http://twitter.com/filoogmbh
--------------070009040204040004080507--