[libvirt] [libvirt-dbus] [PATCH 0/2] Implement snapshots

Simon Kobyda skobyda at redhat.com
Thu Oct 10 11:43:08 UTC 2019


Implement snapshot interface and its APIs.

Simon Kobyda (2):
  Introduce Domain Snapshot Interface
  Implement snapshots APIs

 data/org.libvirt.Domain.xml         |  26 +++
 data/org.libvirt.DomainSnapshot.xml |  41 ++++
 src/connect.c                       |   6 +
 src/connect.h                       |   1 +
 src/domain.c                        | 158 ++++++++++++++++
 src/domainsnapshot.c                | 282 ++++++++++++++++++++++++++++
 src/domainsnapshot.h                |   9 +
 src/meson.build                     |   1 +
 src/util.c                          |  49 +++++
 src/util.h                          |  16 ++
 tests/libvirttest.py                |  14 ++
 tests/meson.build                   |   1 +
 tests/test_domain.py                |   8 +
 tests/test_snapshot.py              |  43 +++++
 tests/xmldata.py                    |   6 +
 15 files changed, 661 insertions(+)
 create mode 100644 data/org.libvirt.DomainSnapshot.xml
 create mode 100644 src/domainsnapshot.c
 create mode 100644 src/domainsnapshot.h
 create mode 100755 tests/test_snapshot.py

-- 
2.21.0




More information about the libvir-list mailing list