WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

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

On Mon, Feb 16, 2009 at 11:47 PM, Felix Chu
<felixchu@xxxxxxxxxxxxxxxxxxxx> wrote:
> 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.

libvirt (including virsh) is sponsored by Redhat and developed
separately from Xen. As a result it might not support new Xen features
yet (in this case vcpu_avail).

If your concern is simply "copy latest config overwriting old config",
you can use xm. For example

xm list -l domU_name > domU_name.sxp

It will have entries like this
    (vcpus 8)
    (online_vcpus 1)

The sxp file can be used to create domUs using the usual "xm create".

Regards,

Fajar

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

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