mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-11 09:17:52 +03:00
qemuProcessPrepareDomain: pass xmlopt when creating monConfig
Pass the driver's xmlopt to allocate the chardev source private data correctly. Signed-off-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
912b8a5970
commit
7c94eebfe2
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user