mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-02 01:45:17 +00:00
Fix build after recent patches
Few build breaking mistakes in less-popular parts of our code.
This commit is contained in:
parent
7de8b442ff
commit
41c987b72d
@ -181,7 +181,7 @@ load_profile(virSecurityManagerPtr mgr,
|
|||||||
const char *probe = virSecurityManagerGetAllowDiskFormatProbing(mgr)
|
const char *probe = virSecurityManagerGetAllowDiskFormatProbing(mgr)
|
||||||
? "1" : "0";
|
? "1" : "0";
|
||||||
|
|
||||||
xml = virDomainDefFormat(def, VIR_DOMAIN_DEF_FORMAT_SECURE);
|
xml = virDomainDefFormat(def, NULL, VIR_DOMAIN_DEF_FORMAT_SECURE);
|
||||||
if (!xml)
|
if (!xml)
|
||||||
goto cleanup;
|
goto cleanup;
|
||||||
|
|
||||||
|
@ -1402,7 +1402,7 @@ xenapiDomainGetXMLDesc(virDomainPtr dom, unsigned int flags)
|
|||||||
xen_vm vm = NULL;
|
xen_vm vm = NULL;
|
||||||
xen_vm_set *vms;
|
xen_vm_set *vms;
|
||||||
xen_string_string_map *result = NULL;
|
xen_string_string_map *result = NULL;
|
||||||
struct _xenapiPrivate *priv = conn->privateData;
|
struct _xenapiPrivate *priv = dom->conn->privateData;
|
||||||
xen_session *session = priv->session;
|
xen_session *session = priv->session;
|
||||||
virDomainDefPtr defPtr = NULL;
|
virDomainDefPtr defPtr = NULL;
|
||||||
char *boot_policy = NULL;
|
char *boot_policy = NULL;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user