]> git.ipfire.org Git - thirdparty/libvirt.git/commit
libvirt-nodedev: Allow read-only access to virNodeDeviceGetAutostart
authorPeter Krempa <pkrempa@redhat.com>
Fri, 17 Feb 2023 15:07:25 +0000 (16:07 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 20 Feb 2023 08:22:51 +0000 (09:22 +0100)
commit74bdc2abb9b6d9bc34072ce99378257ffacea8b2
tree1032b633954b6d37cf5a521b19eecfb7ef99a271
parent87ed6ff7cd57bcc51b441689b07d772c7adab095
libvirt-nodedev: Allow read-only access to virNodeDeviceGetAutostart

Fetching whether a node-device is marked for autostart can be allowed
from read-only connections similarly to other objects.

Fixes: c6607a25b93
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
src/libvirt-nodedev.c