mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-22 20:45:18 +00:00
conf: make arg to virDomainNetGetActualVirtPortProfile() a const
It needs to be used by a function that only has a const pointer to virDomainNetDef. Signed-off-by: Laine Stump <laine@redhat.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
281a7f1d40
commit
57de1988c4
@ -29678,7 +29678,7 @@ virDomainNetGetActualHostdev(virDomainNetDefPtr iface)
|
||||
}
|
||||
|
||||
virNetDevVPortProfilePtr
|
||||
virDomainNetGetActualVirtPortProfile(virDomainNetDefPtr iface)
|
||||
virDomainNetGetActualVirtPortProfile(const virDomainNetDef *iface)
|
||||
{
|
||||
switch (iface->type) {
|
||||
case VIR_DOMAIN_NET_TYPE_DIRECT:
|
||||
|
@ -3181,7 +3181,7 @@ const char *virDomainNetGetActualDirectDev(virDomainNetDefPtr iface);
|
||||
int virDomainNetGetActualDirectMode(virDomainNetDefPtr iface);
|
||||
virDomainHostdevDefPtr virDomainNetGetActualHostdev(virDomainNetDefPtr iface);
|
||||
virNetDevVPortProfilePtr
|
||||
virDomainNetGetActualVirtPortProfile(virDomainNetDefPtr iface);
|
||||
virDomainNetGetActualVirtPortProfile(const virDomainNetDef *iface);
|
||||
virNetDevBandwidthPtr
|
||||
virDomainNetGetActualBandwidth(virDomainNetDefPtr iface);
|
||||
virNetDevVlanPtr virDomainNetGetActualVlan(virDomainNetDefPtr iface);
|
||||
|
Loading…
x
Reference in New Issue
Block a user