[libvirt] [PATCH 08/17] Do not call postParse with ABI_UPDATE when parsing cmdline

Ján Tomko jtomko at redhat.com
Fri Jun 17 18:07:10 UTC 2016


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 | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/qemu/qemu_parse_command.c b/src/qemu/qemu_parse_command.c
index 927bd79..1d54a68 100644
--- a/src/qemu/qemu_parse_command.c
+++ b/src/qemu/qemu_parse_command.c
@@ -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) {
-- 
2.7.3




More information about the libvir-list mailing list