Displaying 10 results from an estimated 10 matches for "setmaxmem".
2011 May 25
3
libxl: setmaxmem functionality?
Hi,
the function libxl_domain_setmaxmem in libxl.c doesn''t
seem to do anything besides argument checking,
or am I overlooking something?
Cheers,
Markus
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
2014 Jan 30
2
Re: Dynamically setting permanent memory libvirt-lxc
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 <eblake@redhat.com> wrote:
On 01/30/2014 10:11 AM, mallu mallu wrote:
> I'm trying to permanently change memory allocation fo...
2014 Jan 30
2
Dynamically setting permanent memory libvirt-lxc
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/<container>/. This didn't help. It appears that libvirt is not reading changes in cgroup.
My requirements are
1) Be able to dynamically change memory of a LXC domain without reboot
2) The memory change must survive
2014 Oct 15
1
Fwd: Hotadd memory and hotplug cpu
Hello,
Does KVM support hotadd memory and hot-plug cpu?
I checked it using the virsh command but I can only increase the memory to
the maximum memory that is initially set
But setmaxmem command is failing. Which means this require a reboot of the
guest
# virsh setmaxmem 4 1048576
error: Unable to change MaxMemorySize
error: Requested operation is not valid: cannot resize the maximum memory
on an active domain
#virsh setvcpus 4 4
error: internal error: unable to execute QEMU comm...
2011 May 05
0
Release of libvirt-0.9.1
...ce REMOTE_DEBUG with VIR_DEBUG in daemon dispatcher (Daniel P. Berrange)
- Add missing checks for whether the connection is open in dispatcher (Daniel P. Berrange)
- PHYP: Adding network interface (Eduardo Otubo)
- xen: Remove PATH_MAX sized stack allocation from block stats code (Matthias Bolte)
- setmaxmem: add the new options to "virsh setmaxmem" command (Taku Izumi)
- maxmem: implement virDomainSetMaxMemory API of the qemu driver (Taku Izumi)
- maxmem: introduces VIR_DOMAIN_MEM_MAXIMUM flag (Taku Izumi)
- nwfilters: support for TCP flags evaluation (Stefan Berger)
- setmem: add --current...
2011 Oct 21
1
virsh modified option... alternative..
Hi All,
I am new to libvirt, i wander how we can achieve below objective, i
read through a lot from libvirt.org but couldn't found any thing solid
something equivalent to this:-
virsh dumpxml dom > /tmp/dom.xml
$EDITOR /tmp/dom.xml && virsh define /tmp/dom.xml
What i try to achieve is to have one management server that install
with libvirt in place then we can use libvirt
2014 Jan 30
0
Re: Dynamically setting permanent memory libvirt-lxc
.../lxc/<container>/. This didn't help. It appears that libvirt is not reading changes in cgroup.
>
> My requirements are
>
> 1) Be able to dynamically change memory of a LXC domain without reboot
> 2) The memory change must survive LXC domain reboot.
virsh memtune, virsh setmaxmem, and virsh setmem are the appropriate
tools to use. Changing things directly in cgroups goes behind libvirt's
back, while changing it through the libvirt API allows you to hot-plug
the changes as well as control whether the next boot will have the same
new limits.
--
Eric Blake eblake redh...
2014 Jan 30
0
Re: Dynamically setting permanent memory libvirt-lxc
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, if you use the right options. 'virsh
memtune --live --config' affects both the running guest and the next boot.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
2014 Jan 31
1
Re: Dynamically setting permanent memory libvirt-lxc
[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
memtune --live --config' affects both the running guest and the next boot.
-------
Appologize for top-posting.
I'm getting error when specifying --live or --config. Am I doing...
2009 Mar 05
10
How to change mem-max to no-limit
Hello,
After I limited max memory usage in one domain, how could I reset
mem-max to no-limit?
Besides, I used "xm create -F xxxx.xm" to create a domain successfully.
But when I shut it down, this domain disappear from "xm list". Why that
happened?
Thanks.
Vincent