[libvirt] [PATCH] docs: clarify that virsh setvcpus and setmem only work on active domains
Eric Blake
eblake at redhat.com
Thu Jan 13 18:52:03 UTC 2011
On 01/13/2011 11:39 AM, Justin Clift wrote:
> setmem domain-id kilobytes
> Immediately change the current memory allocation for an active guest domain.
>
> Some hypervisors require a larger granularity than kilobytes, and requests that
> are not an even multiple will either be rounded down or rejected. For example,
> vSphere/ESX rejects the parameter unless the kB argument is evenly divisible
> by 1024 (that is, the kB argument happens to represent megabytes).
>
> For Xen, you can only adjust the memory of a running domain if the domain is
> paravirtualized or running the PV balloon driver.
>
> Note, this command only works on active guest domains. To change the memory
> allocation for an inactive guest domain, use the virsh edit command to update the
> XML <memory> element.
>
> Workable?
Sounds good to me.
--
Eric Blake eblake at redhat.com +1-801-349-2682
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20110113/de340e68/attachment-0001.sig>
More information about the libvir-list
mailing list