Signed-off-by: Filip Schauer <f.scha...@proxmox.com>
---
 src/PVE/VZDump/Common.pm | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/src/PVE/VZDump/Common.pm b/src/PVE/VZDump/Common.pm
index 9e13faf..1e65047 100644
--- a/src/PVE/VZDump/Common.pm
+++ b/src/PVE/VZDump/Common.pm
@@ -158,7 +158,7 @@ my $confdesc = {
        type => 'string',
        description => "Compress dump file.",
        optional => 1,
-       enum => ['0', '1', 'gzip', 'lzo', 'zstd', 'bzip2'],
+       enum => ['0', '1', 'gzip', 'xz', 'lzo', 'zstd', 'bzip2'],
        default => '0',
     },
     pigz=> {
@@ -168,6 +168,13 @@ my $confdesc = {
        optional => 1,
        default => 0,
     },
+    xz => {
+       type => "integer",
+       description => "XZ threads. N=0 uses half of the available cores. N>1 
uses N as the thread"
+           ." count.",
+       optional => 1,
+       default => 0,
+    },
     zstd => {
        type => "integer",
        description => "Zstd threads. N=0 uses half of the available cores, if 
N is set to a value"
-- 
2.39.5



_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to