]> xenbits.xensource.com Git - libvirt.git/commit
virhostdev: Fix const correctness of virHostdevIs{PCINet,SCSI,Mdev}Device()
authorMichal Privoznik <mprivozn@redhat.com>
Tue, 6 Aug 2019 13:38:06 +0000 (15:38 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Mon, 21 Oct 2019 11:50:23 +0000 (13:50 +0200)
commit72cbc1800bc5c07c2859685f5d6067111b4a22b7
tree25816b326981f1f495fc366b1942586032f95bff
parentd63f91648e1919ec13249660e6b5a095198c9364
virhostdev: Fix const correctness of virHostdevIs{PCINet,SCSI,Mdev}Device()

These functions do not change any of the passed hostdevs. They
just read them.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Cole Robinson <crobinso@redhat.com>
src/util/virhostdev.c
src/util/virhostdev.h