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

Simon Kobyda posted 2 patches 1 week ago
Failed in applying to current master (apply log)
data/meson.build                    |   1 +
data/org.libvirt.Domain.xml         |  26 +++
data/org.libvirt.DomainSnapshot.xml |  41 ++++
src/connect.c                       |   6 +
src/connect.h                       |   1 +
src/domain.c                        | 154 +++++++++++++++
src/domainsnapshot.c                | 291 ++++++++++++++++++++++++++++
src/domainsnapshot.h                |   9 +
src/meson.build                     |   1 +
src/util.c                          |  53 +++++
src/util.h                          |  16 ++
tests/libvirttest.py                |  12 ++
tests/meson.build                   |   1 +
tests/test_domain.py                |   8 +
tests/test_snapshot.py              |  45 +++++
tests/xmldata.py                    |   6 +
16 files changed, 671 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

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

Posted by Simon Kobyda 1 week ago
Changes since v2:
  Implement and use virtDBusDomainSnapshotGetVirDomainSnapshot
  Add domain snapshot xml file to data/meson.build
  Fix flake8 style errors

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

 data/meson.build                    |   1 +
 data/org.libvirt.Domain.xml         |  26 +++
 data/org.libvirt.DomainSnapshot.xml |  41 ++++
 src/connect.c                       |   6 +
 src/connect.h                       |   1 +
 src/domain.c                        | 154 +++++++++++++++
 src/domainsnapshot.c                | 291 ++++++++++++++++++++++++++++
 src/domainsnapshot.h                |   9 +
 src/meson.build                     |   1 +
 src/util.c                          |  53 +++++
 src/util.h                          |  16 ++
 tests/libvirttest.py                |  12 ++
 tests/meson.build                   |   1 +
 tests/test_domain.py                |   8 +
 tests/test_snapshot.py              |  45 +++++
 tests/xmldata.py                    |   6 +
 16 files changed, 671 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

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list