diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c index c0c1549a65..a58f997621 100644 --- a/src/conf/domain_conf.c +++ b/src/conf/domain_conf.c @@ -23134,6 +23134,7 @@ virDomainGraphicsDefFormat(virBufferPtr buf, * thus we can generate it in the migrateble XML. */ if (def->type == VIR_DOMAIN_GRAPHICS_TYPE_VNC && def->listens[i].type == VIR_DOMAIN_GRAPHICS_LISTEN_TYPE_SOCKET && + def->listens[i].socket && !def->listens[i].autoGenerated) continue;