Bug 2231844
| Summary: | [machines] The "Current allocation" could not be changed when the VM is running | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | YunmingYang <yunyang> |
| Component: | cockpit-appstream | Assignee: | Simon Kobyda <skobyda> |
| Status: | NEW --- | QA Contact: | YunmingYang <yunyang> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 8.9 | CC: | jscotka, kkoukiou, mpitt, qzhang, wshi, xchen, ymao |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | ppc64le | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | Bug | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
Description of problem: If creating VM with "GiB", then setting "Current allocation" memory for a running VM will not take effect. Version-Release number of selected components (if applicable): cockpit-297-1.el8.ppc64le cockpit-machines-297-1.el8.noarch libvirt-dbus-1.3.0-2.module+el8.9.0+18724+20190c23.ppc64le How reproducible: 100% Steps to Reproduce: 1 Create a running VM with 2 GiB and Fedora 38, then enter the VM detail page 2 Click "edit" of "Memory", then change the "Current allocation" to 2038 MiB, then click "Save" on the dialog 3 Re-click "edit" to check the "Current allocation" 4 Check in the backend by "virsh dumpxml ${vm}" Actual results: 1 After step 3, the "Current allocation" is still 2048 2 After step 4, the "memory" in the VM XML is also 2097152 Expected results: 1 After step 3, the "Current allocation" should be 2038 2 After step 4, the "memory" in the VM XML should be 2086912 Additional info: