[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] Squeeze / Xen 4.01 : xm vcpu-set


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: Christophe Bailleux <ch.bailleux@xxxxxxxxx>
  • Date: Thu, 17 Mar 2011 10:20:54 +0100
  • Delivery-date: Thu, 17 Mar 2011 02:21:50 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=jSK9keVi1q1tar3i7Rbei1R+wjHzhTRFHqUUtqkuvQeVDDO+CsEAfyDaNmgaAh1uXT y7zlZlodSFLjROG5VK4CgIRiJzMbmqE7nLQmwNnLmMHHpIOc7F7zc+sFnvRe09nJl2zn 6pHPWOP/xPplUbVWyf1u+JXbpfiYlU1w+viSM=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Hi,

I don't understand something about the vcpu-set function.
My configuration:

memory = 2048
cpu = '1-2'
maxvcpu = 4
vcpus = 1


When the DomU is running, and when i try to set 2 or 3 vpcu i get the error :

xm vcpu-set domain_name 2

Error: Cannot set vcpus greater than max vcpus on running domain
Usage: xm vcpu-set <Domain> <vCPUs>

Set the number of active VCPUs for allowed for the domain


Why ? How can i use vcpu-set function ?

I tried an other configuration:

memory = 2048
cpu = '1-2'
maxvcpu = 4
vcpus = 4


In this case, when the Domu is running, it uses 4 vcpus.
When i try to set 2 vcpus, the command xm vcpu-set domain_name 2  is working fine.
But in my xentop is see 4 vcpus and not 2... Why ? 

Thanks for your help.

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.