|
|
|
|
|
|
|
|
|
|
xen-users
RE: [Xen-users] VCPU number configuration
> -----Original Message-----
> From: Songtao Liu [mailto:songtao.liu@xxxxxxxx]
> Sent: 02 July 2007 17:10
> To: Petersson, Mats
> Cc: xen-users@xxxxxxxxxxxxxxxxxxx
> Subject: RE: [Xen-users] VCPU number configuration
>
>
> Original Message:
>
>
> <br />
> <br />> -----Original Message-----
> <br />> From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
> <br />> [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of
> <br />> Songtao Liu
> <br />> Sent: 02 July 2007 15:51
> <br />> To: xen-users@xxxxxxxxxxxxxxxxxxx
> <br />> Subject: [Xen-users] VCPU number configuration
> <br />>
> <br />> Hi
> <br />>
> <br />> as when I installed the XenU I initialized the VCPU=1, is it
> <br />> possible to change VCPU=2
> <br />
> <br />No, not without restarting the guest from scratch.
> Whilst it's possible
> <br />to REDUCE the processor count, you can't increase it
> after it's been
> <br />started [actually, the technicality of it is that
> there's a MAX_CPU
> <br />count in the domain config parameters, which is hidden
> from the config
> <br />files at present, but that is the number of VCPU's
> "reserved" when the
> <br />domain is set up, and with a normal config file, you
> get MAX_VCPUS=VCPUS
> <br />at the domain creation].
> <br />
> <br />--
> <br />Mats
> <br />
> <br />
> <br />
> So if I want to get a guest with 2 VCPUs, I must install a
> new one? no other ways?
No, you need to change the configuration file for the original guest to
say VCPUS=2 instead of VCPUS=1. Then you could, if you wanted to, use
the "xm vcpu-set" to reduce it back down to 1, but you can't set it
higher than 2.
--
Mats
>
> Songtao
>
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
|
|
|
|