This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


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

To: "'Fajar A. Nugraha'" <fajar@xxxxxxxxx>
Subject: RE: [Xen-users] hotplug vcpu problem to Centos 5.2 DomU
From: "Felix Chu" <felixchu@xxxxxxxxxxxxxxxxxxxx>
Date: Tue, 17 Feb 2009 00:47:01 +0800
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 16 Feb 2009 08:47:08 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <7207d96f0902091757l4a264e8bj625d4ac5d335d888@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <000401c98acb$01846da0$048d48e0$@com> <7207d96f0902091757l4a264e8bj625d4ac5d335d888@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcmLIyW8dxsI8AKERaCK8Mk0RjmX1QFMf0aQ
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)


-----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

Try this config


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.



Xen-users mailing list

Xen-users mailing list

<Prev in Thread] Current Thread [Next in Thread>