]> git.proxmox.com Git - qemu-server.git/commit
use qemu's blockdev-snapshot functions
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Mon, 24 Sep 2018 08:44:22 +0000 (10:44 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 24 Sep 2018 09:12:34 +0000 (11:12 +0200)
commiteba2b72199d5347860d4c070fbd2135f81cce8c5
treef0608d96d836dcde6eacac3a4462364e7693dd1a
parentbabecffe0073eb2001e6ed1d38216ef27413cfd5
use qemu's blockdev-snapshot functions

Instead of our own. The code is almost the same, but the
upstream implementation uses qemu's transactional system and
performs a drain() on the block device first. This seems to
help avoid some issues we run into with qcow2 files when
creating snapshots.

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
PVE/QMPClient.pm
PVE/QemuServer.pm