summaryrefslogtreecommitdiffstats
path: root/core/modules/qemu-src/data/lib/systemd/system/qemu-kvm.service
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/qemu-src/data/lib/systemd/system/qemu-kvm.service')
-rw-r--r--core/modules/qemu-src/data/lib/systemd/system/qemu-kvm.service16
1 files changed, 16 insertions, 0 deletions
diff --git a/core/modules/qemu-src/data/lib/systemd/system/qemu-kvm.service b/core/modules/qemu-src/data/lib/systemd/system/qemu-kvm.service
new file mode 100644
index 00000000..f35e3e98
--- /dev/null
+++ b/core/modules/qemu-src/data/lib/systemd/system/qemu-kvm.service
@@ -0,0 +1,16 @@
+[Unit]
+Description=QEMU KVM preparation - module, ksm, hugepages
+DefaultDependencies=no
+After=local-fs.target
+Before=shutdown.target
+Conflicts=shutdown.target
+RequiresMountsFor=/usr
+
+[Service]
+Type=oneshot
+RemainAfterExit=yes
+ExecStart=/usr/share/qemu/init/qemu-kvm-init start
+ExecReload=/usr/share/qemu/init/qemu-kvm-init start
+
+[Install]
+WantedBy=multi-user.target