mirror of
https://github.com/libvirt/libvirt.git
synced 2026-10-02 12:20:06 -05:00
bhyve: s/provconn/privcon/
Due to a typo, the bhyve driver doesn't compile. Fix it. Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
1 parent
a379327d8a
commit
cf0806477b
1 file changed
+2
-2
@@ -487,7 +487,7 @@ bhyveDomainDefineXMLFlags(virConnectPtr conn, const char *xml, unsigned int flag
|
||||
return NULL;
|
||||
|
||||
/* Avoid parsing the whole domain definition for ACL checks */
|
||||
if (!(def = virDomainDefIDsParseString(xml, provconn->xmlopt, parse_flags)))
|
||||
if (!(def = virDomainDefIDsParseString(xml, privconn->xmlopt, parse_flags)))
|
||||
return NULL;
|
||||
|
||||
if (virDomainDefineXMLFlagsEnsureACL(conn, def) < 0)
|
||||
@@ -896,7 +896,7 @@ bhyveDomainCreateXML(virConnectPtr conn,
|
||||
start_flags |= VIR_BHYVE_PROCESS_START_AUTODESTROY;
|
||||
|
||||
/* Avoid parsing the whole domain definition for ACL checks */
|
||||
if (!(def = virDomainDefIDsParseString(xml, provconn->xmlopt, parse_flags)))
|
||||
if (!(def = virDomainDefIDsParseString(xml, privconn->xmlopt, parse_flags)))
|
||||
return NULL;
|
||||
|
||||
if (virDomainCreateXMLEnsureACL(conn, def) < 0)
|
||||
|
||||
Reference in new issue
Block a user