summaryrefslogtreecommitdiffstats
path: root/debian/run-qemu.mount
diff options
context:
space:
mode:
Diffstat (limited to 'debian/run-qemu.mount')
-rw-r--r--debian/run-qemu.mount14
1 files changed, 14 insertions, 0 deletions
diff --git a/debian/run-qemu.mount b/debian/run-qemu.mount
new file mode 100644
index 00000000..6ab120a8
--- /dev/null
+++ b/debian/run-qemu.mount
@@ -0,0 +1,14 @@
+[Unit]
+Description=Prepare /run/qemu to allow still running qemu binaries of former builds (after package upgrades) to fallback-load modules from there
+Before=libvirtd.service
+
+[Mount]
+What=tmpfs
+Where=/run/qemu
+Type=tmpfs
+Options=nosuid,nodev,mode=0755
+ReadWriteOnly=true
+LazyUnmount=yes
+
+[Install]
+WantedBy=multi-user.target