Merge "Allow VS to read vendor cfg for assignable devices" into main

This commit is contained in:
Treehugger Robot 2023-08-30 16:14:34 +00:00 committed by Gerrit Code Review
commit 40c32c1b91

View file

@ -66,6 +66,9 @@ allow virtualizationservice vfio_device:dir r_dir_perms;
# Allow virtualizationservice to access VM DTBO via a file created by virtualizationmanager.
allow virtualizationservice virtualizationmanager:fd use;
# Allow virtualizationservice to access vendor_configs_file to get the list of assignable devices.
r_dir_file(virtualizationservice, vendor_configs_file)
neverallow {
domain
-init