]> xenbits.xensource.com Git - libvirt.git/commit
conf: return a const from virDomainNetGetActualVirtPortProfile
authorLaine Stump <laine@redhat.com>
Tue, 1 Oct 2019 17:56:35 +0000 (13:56 -0400)
committerLaine Stump <laine@redhat.com>
Mon, 25 Nov 2019 20:29:56 +0000 (15:29 -0500)
commitfdcd273be2d8249240ed2787e35ed9b825d11ad3
treef1361ac096ef85d01ca280caf6a78412f343e4af
parent583ac17f5da0c2154ec89b3585519d8a321941a1
conf: return a const from virDomainNetGetActualVirtPortProfile

This also isn't required (due to the vportprofile being stored in the
NetDef as a pointer rather than being directly contained), but it
seemed dishonest to not mark it as const (and thus permit users to
modify its contents)

Signed-off-by: Laine Stump <laine@redhat.com>
Reviewed-by: Cole Robinson <crobinso@redhat.com>
24 files changed:
src/conf/domain_conf.c
src/conf/domain_conf.h
src/conf/netdev_vport_profile_conf.c
src/conf/netdev_vport_profile_conf.h
src/libxl/libxl_conf.c
src/libxl/xen_common.c
src/lxc/lxc_driver.c
src/lxc/lxc_process.c
src/qemu/qemu_domain.c
src/qemu/qemu_hotplug.c
src/qemu/qemu_migration_cookie.c
src/qemu/qemu_process.c
src/util/virhostdev.c
src/util/virnetdevmacvlan.c
src/util/virnetdevmacvlan.h
src/util/virnetdevmidonet.c
src/util/virnetdevmidonet.h
src/util/virnetdevopenvswitch.c
src/util/virnetdevopenvswitch.h
src/util/virnetdevtap.c
src/util/virnetdevtap.h
src/util/virnetdevvportprofile.c
src/util/virnetdevvportprofile.h
tests/bhyvexml2argvmock.c