提交 7c94eebf 编写于 作者: J Ján Tomko

qemuProcessPrepareDomain: pass xmlopt when creating monConfig

Pass the driver's xmlopt to allocate the chardev source private
data correctly.
Signed-off-by: NJán Tomko <jtomko@redhat.com>
上级 912b8a59
......@@ -5982,7 +5982,7 @@ qemuProcessPrepareDomain(virQEMUDriverPtr driver,
goto cleanup;
}
if (!(priv->monConfig = virDomainChrSourceDefNew(NULL)))
if (!(priv->monConfig = virDomainChrSourceDefNew(driver->xmlopt)))
goto cleanup;
VIR_DEBUG("Preparing monitor state");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册