explicitly set the chr device type to pty to pass the checks of ch driver. https://gitlab.com/libvirt/libvirt/-/issues/344 Signed-off-by: Praveen K Paladugu <prapal@xxxxxxxxxxxxxxxxxxx> --- src/conf/domain_conf.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c index e85cc1f809..abe9d8ae08 100644 --- a/src/conf/domain_conf.c +++ b/src/conf/domain_conf.c @@ -10078,6 +10078,7 @@ virDomainChrSourceDefNew(virDomainXMLOption *xmlopt) if (!(def = virObjectNew(virDomainChrSourceDefClass))) return NULL; + def->type = VIR_DOMAIN_CHR_TYPE_PTY; if (xmlopt && xmlopt->privateData.chrSourceNew && !(def->privateData = xmlopt->privateData.chrSourceNew())) { -- 2.27.0