mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
conf: rename virDomainNetGetActualDirectVirtPortProfile
An upcoming patch will add a <virtualport> element to interfaces of type='bridge', so it makes sense to give this function a more generic name.
This commit is contained in:
@@ -13830,7 +13830,7 @@ virDomainNetGetActualDirectMode(virDomainNetDefPtr iface)
|
||||
}
|
||||
|
||||
virNetDevVPortProfilePtr
|
||||
virDomainNetGetActualDirectVirtPortProfile(virDomainNetDefPtr iface)
|
||||
virDomainNetGetActualVirtPortProfile(virDomainNetDefPtr iface)
|
||||
{
|
||||
if (iface->type == VIR_DOMAIN_NET_TYPE_DIRECT)
|
||||
return iface->data.direct.virtPortProfile;
|
||||
|
||||
@@ -1873,7 +1873,7 @@ const char *virDomainNetGetActualBridgeName(virDomainNetDefPtr iface);
|
||||
const char *virDomainNetGetActualDirectDev(virDomainNetDefPtr iface);
|
||||
int virDomainNetGetActualDirectMode(virDomainNetDefPtr iface);
|
||||
virNetDevVPortProfilePtr
|
||||
virDomainNetGetActualDirectVirtPortProfile(virDomainNetDefPtr iface);
|
||||
virDomainNetGetActualVirtPortProfile(virDomainNetDefPtr iface);
|
||||
virNetDevBandwidthPtr
|
||||
virDomainNetGetActualBandwidth(virDomainNetDefPtr iface);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user