diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c index d6494257df1ada45b262afdc5ba7effcabd37a2f..3f2adaa500ba231e6b9cda03aefecc4cc28120d6 100644 --- a/src/conf/domain_conf.c +++ b/src/conf/domain_conf.c @@ -4786,7 +4786,7 @@ virDomainDriveAddressIsUsedByHostdev(const virDomainDef *def, * Return true if the SCSI drive address is already in use, false * otherwise. */ -static bool +bool virDomainSCSIDriveAddressIsUsed(const virDomainDef *def, const virDomainDeviceDriveAddress *addr) { diff --git a/src/conf/domain_conf.h b/src/conf/domain_conf.h index fb053a7ca34e2436fbca944bbc4aa5de9dc513e8..01c22d8cc3d72cb0c5aae750c71285754754dfbb 100644 --- a/src/conf/domain_conf.h +++ b/src/conf/domain_conf.h @@ -2741,6 +2741,10 @@ virDomainXMLNamespacePtr virDomainXMLOptionGetNamespace(virDomainXMLOptionPtr xmlopt) ATTRIBUTE_NONNULL(1); +bool +virDomainSCSIDriveAddressIsUsed(const virDomainDef *def, + const virDomainDeviceDriveAddress *addr); + int virDomainDefPostParse(virDomainDefPtr def, virCapsPtr caps, unsigned int parseFlags, diff --git a/src/libvirt_private.syms b/src/libvirt_private.syms index aa123978fa91846f4a1ce30e89371e66186dfa55..a03cf0b6458add68bc1c73cc19ee5361a32b6ee7 100644 --- a/src/libvirt_private.syms +++ b/src/libvirt_private.syms @@ -539,6 +539,7 @@ virDomainRunningReasonTypeToString; virDomainSaveConfig; virDomainSaveStatus; virDomainSaveXML; +virDomainSCSIDriveAddressIsUsed; virDomainSeclabelTypeFromString; virDomainSeclabelTypeToString; virDomainShmemDefEquals;