diff options
| author | Manuel Bentele | 2021-09-30 14:01:50 +0200 |
|---|---|---|
| committer | Manuel Bentele | 2021-10-12 13:12:55 +0200 |
| commit | 89fa7e5a9c9b24dcaafa2a3affde56f26945030e (patch) | |
| tree | 404d9b5ead2145fb3d1986ce43588d8bd8a47a65 /core/modules/qemu-src/data/lib | |
| parent | [libvirt-src] Add module for libvirt source build (diff) | |
| download | mltk-89fa7e5a9c9b24dcaafa2a3affde56f26945030e.tar.gz mltk-89fa7e5a9c9b24dcaafa2a3affde56f26945030e.tar.xz mltk-89fa7e5a9c9b24dcaafa2a3affde56f26945030e.zip | |
[qemu-src] Add module for QEMU source build
Diffstat (limited to 'core/modules/qemu-src/data/lib')
| l--------- | core/modules/qemu-src/data/lib/systemd/system/multi-user.target.wants/qemu-kvm.service | 1 | ||||
| -rw-r--r-- | core/modules/qemu-src/data/lib/systemd/system/qemu-kvm.service | 16 |
2 files changed, 17 insertions, 0 deletions
diff --git a/core/modules/qemu-src/data/lib/systemd/system/multi-user.target.wants/qemu-kvm.service b/core/modules/qemu-src/data/lib/systemd/system/multi-user.target.wants/qemu-kvm.service new file mode 120000 index 00000000..cd3c10f2 --- /dev/null +++ b/core/modules/qemu-src/data/lib/systemd/system/multi-user.target.wants/qemu-kvm.service @@ -0,0 +1 @@ +../qemu-kvm.service
\ No newline at end of file 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 |
