Re: setvcpus libvirt 1.2.9

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

 



On Wed, Nov 05, 2014 at 11:35:37AM +0100, Thomas Stein wrote:
Hello.

I'm struggeling a little bit with the setvcpus command. I'm trying now
to get this running for a linux VM. Here is what i have:

<vcpu placement='auto' current='2'>4</vcpu>

Now the VM is starting with 2 CPUs. When i try to increase the number of
CPUs i get:

setvcpus dev --guest 4
error: invalid argument: requested vcpu count is greater than the count
of enabled vcpus in the domain: 4 > 2


This sets the current number of cpus and that cannot be changed live
(unless you have cpu hot(un)plug).

Strange thing is when i set in the xml file:

<vcpu placement='auto' current='4'>4</vcpu>

the VM starts with 4CPUs and setting the CPUs works.


Because the max is 4 and you're setting the "current" number.

I can do:

setvcpus dev --guest 2

and:

setvcpus dev --guest 4

Is this a bug? Should i try to upgrade to 1.2.10? There seem to be a lot
of changes in it regarding setvcpus.

thanks and cheers
t.

_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users

Attachment: signature.asc
Description: Digital signature

_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users

[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux