Bug 1388245

Summary: [RFE] Configurable maximum memory size
Product: [oVirt] ovirt-engine Reporter: jniederm
Component: Backend.CoreAssignee: jniederm
Status: CLOSED CURRENTRELEASE QA Contact: Israel Pinto <ipinto>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.1.0CC: bugs, gklein, hannsj_uhl, ipinto, jniederm, juwu, mgoldboi, michal.skrivanek, tjelinek, trichard
Target Milestone: ovirt-4.1.0-rcKeywords: FutureFeature
Target Release: 4.1.0Flags: michal.skrivanek: ovirt-4.1?
ipinto: testing_plan_complete+
jniederm: planning_ack?
michal.skrivanek: devel_ack+
ipinto: testing_ack+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
This release adds the ability to specify a Maximum Memory value in all VM-like dialogs (Virtual Machine, Template, Pool, and Instance Type). It is accessible in the `{vm, template, instance_type}/memory_policy/max` tag in the REST API. The value defines the upper limit to which memory hot plug can be performed. The default value is 4x memory size.
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-03-16 14:48:44 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Virt RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 1422546    
Bug Blocks: 1359843, 1415592    

Description jniederm 2016-10-24 20:28:29 UTC
Allow to configure maximum memory size per VM. The value should default to 4x memory size.

Currently max mem size is set by global config values VM32BitMaxMemorySizeInMB, VM64BitMaxMemorySizeInMB and VMPpc64BitMaxMemorySizeInMB to 1048576MB which prevents hot memory unplug from working.

Comment 3 Israel Pinto 2017-03-14 11:52:57 UTC
Verify with:
Red Hat Virtualization Manager Version: 4.1.1.3-0.1.el7
Host:
OS Version:RHEL - 7.3 - 7.el7
Kernel Version:3.10.0 - 550.el7.x86_64
KVM Version:2.6.0 - 28.el7_3.3.1
LIBVIRT Version:libvirt-2.0.0-10.el7_3.5
VDSM Version:vdsm-4.19.7-1.el7ev
SPICE Version:0.12.4 - 20.el7_3
run test plan all pass