]> git.proxmox.com Git - pve-qemu.git/blob - debian/patches/pve/0046-pbs-fix-missing-crypt-and-compress-parameters.patch
update to QEMU 5.1
[pve-qemu.git] / debian / patches / pve / 0046-pbs-fix-missing-crypt-and-compress-parameters.patch
1 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
2 From: Wolfgang Bumiller <w.bumiller@proxmox.com>
3 Date: Fri, 10 Jul 2020 13:22:35 +0200
4 Subject: [PATCH] pbs: fix missing crypt and compress parameters
5
6 Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
7 ---
8 pve-backup.c | 8 ++++++--
9 1 file changed, 6 insertions(+), 2 deletions(-)
10
11 diff --git a/pve-backup.c b/pve-backup.c
12 index b0e7b51eef..77eb475563 100644
13 --- a/pve-backup.c
14 +++ b/pve-backup.c
15 @@ -962,6 +962,8 @@ UuidInfo *qmp_backup(
16 .backup_file = backup_file,
17 .has_password = has_password,
18 .password = password,
19 + .has_keyfile = has_keyfile,
20 + .keyfile = keyfile,
21 .has_key_password = has_key_password,
22 .key_password = key_password,
23 .has_fingerprint = has_fingerprint,
24 @@ -972,6 +974,10 @@ UuidInfo *qmp_backup(
25 .backup_time = backup_time,
26 .has_use_dirty_bitmap = has_use_dirty_bitmap,
27 .use_dirty_bitmap = use_dirty_bitmap,
28 + .has_compress = has_compress,
29 + .compress = compress,
30 + .has_encrypt = has_encrypt,
31 + .encrypt = encrypt,
32 .has_format = has_format,
33 .format = format,
34 .has_config_file = has_config_file,
35 @@ -980,8 +986,6 @@ UuidInfo *qmp_backup(
36 .firewall_file = firewall_file,
37 .has_devlist = has_devlist,
38 .devlist = devlist,
39 - .has_compress = has_compress,
40 - .has_encrypt = has_encrypt,
41 .has_speed = has_speed,
42 .speed = speed,
43 .errp = errp,