On Tue, Dec 03, 2019 at 06:17:32PM +0100, Peter Krempa wrote:
From: Eric Blake <eblake(a)redhat.com>
Introduce virsh commands for performing backup jobs.
Signed-off-by: Eric Blake <eblake(a)redhat.com>
Signed-off-by: Peter Krempa <pkrempa(a)redhat.com>
---
po/POTFILES.in | 1 +
tools/Makefile.am | 1 +
tools/virsh-backup.c | 151 +++++++++++++++++++++++++++++++++++++++++++
tools/virsh-backup.h | 21 ++++++
tools/virsh.c | 2 +
tools/virsh.h | 1 +
tools/virsh.pod | 31 +++++++++
7 files changed, 208 insertions(+)
create mode 100644 tools/virsh-backup.c
create mode 100644 tools/virsh-backup.h
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 0ff3beeb7e..48f3f431ec 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -329,6 +329,7 @@
@SRCDIR(a)/src/vz/vz_utils.h
@SRCDIR(a)/tests/virpolkittest.c
@SRCDIR(a)/tools/libvirt-guests.sh.in
+@SRCDIR(a)/tools/virsh-backup.c
@SRCDIR(a)/tools/virsh-checkpoint.c
@SRCDIR(a)/tools/virsh-completer-host.c
@SRCDIR(a)/tools/virsh-console.c
diff --git a/tools/Makefile.am b/tools/Makefile.am
index 1a541a3984..b9d31838df 100644
--- a/tools/Makefile.am
+++ b/tools/Makefile.am
@@ -232,6 +232,7 @@ virt_login_shell_helper_CFLAGS = \
virsh_SOURCES = \
virsh.c virsh.h \
+ virsh-backup.c virsh-backup.h\
Missing space.
virsh-checkpoint.c virsh-checkpoint.h \
virsh-completer.c virsh-completer.h \
virsh-completer-domain.c virsh-completer-domain.h \
Reviewed-by: Ján Tomko <jtomko(a)redhat.com>
Jano