summaryrefslogtreecommitdiffstats
path: root/man
diff options
context:
space:
mode:
authorSam Leonard <sam.leonard@codethink.co.uk>2024-04-11 13:48:00 +0200
committerLuca Boccassi <luca.boccassi@gmail.com>2024-04-12 20:32:38 +0200
commitedd85c8414c4a5a6fc506d210c8ec645c42c0a4b (patch)
tree34433870a9c46bc0138411f52620dd5b4c0c5d76 /man
parenttest: add instructions on how to run Coverity locally (diff)
downloadsystemd-edd85c8414c4a5a6fc506d210c8ec645c42c0a4b.tar.xz
systemd-edd85c8414c4a5a6fc506d210c8ec645c42c0a4b.zip
vmspawn: add --discard-disk= to control handling of disk discard requests
Fixes issue #32024, using --discard-disk=yes will enable handling of disk discarding requests, saving space for long running VMs as desired.
Diffstat (limited to 'man')
-rw-r--r--man/systemd-vmspawn.xml10
1 files changed, 10 insertions, 0 deletions
diff --git a/man/systemd-vmspawn.xml b/man/systemd-vmspawn.xml
index 90ddc9b674..da3ac84a40 100644
--- a/man/systemd-vmspawn.xml
+++ b/man/systemd-vmspawn.xml
@@ -244,6 +244,16 @@
</varlistentry>
<varlistentry>
+ <term><option>--discard-disk=<replaceable>BOOL</replaceable></option></term>
+
+ <listitem><para>Controls whether qemu processes discard requests from the VM.
+ This prevents long running VMs from using more disk space than required.
+ This is enabled by default.</para>
+
+ <xi:include href="version-info.xml" xpointer="v256"/></listitem>
+ </varlistentry>
+
+ <varlistentry>
<term><option>--secure-boot=</option><replaceable>BOOL</replaceable></term>
<listitem><para>Configure whether to search for firmware which supports Secure Boot.</para>