mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-10 23:07:44 +00:00
conf: Make virDomainDeviceInfoAddressIsEqual() public
This function will be needed by the QEMU driver in an upcoming patch. Additionally, removed a useless empty line. Signed-off-by: Marc Hartmayer <mhartmay@linux.vnet.ibm.com>
This commit is contained in:
parent
dbeaa7e666
commit
804eccf8f7
@ -3351,11 +3351,10 @@ virDomainDeviceInfoNeedsFormat(virDomainDeviceInfoPtr info, unsigned int flags)
|
||||
return false;
|
||||
}
|
||||
|
||||
static bool
|
||||
bool
|
||||
virDomainDeviceInfoAddressIsEqual(const virDomainDeviceInfo *a,
|
||||
const virDomainDeviceInfo *b)
|
||||
{
|
||||
|
||||
if (a->type != b->type)
|
||||
return false;
|
||||
|
||||
|
@ -3213,4 +3213,9 @@ virDomainGetBlkioParametersAssignFromDef(virDomainDefPtr def,
|
||||
virTypedParameterPtr params,
|
||||
int *nparams,
|
||||
int maxparams);
|
||||
|
||||
bool
|
||||
virDomainDeviceInfoAddressIsEqual(const virDomainDeviceInfo *a,
|
||||
const virDomainDeviceInfo *b)
|
||||
ATTRIBUTE_NONNULL(1) ATTRIBUTE_NONNULL(2) ATTRIBUTE_RETURN_CHECK;
|
||||
#endif /* __DOMAIN_CONF_H */
|
||||
|
@ -276,6 +276,7 @@ virDomainDeviceDefFree;
|
||||
virDomainDeviceDefParse;
|
||||
virDomainDeviceFindControllerModel;
|
||||
virDomainDeviceGetInfo;
|
||||
virDomainDeviceInfoAddressIsEqual;
|
||||
virDomainDeviceInfoCopy;
|
||||
virDomainDeviceInfoIterate;
|
||||
virDomainDeviceTypeToString;
|
||||
|
Loading…
Reference in New Issue
Block a user