
12 Mar
2019
12 Mar
'19
2:28 p.m.
On Mon, Mar 11, 2019 at 09:38:36PM -0500, Eric Blake wrote:
Add a new 'snapshot-import' command for bulk import. For bulk XML, it was easier to just add new flags to the existing 'snapshot-dumpxml' than to figure out a new command name.
I debated about whether omitting the snapshotname should be enough to trigger the new API call, or whether to require a new bool --all; in the end, I went with the latter.
Signed-off-by: Eric Blake <eblake@redhat.com> --- tools/virsh-snapshot.c | 111 ++++++++++++++++++++++++++++++++++++----- tools/virsh.pod | 15 +++++- 2 files changed, 112 insertions(+), 14 deletions(-)
Reviewed-by: Ján Tomko <jtomko@redhat.com> Jano