[PATCH 08/15] qemuProcessPrepareDomain: pass xmlopt when creating monConfig

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Pass the driver's xmlopt to allocate the chardev source private
data correctly.

Signed-off-by: Ján Tomko <jtomko@xxxxxxxxxx>
---
 src/qemu/qemu_process.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/qemu/qemu_process.c b/src/qemu/qemu_process.c
index e9c76188a4..77b7464436 100644
--- a/src/qemu/qemu_process.c
+++ b/src/qemu/qemu_process.c
@@ -5984,7 +5984,7 @@ qemuProcessPrepareDomain(virQEMUDriverPtr driver,
             goto cleanup;
     }
 
-    if (!(priv->monConfig = virDomainChrSourceDefNew(NULL)))
+    if (!(priv->monConfig = virDomainChrSourceDefNew(driver->xmlopt)))
         goto cleanup;
 
     VIR_DEBUG("Preparing monitor state");
-- 
2.16.4

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux