Displaying 20 results from an estimated 5000 matches similar to: "About the change of a VM's vcpu count in runtime?"
2013 May 28
0
Re: About the change of a VM's vcpu count in runtime?
On 05/28/2013 01:24 AM, Dennis Chen wrote:
> 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
>
2013 Jun 01
1
Re: About the change of a VM's vcpu count in runtime?
On 06/01/2013 03:16 PM, Dennis Chen wrote:
> On 05/29/2013 04:28 AM, Eric Blake wrote:
>> On 05/28/2013 02:24 PM, Eric Blake wrote:
>>
>>>> So the question is: is there any method I can't find yet to change the
>>>> vcpu count of a running vm dynamically?
>>> Wait for newer qemu and libvirt, or else pitch in and help write
>>> patches.
2013 May 28
3
Re: About the change of a VM's vcpu count in runtime?
On 05/28/2013 02:24 PM, Eric Blake wrote:
>> So the question is: is there any method I can't find yet to change the
>> vcpu count of a running vm dynamically?
>
> Wait for newer qemu and libvirt, or else pitch in and help write patches.
You might not have to wait that long - if you could help test these
patches, it would be appreciated:
2013 Jun 01
0
Re: About the change of a VM's vcpu count in runtime?
On 05/29/2013 04:28 AM, Eric Blake wrote:
> On 05/28/2013 02:24 PM, Eric Blake wrote:
>
>>> So the question is: is there any method I can't find yet to change the
>>> vcpu count of a running vm dynamically?
>> Wait for newer qemu and libvirt, or else pitch in and help write patches.
> You might not have to wait that long - if you could help test these
>
2020 Feb 14
3
can hotplug vcpus to running Windows 10 guest, but not unplug
Hi,
i'm playing a bit around with vcpus.
My guest is Windows 10 1903.
This is the excerpt from the config:
...
<vcpu placement='static' current='2'>4</vcpu>
<vcpus>
<vcpu id='0' enabled='yes' hotpluggable='no'/>
<vcpu id='1' enabled='yes' hotpluggable='yes'/>
<vcpu id='2'
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
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: requested vcpu count is greater than the count
2014 Nov 05
1
Re: setvcpus libvirt 1.2.9
Am 05.11.14 14:48, 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
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 :
2015 Apr 13
2
Re: CPU Resource Reservation using KVM
On 4/13/2015 1:18 PM, Kashyap Chamarthy wrote:
> On Mon, Apr 13, 2015 at 12:14:12PM +0530, Jatin Davey wrote:
>> 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
>>
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 looks like this:
<vcpu placement='static'
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
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.
2019 Sep 15
3
virsh -c lxc:/// setvcpus and <vcpu> configuration fails
Hi folks!
i created a server with this XML file:
<domain type='lxc'>
<name>lxctest1</name>
<uuid>227bd347-dd1d-4bfd-81e1-01052e91ffe2</uuid>
<metadata>
<libosinfo:libosinfo
xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0">
<libosinfo:os id="http://centos.org/centos/6.9"/>
2010 Nov 03
2
ESX(i) implemented functions
Dear All,
I would like to know what functions and classes are implemented in the
ESX(i) driver ? i am trying to use virsh to retrieve some simple information
such as vcpuinfo domain, but it is not working, so I would like to know what
functions are implemented in libvirt ESX(i) driver. Also i checked the
http://libvirt.org/drvesx.html and nothing is mentioned there.
Thank You,
Regards,
Sherif
2014 Jul 06
2
getting CPU usage through virsh command or libvirt API
Hi,
Is it possible to get the CPU usage of a guest through a virsh command? I have tried almost all the commands (vcpuinfo, cpu-stats, etc.) that gets the details of a guest cpu, but it only returns the cpu time. Is there any command that returns the cpu usage (just like the graph that virt-manager displays) of a guest? Or do I have to create a program using libvirt API? Thanks in
2019 Sep 16
0
Re: virsh -c lxc:/// setvcpus and <vcpu> configuration fails
On Sun, Sep 15, 2019 at 12:21:08PM +0200, info@layer7.net wrote:
>Hi folks!
>
>i created a server with this XML file:
>
><domain type='lxc'>
> <name>lxctest1</name>
> <uuid>227bd347-dd1d-4bfd-81e1-01052e91ffe2</uuid>
> <metadata>
> <libosinfo:libosinfo
2009 Feb 09
3
hotplug vcpu problem to Centos 5.2 DomU
My dom0 is uing Centos 5.2 x64. I have just upgraded Xen from 3.3.0 to
3.3.1. After upgraded, I find that I cannot hotplug additional vcpu anymore.
I have a domU "linux1" which is a paravirtualized vm with centos 5.2. I try
to "xm vcpu-set linux1 4", it does not have any error message, but those
vcpu cannot be displayed. I also tried to add vcpu using "virsh setvcpus
2015 Jun 12
1
Re: <vcpu placement='static' current='N'>M</vcpu>
Am 12.06.15 um 11:43 schrieb Dominique Ramaekers:
> Did you shutdown the guest before making this change?
Yes. I even can't set this setting while the machine is powered off.
Here ist the machines xml.
<domain type='kvm'>
<name>changed</name>
<uuid>c71f66b3-2fd1-42f0-b8be-42999857eb95</uuid>
<memory
2012 Apr 04
1
vcpupin and kvm
Hi.
Can anyone confirm if vcpupin works correctly with kvm? If set I pin a
vcpu it shows up correctly via vcpuinfo, but querying via taskset shows
the cpu is not pinned.
Thanks,
-Geoff
--
----
Geoff Galitz, ggalitz at shutterstock.com
WebOps Engineer, Europe
Shutterstock Images
http://wwww.shutterstock.com/