mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 13:45:38 +00:00
security: apparmor: handle qcow2 data-file
Signed-off-by: Nikolai Barybin <nikolai.barybin@virtuozzo.com> Reviewed-by: Peter Krempa <pkrempa@redhat.com>
This commit is contained in:
parent
8fcc6c8025
commit
702f8b5a77
@ -877,6 +877,10 @@ storage_source_add_files(virStorageSource *src,
|
||||
if (add_file_path(tmp, depth, buf) < 0)
|
||||
return -1;
|
||||
|
||||
if (tmp->dataFileStore &&
|
||||
add_file_path(tmp->dataFileStore, depth, buf) < 0)
|
||||
return -1;
|
||||
|
||||
depth++;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user