mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
conf: add caps to virDomainDefFormat*
And use the newly added caps->host.netprefix (if it exists) for interface names that match the autogenerated target names. Signed-off-by: Joao Martins <joao.m.martins@oracle.com>
This commit is contained in:
committed by
Daniel P. Berrange
parent
481e9bd0f6
commit
d239a5427f
@@ -116,7 +116,7 @@ testCompareFormatXML(const char *xmcfg, const char *xml)
|
||||
if (!(def = xenParseXL(conf, caps, xmlopt)))
|
||||
goto fail;
|
||||
|
||||
if (!(gotxml = virDomainDefFormat(def, VIR_DOMAIN_XML_INACTIVE |
|
||||
if (!(gotxml = virDomainDefFormat(def, caps, VIR_DOMAIN_XML_INACTIVE |
|
||||
VIR_DOMAIN_XML_SECURE)))
|
||||
goto fail;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user