Hi all, recent changes in qemu made it necessary to restructure our backup patches. I now use a special block driver which calls the backup_dump callback.
I merged all backup related code into the last 3 patches. Alexandre Derumier (2): PVE: [Config] smm_available = false PVE: [Up] qemu-img dd : add -n skip_create Dietmar Maurer (6): PVE: qapi: modify query machines PVE: internal snapshot async PVE: Allow version code in machine type PVE-Backup - add vma code PVE-Backup: add backup-dump block driver PVE-Backup - proxmox backup patches for qemu Stefan Reiter (1): PVE: Acquire aio_context before calling block_job_add_bdrv Thomas Lamprecht (2): PVE: savevm-async: kick AIO wait on block state write PVE: [Compat]: 4.0 used balloon qemu-4-0-config-size false here Wolfgang Bumiller (20): PVE: [Config] block/file: change locking default to off PVE: [Config] Adjust network script path to /etc/kvm/ PVE: [Config] set the CPU model to kvm64/32 instead of qemu64/32 PVE: [Config] ui/spice: default to pve certificates PVE: [Config] glusterfs: no default logfile if daemonized PVE: [Config] rbd: block: rbd: disable rbd_cache_writethrough_until_flush PVE: [Up] qmp: add get_link_status PVE: [Up] glusterfs: allow partial reads PVE: [Up] qemu-img: return success on info without snapshots PVE: [Up] qemu-img dd: add osize and read from/to stdin/stdout PVE: [Up] qemu-img dd: add isize parameter PVE: virtio-balloon: improve query-balloon PVE: qapi: modify spice query PVE: block: add the zeroinit block driver filter PVE: backup: modify job api PVE: Add dummy -id command line parameter PVE: [Config] Revert "target-i386: disable LINT0 after reset" PVE: [Up+Config] file-posix: make locking optiono on create PVE: move snapshot cleanup into bottom half PVE: monitor: disable oob capability Makefile | 3 +- Makefile.objs | 2 + block/Makefile.objs | 2 + block/backup-dump.c | 170 +++++++ block/backup.c | 26 +- block/file-posix.c | 65 ++- block/gluster.c | 25 +- block/io.c | 8 +- block/rbd.c | 2 + block/replication.c | 2 +- block/zeroinit.c | 204 +++++++++ blockdev.c | 826 ++++++++++++++++++++++++++++++++- blockjob.c | 10 + hmp-commands-info.hx | 26 ++ hmp-commands.hx | 63 +++ hw/core/machine-qmp-cmds.c | 12 + hw/core/machine.c | 3 +- hw/i386/pc.c | 2 +- hw/intc/apic_common.c | 9 + hw/virtio/virtio-balloon.c | 33 +- include/block/block_int.h | 31 ++ include/hw/boards.h | 2 + include/migration/snapshot.h | 1 + include/monitor/hmp.h | 8 + include/net/net.h | 5 +- job.c | 5 +- monitor/hmp-cmds.c | 156 ++++++- monitor/qmp.c | 3 +- net/net.c | 27 ++ qapi/block-core.json | 94 +++- qapi/common.json | 13 + qapi/machine.json | 7 +- qapi/migration.json | 34 ++ qapi/misc.json | 67 ++- qapi/net.json | 15 + qapi/qapi-schema.json | 1 + qapi/ui.json | 3 + qemu-img-cmds.hx | 4 +- qemu-img.c | 231 ++++++---- qemu-options.hx | 16 + savevm-async.c | 465 +++++++++++++++++++ target/i386/cpu.h | 4 +- ui/spice-core.c | 20 +- vl.c | 33 +- vma-reader.c | 857 +++++++++++++++++++++++++++++++++++ vma-writer.c | 771 +++++++++++++++++++++++++++++++ vma.c | 837 ++++++++++++++++++++++++++++++++++ vma.h | 150 ++++++ 48 files changed, 5188 insertions(+), 165 deletions(-) create mode 100644 block/backup-dump.c create mode 100644 block/zeroinit.c create mode 100644 savevm-async.c create mode 100644 vma-reader.c create mode 100644 vma-writer.c create mode 100644 vma.c create mode 100644 vma.h -- 2.20.1 _______________________________________________ pve-devel mailing list pve-devel@pve.proxmox.com https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel