Bug 893933
Summary: | use greatest possible memory units that cleanly divide actual memory for 'virsh edit' temporary domain xmls | ||
---|---|---|---|
Product: | [Community] Virtualization Tools | Reporter: | David Jaša <djasa> |
Component: | libvirt | Assignee: | Libvirt Maintainers <libvirt-maint> |
Status: | CLOSED DEFERRED | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | unspecified | CC: | crobinso, cwei, dyuan, jdenemar, mzhan, rbalakri |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-03-24 00:29:38 UTC | 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
David Jaša
2013-01-10 09:52:54 UTC
While libvirt accepts different units when parsing domain XML, it has to always use KiB when giving the XML back for backward compatibility and we can't change that. Rather than add this syntactic sugar for virsh edit (which already has a crazy impl), I suggest using a tool like virt-xml to a) change the memory in one shot, 2) use more sensible MB as its base |