Bug 1406749
| Summary: | Starting a VM that has memory equal to the max memory raising QEMU error | ||
|---|---|---|---|
| Product: | [oVirt] ovirt-engine | Reporter: | Artyom <alukiano> |
| Component: | BLL.Virt | Assignee: | jniederm |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Artyom <alukiano> |
| Severity: | medium | Docs Contact: | |
| Priority: | high | ||
| Version: | 4.1.0 | CC: | bugs, michal.skrivanek, tjelinek |
| Target Milestone: | ovirt-4.1.0-beta | Keywords: | Triaged |
| Target Release: | 4.1.0.2 | Flags: | rule-engine:
ovirt-4.1+
rule-engine: planning_ack+ tjelinek: devel_ack+ mavital: testing_ack+ |
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-02-01 14:38:26 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: | |
| Embargoed: | |||
|
Description
Artyom
2016-12-21 11:46:03 UTC
the easiest fix might be to set the max size +4K when equal. Difference in reporting should be negligent and it seems to be enough to fool qemu. Better than trying to introduce a hotpluggable and non-hotpluggable VMs differentiation right now (In reply to Michal Skrivanek from comment #1) > the easiest fix might be to set the max size +4K when equal. I mean to send it like that, not persist. Perhaps do that even only in vdsm Verified on ovirt-engine-4.1.0-0.4.master.20170110134514.git1586fd4.el7.centos.noarch
Run the VM with the maxMemory = memory:
# virsh -r dumpxml 47 | grep -i memory
<memory unit='KiB'>1048576</memory>
<currentMemory unit='KiB'>1048576</currentMemory>
<cell id='0' cpus='0' memory='1048576' unit='KiB'/>
Run the VM with the maxMemory != memory:
# virsh -r dumpxml 46 | grep -i memory
<maxMemory slots='16' unit='KiB'>2097152</maxMemory>
<memory unit='KiB'>1048576</memory>
<currentMemory unit='KiB'>1048576</currentMemory>
<cell id='0' cpus='0' memory='1048576' unit='KiB'/>
|