Re: [libvirt] [PATCHv2 08/15] blockjob: expose qemu commands for mirrored storage migration

2012-04-06 Thread Eric Blake
On 04/06/2012 10:04 AM, Federico Simoncelli wrote: > - Original Message - >> From: "Eric Blake" >> To: libvir-list@redhat.com >> Cc: pbonz...@redhat.com, fsimo...@redhat.com >> Sent: Friday, April 6, 2012 6:36:54 AM >> Subject: [PATCHv2 08/15] blockjob: expose qemu commands for mirrored st

Re: [libvirt] [PATCHv2 08/15] blockjob: expose qemu commands for mirrored storage migration

2012-04-06 Thread Federico Simoncelli
- Original Message - > From: "Eric Blake" > To: libvir-list@redhat.com > Cc: pbonz...@redhat.com, fsimo...@redhat.com > Sent: Friday, April 6, 2012 6:36:54 AM > Subject: [PATCHv2 08/15] blockjob: expose qemu commands for mirrored storage > migration > > The new block copy storage migrati

Re: [libvirt] [PATCHv2 08/15] blockjob: expose qemu commands for mirrored storage migration

2012-04-06 Thread Eric Blake
On 04/05/2012 10:36 PM, Eric Blake wrote: > The new block copy storage migration sequence requires both the > 'drive-mirror' action in 'transaction' (present if the 'drive-mirror' > standalone monitor command also exists) and the 'drive-reopen' monitor > command (it would be nice if that were also

Re: [libvirt] [PATCHv2 08/15] blockjob: expose qemu commands for mirrored storage migration

2012-04-06 Thread Eric Blake
On 04/06/2012 01:13 AM, Paolo Bonzini wrote: > Il 06/04/2012 06:36, Eric Blake ha scritto: >> +int >> +qemuMonitorJSONDriveMirror(qemuMonitorPtr mon ATTRIBUTE_UNUSED, >> + virJSONValuePtr actions, >> + const char *device, const char *file, >> +

Re: [libvirt] [PATCHv2 08/15] blockjob: expose qemu commands for mirrored storage migration

2012-04-06 Thread Paolo Bonzini
Il 06/04/2012 06:36, Eric Blake ha scritto: > +int > +qemuMonitorJSONDriveMirror(qemuMonitorPtr mon ATTRIBUTE_UNUSED, > + virJSONValuePtr actions, > + const char *device, const char *file, > + const char *format, int mode

[libvirt] [PATCHv2 08/15] blockjob: expose qemu commands for mirrored storage migration

2012-04-05 Thread Eric Blake
The new block copy storage migration sequence requires both the 'drive-mirror' action in 'transaction' (present if the 'drive-mirror' standalone monitor command also exists) and the 'drive-reopen' monitor command (it would be nice if that were also part of a 'transaction', but the initial qemu impl