Re: [libvirt] [PATCH v4 1/8] snapshot: Add new API for bulk dumpxml/redefine

2019-03-12 Thread Eric Blake
On 3/12/19 7:57 AM, Ján Tomko wrote: > On Mon, Mar 11, 2019 at 09:38:32PM -0500, Eric Blake wrote: >> Right now, copying the state of a transient domain with snapshots from >> one host to another requires multiple API calls on both machines - on >> the host: get the domain XML, get a list of the sn

Re: [libvirt] [PATCH v4 1/8] snapshot: Add new API for bulk dumpxml/redefine

2019-03-12 Thread Ján Tomko
On Mon, Mar 11, 2019 at 09:38:32PM -0500, Eric Blake wrote: Right now, copying the state of a transient domain with snapshots from one host to another requires multiple API calls on both machines - on the host: get the domain XML, get a list of the snapshots, and then for each snapshot get the sn

[libvirt] [PATCH v4 1/8] snapshot: Add new API for bulk dumpxml/redefine

2019-03-11 Thread Eric Blake
Right now, copying the state of a transient domain with snapshots from one host to another requires multiple API calls on both machines - on the host: get the domain XML, get a list of the snapshots, and then for each snapshot get the snapshot's XML; then on the destination: create the domain, then