Displaying 20 results from an estimated 32 matches for "setvcpus".
2014 Nov 05
2
setvcpus libvirt 1.2.9
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: reque...
2013 Aug 09
3
Re: state of setvcpus
Am 09.08.13 15:09, schrieb Eric Blake:
> On 08/09/2013 06:26 AM, Thomas Stein wrote:
>> Hello.
>>
>> Does someone know in what state setvcpu command is?
>>
>> I get:
>>
>> virsh # setvcpus gentookvm 4
>> error: internal error: cannot change vcpu count of this domain
>>
>> and
>>
>> error : qemuDomainHotplugVcpus:4087 : internal error: cannot change vcpu
>> count of this domain
>>
>> Does this work for someone?
>
> It works for...
2013 Aug 09
2
state of setvcpus
Hello.
Does someone know in what state setvcpu command is?
I get:
virsh # setvcpus gentookvm 4
error: internal error: cannot change vcpu count of this domain
and
error : qemuDomainHotplugVcpus:4087 : internal error: cannot change vcpu
count of this domain
Does this work for someone?
cheers
t.
2014 Nov 04
2
setvcpus --guest on windows
Hello.
Just a quick question. Is "setvcpus $windowsVM --guest 4" supposed to
work? I have qemu-guest-agent (1.6.something) running inside a windows7
vm but all i get is:
virsh # setvcpus windows7 --guest 4
error: invalid argument: requested vcpu count is greater than the count
of enabled vcpus in the domain: 4 > 1
The xml file loo...
2014 Nov 05
2
Re: setvcpus libvirt 1.2.9
Am 05.11.14 11:48, schrieb Martin Kletzander:
> 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:
>&g...
2014 Nov 05
0
Re: setvcpus libvirt 1.2.9
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...
2014 Nov 05
1
Re: setvcpus --guest on windows
On 11/05/2014 10:50 AM, Thomas Stein wrote:
> Am 04.11.14 17:55, schrieb Thomas Stein:
>> Hello.
>>
>> Just a quick question. Is "setvcpus $windowsVM --guest 4" supposed to
>> work? I have qemu-guest-agent (1.6.something) running inside a windows7
>> vm but all i get is:
>>
>> virsh # setvcpus windows7 --guest 4
>> error: invalid argument: requested vcpu count is greater than the count
>> of en...
2014 Nov 05
1
Re: setvcpus libvirt 1.2.9
...schrieb Eric Blake:
> On 11/05/2014 01:20 PM, Thomas Stein wrote:
>> Am 05.11.14 11:48, schrieb Martin Kletzander:
>>> 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>
>
> This is one case where xen may be a bit more powerful than current qemu
> sup...
2015 Apr 13
2
Re: CPU Resource Reservation using KVM
...gt; configuration in vCenter while creating a VM. This guarantees 8000 GHz of
>> cpu resources for the deployed VM.
>>
>> How can i achieve the same thing using KVM ?
>
> If you are comfortable with command line, you can look at `virsh` manual
> page for
>
> setvcpus - change number of virtual CPUs
>
> to control how many vCPUs you can allocate.
>
> If you're using `virt-manager`, you should be able to control it via UI
> for a guest under its "Show virtual hardware details" and look for
> "Processor".
>
>
I have...
2013 Aug 09
0
Re: state of setvcpus
On 08/09/2013 06:26 AM, Thomas Stein wrote:
> Hello.
>
> Does someone know in what state setvcpu command is?
>
> I get:
>
> virsh # setvcpus gentookvm 4
> error: internal error: cannot change vcpu count of this domain
>
> and
>
> error : qemuDomainHotplugVcpus:4087 : internal error: cannot change vcpu
> count of this domain
>
> Does this work for someone?
It works for xen:// URIs. Upstream qemu vcpu hotplug...
2013 Aug 09
0
Re: state of setvcpus
On 08/09/2013 09:01 AM, Thomas Stein wrote:
>> Meanwhile, you can try using 'setvcpus gentookvm
>> --guest 4' to use the guest agent (assuming you have qemu-ga running in
>> the guest, and the proper plumbing of the guest agent channel in your
>> domain XML) to use the guest to take vcpus on- or offline.
>
> Tried that with no luck so far.
>
> vir...
2014 Nov 05
0
Re: setvcpus --guest on windows
Am 04.11.14 17:55, schrieb Thomas Stein:
> Hello.
>
> Just a quick question. Is "setvcpus $windowsVM --guest 4" supposed to
> work? I have qemu-guest-agent (1.6.something) running inside a windows7
> vm but all i get is:
>
> virsh # setvcpus windows7 --guest 4
> error: invalid argument: requested vcpu count is greater than the count
> of enabled vcpus in the doma...
2020 Feb 14
3
can hotplug vcpus to running Windows 10 guest, but not unplug
...ble='yes'/>
<vcpu id='2' enabled='no' hotpluggable='yes'/>
<vcpu id='3' enabled='no' hotpluggable='yes'/>
</vcpus>
...
I'm able to hotplug vcpus, but when i want to unplug them i get the following:
virsh # setvcpus pathway 3 --live
virsh # setvcpus pathway 4 --live
virsh # setvcpus pathway 2 --live
error: internal error: unable to execute QEMU command 'device_del': acpi: device unplug request for not supported device type: qemu64-x86_64-cpu
Does anyone know why it can't be unplugged ?
Thanks....
2014 Jan 21
0
Will virsh command setvcpus/vcpupin be supported by lxc driver in the future?
Dear member of libvirt team,
I hope the lxc could be dynamically reconfigured, such as the number of vcpu or vcpu pinning.
According to http://libvirt.org/hvsupport.html , at present, setvcpus(virDomainSetVcpus) and vcpupin (virDomainGetVcpuPinInfo) are not supported by lxc driver.
I wonder if these commands will be supported by libvirt in the future?
Best wishes,
Cheng Wang
2014 Nov 05
0
Re: setvcpus libvirt 1.2.9
On 11/05/2014 01:20 PM, Thomas Stein wrote:
> Am 05.11.14 11:48, schrieb Martin Kletzander:
>> 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>
This is one case where xen may be a bit more powerful than current qemu
support. Xen supports booting...
2019 Sep 16
0
Re: virsh -c lxc:/// setvcpus and <vcpu> configuration fails
...containers work. We can provide /proc/cpuinfo through a fuse filesystem, but if
the code actually asks the cpu directly there is no layer in which to emulate
the returned information.
>That didnt help too.
>
>I tried to modify the vcpus through virsh:
>
>
>
>#virsh -c lxc:/// setvcpus lxctest1 2
>
>error: this function is not supported by the connection driver:
>virDomainSetVcpus
>
This should not work for LXC, but it does not make sence because if you look at
the XML we allow `<vcpus>2</vcpus>`.
>Which didnt work too.
>
>
>This happens on:...
2013 May 28
2
About the change of a VM's vcpu count in runtime?
Hi,
We know that there is a command "setvcpus" in virsh used to "change
number of virtual CPUs", now we just have the need to change vcpu count
dynamically for a running VM, so I tried this command (the vcpu count is
2 in the VM xml file), below is the result:
virsh # setvcpus 3 --count 4
error: invalid argument: requested v...
2015 Jan 08
0
CPU Hot Plug/Unplug with KVM on CentOS
Hello,
I'm trying to plug and unplug cpus with a host CentOS 7 on a guest machine
with CentOS too. I have created the guest with virt-install command,
modified my domxml to have maximum 4 vcpus and updated the current cpu to 2.
After that I open the virsh console, and used command setvcpus to
add/remove cpus. I was able to increase the vcpu count until 4 but can't
increase it after 4 as it exceeds maximum vcpu count. However when I want
to remove vcpus, again by using setvcpus command, I noticed that it's not
possbile. I have looked around and found a changelog related to Cen...
2015 Apr 13
2
CPU Resource Reservation using KVM
Hi All
I am new to KVM world. I have been using VMware for about a year.
In VMware world we can reserve cpu resources for a VM. Say for instance
if we need 4 vCPUs with a total of 8000 GHz then we can mention this
configuration in vCenter while creating a VM. This guarantees 8000 GHz
of cpu resources for the deployed VM.
How can i achieve the same thing using KVM ?
Please provide as much
2019 Sep 15
3
virsh -c lxc:/// setvcpus and <vcpu> configuration fails
...CPU(s): 1,3,5,7,9,11,13,15,17,19,21,23
It gives me all CPU's from the host.
I also tried it with
<cpu>
<topology sockets='1' cores='2' threads='1'/>
</cpu>
That didnt help too.
I tried to modify the vcpus through virsh:
#virsh -c lxc:/// setvcpus lxctest1 2
error: this function is not supported by the connection driver:
virDomainSetVcpus
Which didnt work too.
This happens on:
Centos 7
Kernel: 5.1.15-1.el7.elrepo.x86_64
#virsh -V
Virsh command line tool of libvirt 4.5.0
See web site at https://libvirt.org/
Compiled with support for:...