summaryrefslogtreecommitdiffstats
path: root/mkosi.conf
diff options
context:
space:
mode:
authorDaan De Meyer <daan.j.demeyer@gmail.com>2024-05-03 14:15:55 +0200
committerDaan De Meyer <daan.j.demeyer@gmail.com>2024-05-06 10:56:45 +0200
commit1c329956e5995dfffec49139096b75d9bd42decc (patch)
treee9ece84e18da352e317ead4a007836a80d03602e /mkosi.conf
parentmkosi: Update to latest (diff)
downloadsystemd-1c329956e5995dfffec49139096b75d9bd42decc.tar.xz
systemd-1c329956e5995dfffec49139096b75d9bd42decc.zip
mkosi: Insist on KVM, VSOCK and TPM by default
By default mkosi will not run VMs with these features if they're not available, but since various stuff in systemd makes use of these, let's fail loudly if any of these are not available by default in systemd. Users can still override these defaults locally if they wish.
Diffstat (limited to 'mkosi.conf')
-rw-r--r--mkosi.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/mkosi.conf b/mkosi.conf
index 0f2705f5fc..1c2d448ef9 100644
--- a/mkosi.conf
+++ b/mkosi.conf
@@ -41,4 +41,7 @@ Credentials=journal.storage=persistent
@Incremental=yes
@RuntimeBuildSources=yes
@QemuSmp=2
+@QemuSwtpm=yes
+@QemuVsock=yes
+@QemuKvm=yes
ToolsTreePackages=virtiofsd