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

Re: [libvirt] [PATCH] docs: clarify that virsh setvcpus and setmem only work on active domains

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 redhat com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

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