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

RE: [Xen-users] hotplug vcpu problem to Centos 5.2 DomU



Hi Fajar,

Thanks your help. It is helpful info.

I have another issue. Because I use "virsh" to manage domU config file
(usually I use "virsh dumpxml" to copy latest config overwriting old config)
. But seems virsh does not have "vcpu_avail" or similar option. As a result,
each time I "virsh dumpxml" , it will use current number of CPU as maximum
number in the virsh xml config. Then next time I cannot use virsh to add new
vcpu anymore. 

So any idea to use virsh to hot plug cpu for DomU under xen 3.3.1?  My virsh
version is 0.4.4 (rpm one)

Felix

-----Original Message-----
From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
[mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Fajar A. Nugraha
Sent: Tuesday, February 10, 2009 9:58 AM
To: Felix Chu
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] hotplug vcpu problem to Centos 5.2 DomU

On Mon, Feb 9, 2009 at 10:28 PM, Felix Chu
<felixchu@xxxxxxxxxxxxxxxxxxxx> wrote:
> 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.

Try this config

vcpus=8
vcpu_avail=1
cpus="1-7"

on PV domU with Xen 3.3.1, what this does is :
- allocate 1 CPU initially
- allows up to 8 CPU to be hotplugged (with xm vcpu-set)
- maps those vcpus to pyhsical CPU 1-7, which should leave CPU0 free
for dom0's usage.

Regards,

Fajar

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


_______________________________________________
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®.