summaryrefslogtreecommitdiffstats
path: root/core/modules/qemu/module.build
diff options
context:
space:
mode:
authorManuel Bentele2021-07-05 08:59:45 +0200
committerManuel Bentele2021-07-05 08:59:45 +0200
commite209314e79220b6f1f7a6d3f5ea322b4e03c329e (patch)
tree3bb035c011af60250c0ef4fd8b587407e6182bc3 /core/modules/qemu/module.build
parent[run-virt] Update README (diff)
downloadmltk-e209314e79220b6f1f7a6d3f5ea322b4e03c329e.tar.gz
mltk-e209314e79220b6f1f7a6d3f5ea322b4e03c329e.tar.xz
mltk-e209314e79220b6f1f7a6d3f5ea322b4e03c329e.zip
[qemu] Add QEMU bridge helper to access bridges from user session
Diffstat (limited to 'core/modules/qemu/module.build')
-rw-r--r--core/modules/qemu/module.build7
1 files changed, 6 insertions, 1 deletions
diff --git a/core/modules/qemu/module.build b/core/modules/qemu/module.build
index 6a980dd9..2a7952e8 100644
--- a/core/modules/qemu/module.build
+++ b/core/modules/qemu/module.build
@@ -22,5 +22,10 @@ build() {
}
post_copy() {
- :
+ # change access rights of the qemu bridge helper config
+ chown root:kvm /etc/qemu/bridge.conf
+ chmod 0664 /etc/qemu/bridge.conf
+
+ # set UID to avoid operation not permitted errors
+ chmod u+s /usr/lib/qemu/qemu-bridge-helper
}