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

[Xen-devel] [PATCH] Add maxvcpu support



Hi,
this is patch to add maxvcpus support to xen xm command. It's using vcpu_avail bitmask and sets the number of vcpus to maxvcpus if present. If it's not present, old behavior is preserved.

In domain config file you can define it as follows:

 maxvcpus = 4
 vcpus = 2

this automatically sets vcpus to 4 and corresponding bitmask to present 2 vcpus in the guest with option to increase it up to 4 vcpus. If maxvcpus is not present, the old behavior for vcpus is preserved.

Thanks,
Michal

Attachment: xen-xm-maxvcpu-support.patch
Description: Text Data

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.