Bug 528431
Summary: | [mem-set]it should not allow to set the current memory larger than max memory | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Rita Wu <rwu> | |
Component: | xen | Assignee: | Miroslav Rezanina <mrezanin> | |
Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> | |
Severity: | medium | Docs Contact: | ||
Priority: | low | |||
Version: | 5.4 | CC: | clalance, cwei, llim, mrezanin, mshao, xen-maint, yuzhang | |
Target Milestone: | rc | |||
Target Release: | 5.6 | |||
Hardware: | All | |||
OS: | Linux | |||
Whiteboard: | ||||
Fixed In Version: | xen-3.0.3-109.el5 | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 608072 609619 (view as bug list) | Environment: | ||
Last Closed: | 2011-01-13 22:19:00 UTC | Type: | --- | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | ||||
Bug Blocks: | 514500, 608065, 609561, 609619 |
Description
Rita Wu
2009-10-12 07:05:38 UTC
Another problem with this bug: 1. set memmax(via mem-max) to a new size(in this case 2048M) larger than the current memmax(in this case 512M) 2. set current memory size to be 1500M 3. reboot guest 4. After reboot, # xm li $dom_id -l we can see that both memory and mammem change to 1500M. mem-max doesn`t take effect after reboot in this case. Additional infortmation: According to BZ #528421, mem-max should take effect after reboot. *** Bug 575671 has been marked as a duplicate of this bug. *** *** Bug 554940 has been marked as a duplicate of this bug. *** QA verify this bug on xen-3.0.3-115.el5: 1. # xm cr /tmp/xm-test.conf memory=512 maxmem=1024 Using config file "/tmp/xm-test.conf". Using <class 'grub.GrubConf.GrubConfigFile'> to parse /grub/menu.lst Started domain vm1 2. # xm mem-set vm1 1500 Error: Memory size too large. Limit is 1024 MiB Usage: xm mem-set <Domain> <Mem> Set the current memory usage for a domain. 3. # xm li vm1 Name ID Mem(MiB) VCPUs State Time(s) vm1 14 511 4 -b---- 9.6 4. # xm li vm1 -l | grep mem (memory 512) (shadow_memory 0) (maxmem 1024) 5. # xm reboot vm1 6. # xm li vm1 Name ID Mem(MiB) VCPUs State Time(s) vm1 15 512 4 -b---- 0.4 7. # xm li vm1 -l | grep mem (memory 512) (shadow_memory 0) (maxmem 1024) Change this bug to VERIFIED. An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2011-0031.html |