]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
Do not call postParse with ABI_UPDATE when parsing cmdline
authorJán Tomko <jtomko@redhat.com>
Thu, 16 Jun 2016 16:25:33 +0000 (18:25 +0200)
committerJán Tomko <jtomko@redhat.com>
Tue, 21 Jun 2016 16:23:56 +0000 (18:23 +0200)
So far this is only useful for recalculating NUMA memory size,
which this function cannot parse.

This will let us generate USB addresses based on this flag.

src/qemu/qemu_parse_command.c

index 927bd7961f51644350f204380ec06ce39be2abe2..1d54a68bb898341c03c527f0cf085dc46af98ba0 100644 (file)
@@ -2626,8 +2626,7 @@ qemuParseCommandLine(virCapsPtr caps,
 
     VIR_FREE(nics);
 
-    if (virDomainDefPostParse(def, caps, VIR_DOMAIN_DEF_PARSE_ABI_UPDATE,
-                              xmlopt) < 0)
+    if (virDomainDefPostParse(def, caps, 0, xmlopt) < 0)
         goto error;
 
     if (cmd->num_args || cmd->num_env) {