[libvirt PATCH v2 0/6] external snapshot revert fixes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This fixes reverting external snapshots to not error out in cases where
it should work and makes it correctly load the memory state when
reverting to snapshot of running VM.

Last patch is not part of the fix, it is alternative solution to remove
the capability as we are close to releasing libvirt 9.7.0 in case the
code fixing reverting snapshots is considered too complex.

This v2 limits the impact only to snapshot code and no longer changes
anything in qemu_saveimage except for exporting one function and one
enum.

Pavel Hrdina (6):
  qemu_snapshot: fix reverting external snapshot when not all disks are
    included
  qemu_saveimage: export virQEMUSaveFormat enum
  qemu_saveimage: export qemuSaveImageGetCompressionCommand
  qemu_snapshot: correctly load the saved memory state file
  NEWS: document support for reverting external snapshots
  Revert "capabilities: report full external snapshot support"

 NEWS.rst                                      |   8 ++
 docs/formatcaps.rst                           |   7 -
 src/conf/capabilities.c                       |   1 -
 src/conf/capabilities.h                       |   1 -
 src/conf/schemas/capability.rng               |   5 -
 src/qemu/qemu_capabilities.c                  |   1 -
 src/qemu/qemu_saveimage.c                     |  19 +--
 src/qemu/qemu_saveimage.h                     |  20 +++
 src/qemu/qemu_snapshot.c                      | 127 +++++++++++++++---
 .../qemucaps2xmloutdata/caps.aarch64+hvf.xml  |   1 -
 tests/qemucaps2xmloutdata/caps.aarch64.xml    |   1 -
 tests/qemucaps2xmloutdata/caps.ppc.xml        |   1 -
 tests/qemucaps2xmloutdata/caps.ppc64.xml      |   1 -
 tests/qemucaps2xmloutdata/caps.riscv64.xml    |   1 -
 tests/qemucaps2xmloutdata/caps.s390x.xml      |   1 -
 tests/qemucaps2xmloutdata/caps.sparc.xml      |   1 -
 tests/qemucaps2xmloutdata/caps.x86_64+hvf.xml |   1 -
 tests/qemucaps2xmloutdata/caps.x86_64.xml     |   1 -
 18 files changed, 138 insertions(+), 60 deletions(-)

-- 
2.41.0




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux