Re: How to re-reading the xen guest config file

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

 



Terry Gotzon wrote:
What I am trying to do is add additional memory or CPU's to a running xen guest that is already at the maximum allocated from build time. Currently, I edit the config file for the guest and increase the memory or cpu and then shutdown and start the VM.

If the guest has reached "maxmem" configured via the configuration file, you should restart your guest to allocate more memory. What you can do is configure "maxmem" to the maximum available memory and adjust the current memory when you need it using "virsh setmem <domain> <memory in KB>"

<memory>1048576</memory>
 <currentMemory>512000</currentMemory>

Here memory is the maxmemory and currentMemory is what the guest has been allocated currently.

--Sadique

What I would like to do is re-read the config file without having to restart the server. Does anyone know of a way to do this, if possible?

Thanks
Terry
------------------------------------------------------------------------

--
Fedora-xen mailing list
Fedora-xen@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-xen

--
Fedora-xen mailing list
Fedora-xen@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-xen

[Index of Archives]     [Fedora General]     [Fedora Music]     [Linux Kernel]     [Fedora Desktop]     [Fedora Directory]     [PAM]     [Big List of Linux Books]     [Gimp]     [Yosemite News]

  Powered by Linux