Terry Gotzon
2008-Feb-25 16:40 UTC
[Fedora-xen] How to re-reading the xen guest config file
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. 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
Sadique Puthen
2008-Feb-28 14:43 UTC
Re: [Fedora-xen] How to re-reading the xen guest config file
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@redhat.com > https://www.redhat.com/mailman/listinfo/fedora-xen >