Re: [libvirt-users] Dynamically setting permanent memory libvirt-lxc

2014-01-31 Thread Eric Blake
On 01/30/2014 05:25 PM, mallu mallu wrote: > I'm getting error when specifying --live or --config. Am I doing something > wrong? Your version of libvirt is too old. > # libvirtd -v > 2014-01-31 00:17:00.511+: 3313: info : libvirt version: 0.10.2, package: > 18.el6_4.15 RHEL 6 offered LXC

Re: [libvirt-users] Dynamically setting permanent memory libvirt-lxc

2014-01-30 Thread mallu mallu
[please don't top-post on technical lists; also, it would be nice if you could convince your mailer to wrap long lines) > Eric, thank you for your response. Virsh memtune, setmaxmem and setmem won't > survive a reboot. Ah, but they DO survive reboots, if you use the right options.  'virsh me

Re: [libvirt-users] Dynamically setting permanent memory libvirt-lxc

2014-01-30 Thread Eric Blake
On 01/30/2014 01:26 PM, mallu mallu wrote: [please don't top-post on technical lists; also, it would be nice if you could convince your mailer to wrap long lines) > Eric, thank you for your response. Virsh memtune, setmaxmem and setmem won't > survive a reboot. Ah, but they DO survive reboots,

Re: [libvirt-users] Dynamically setting permanent memory libvirt-lxc

2014-01-30 Thread mallu mallu
Eric, thank you for your response. Virsh memtune, setmaxmem and setmem won't survive a reboot. I'm hoping to find  a solution that can survive reboot.   On Thursday, January 30, 2014 11:36 AM, Eric Blake wrote: On 01/30/2014 10:11 AM, mallu mallu wrote: > I'm trying to permanently change

Re: [libvirt-users] Dynamically setting permanent memory libvirt-lxc

2014-01-30 Thread Eric Blake
On 01/30/2014 10:11 AM, mallu mallu wrote: > I'm trying to permanently change memory allocation for a libvirt-lxc domain. > So far I tried changing memory in memory.limit_in_bytes under > /cgroup/memory/libvirt/lxc//. This didn't help. It appears that > libvirt is not reading changes in cgroup.

[libvirt-users] Dynamically setting permanent memory libvirt-lxc

2014-01-30 Thread mallu mallu
I'm trying to permanently change memory allocation for a libvirt-lxc domain. So far I tried changing memory in memory.limit_in_bytes under /cgroup/memory/libvirt/lxc//.  This didn't help. It appears that libvirt is not reading changes in cgroup. My requirements are 1) Be able to dynamically c