[libvirt PATCH] qemu_conf: properly set 'deprecation_behavior' default value

Pavel Hrdina phrdina at redhat.com
Tue Apr 13 09:10:18 UTC 2021


The comment for that option states that the default value is 'none' but
it was not set by the code.

Fixes: 700450449377be4bf923e91d00f8fe8cf0975f66
Signed-off-by: Pavel Hrdina <phrdina at redhat.com>
---
 src/qemu/qemu_conf.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/qemu/qemu_conf.c b/src/qemu/qemu_conf.c
index 77fd7f6df7..68b086be54 100644
--- a/src/qemu/qemu_conf.c
+++ b/src/qemu/qemu_conf.c
@@ -295,6 +295,8 @@ virQEMUDriverConfigPtr virQEMUDriverConfigNew(bool privileged,
                              &cfg->nfirmwares) < 0)
         return NULL;
 
+    cfg->deprecationBehavior = g_strdup("none");
+
     return g_steal_pointer(&cfg);
 }
 
-- 
2.30.2




More information about the libvir-list mailing list