]> git.proxmox.com Git - pve-qemu-kvm.git/blob - debian/patches/0000-cover-letter.patch
update to latest backup patches
[pve-qemu-kvm.git] / debian / patches / 0000-cover-letter.patch
1 From de76a5c6306d782733217668f3f55c92aa2be36a Mon Sep 17 00:00:00 2001
2 From: Dietmar Maurer <dietmar@proxmox.com>
3 Date: Wed, 20 Feb 2013 10:26:23 +0100
4 Subject: [PATCH v4 0/6] Efficient VM backup for qemu
5
6 This series provides a way to efficiently backup VMs.
7
8 * Backup to a single archive file
9 * Backup contain all data to restore VM (full backup)
10 * Do not depend on storage type or image format
11 * Avoid use of temporary storage
12 * store sparse images efficiently
13
14 The file docs/backup.txt contains more details.
15
16 Changes since v1:
17
18 * fix spelling errors
19 * move BackupInfo from BDS to BackupBlockJob
20 * introduce BackupDriver to allow more than one backup format
21 * vma: add suport to store vmstate (size is not known in advance)
22 * add ability to store VM state
23
24 Changes since v2:
25
26 * BackupDriver: remove cancel_cb
27 * use enum for BackupFormat
28 * vma: use bdrv_open instead of bdrv_file_open
29 * vma: fix aio, use O_DIRECT
30 * backup one drive after another (try to avoid high load)
31
32 Changes since v3:
33
34 * move reviewer info from commit messages to cover-letter
35 * remove 'RFC' from log headers and file names
36 * removed comment about slow qcow2 snapshot bug
37 * fix spelling errors
38 * fixed copyright
39 * change 'backupfile' parameter name to 'backup-file'
40 * change 'config-filename' parameter name to 'config-file'
41 * add documentation for 'devlist' parameter.
42 * rename backup_cancel to backup-cancel
43
44
45 Dietmar Maurer (6):
46 add documenation for new backup framework
47 add basic backup support to block driver
48 add backup related monitor commands
49 introduce new vma archive format
50 add regression tests for backup
51 add vm state to backups
52
53 Makefile | 3 +-
54 Makefile.objs | 1 +
55 backup.c | 338 +++++++++++++++++
56 backup.h | 45 +++
57 block.c | 71 ++++-
58 blockdev.c | 617 ++++++++++++++++++++++++++++++
59 docs/backup.txt | 116 ++++++
60 docs/specs/vma_spec.txt | 24 ++
61 hmp-commands.hx | 31 ++
62 hmp.c | 64 ++++
63 hmp.h | 3 +
64 include/block/block.h | 2 +
65 include/block/blockjob.h | 10 +
66 monitor.c | 7 +
67 qapi-schema.json | 98 +++++
68 qmp-commands.hx | 27 ++
69 tests/Makefile | 11 +-
70 tests/backup-test.c | 517 +++++++++++++++++++++++++
71 vma-reader.c | 799 +++++++++++++++++++++++++++++++++++++++
72 vma-writer.c | 932 ++++++++++++++++++++++++++++++++++++++++++++++
73 vma.c | 559 +++++++++++++++++++++++++++
74 vma.h | 145 +++++++
75 22 files changed, 4411 insertions(+), 9 deletions(-)
76 create mode 100644 backup.c
77 create mode 100644 backup.h
78 create mode 100644 docs/backup.txt
79 create mode 100644 docs/specs/vma_spec.txt
80 create mode 100644 tests/backup-test.c
81 create mode 100644 vma-reader.c
82 create mode 100644 vma-writer.c
83 create mode 100644 vma.c
84 create mode 100644 vma.h
85
86 --
87 1.7.2.5
88