diff options
author | Cole Robinson <crobinso@redhat.com> | 2019-05-14 10:09:57 -0400 |
---|---|---|
committer | Cole Robinson <crobinso@redhat.com> | 2019-05-14 11:57:50 -0400 |
commit | c0ddb86918393082ff9546cc604d2fde9b831a52 (patch) | |
tree | d7d4936a14113576652a46aec7769a461a0e23b5 /virt-install | |
parent | 5e98bfba80dc5ceb7853f3df1317b5205c6d7573 (diff) | |
download | virt-manager-c0ddb86918393082ff9546cc604d2fde9b831a52.tar.gz |
tests: clitest: define XML generated from compare tests
All our virt-install/virt-clone compare tests aren't actually
attempting to define the XML, meaning we could be generating bogus
output. Enable it, then fix the fallout, mostly some places we are
triggering libvirt XML validation
Diffstat (limited to 'virt-install')
-rwxr-xr-x | virt-install | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/virt-install b/virt-install index e5647131..e0659a40 100755 --- a/virt-install +++ b/virt-install @@ -320,7 +320,7 @@ def validate_required_options(options, guest, installer): if not guest.name: msg += "\n" + _("--name is required") - if not guest.memory: + if not guest.memory and not guest.cpu.cells: msg += "\n" + _("--memory amount in MiB is required") if (not guest.os.is_container() and |