Backlog #3954
Online resize memory for VM
| Status: | Pending | Start date: | 08/28/2015 | |
|---|---|---|---|---|
| Priority: | High | Due date: | ||
| Assignee: | - | % Done: | 0%  | |
| Category: | Core & System | |||
| Target version: | - | 
Description
QEMU/KVM/LIBVIRT offer the possibility to resize the amount of memory when in the libvirt XML specification the <currentMemory unit='KiB'></currentMemory> is specified besides the "<memory unit='KiB'></memory>" for a running VM. For example:
<memory unit='KiB'>1048576</memory>
<currentMemory unit='KiB'>4194304</currentMemory>
This Would set the amount of available memory for a VM to 1 GB, with a max of 4GB. If OpenNebula would generate deployment files with both memory specifications VM's can be resized online (without) downtime as far as memory is concerned.
Related issues
History
#1
    
    Updated by Stefan Kooman almost 6 years ago
    related to [[http://dev.opennebula.org/issues/3395]] VM capacity resize for running VMs
#2
    
    Updated by Carlos MartÃn almost 6 years ago
    - Related to Feature #3395: VM capacity resize for running VMs added
 
#3
    
    Updated by Ruben S. Montero almost 6 years ago
    - Tracker changed from Feature to Backlog
 - Category set to Core & System
 - Priority changed from Normal to High
 
#4
    
    Updated by Ruben S. Montero almost 5 years ago
    - Related to Request #4832: Support memory ballooning for KVM added
 
#5
    
    Updated by Roy Keene about 4 years ago
    Perhaps a better approach: https://medium.com/@juergen_thomann/memory-hotplug-with-qemu-kvm-and-libvirt-558f1c635972
This is similar to what VMware does with ESXi, though libvirt makes you do more work to figure out how to manage your DIMMs.